Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-Id: <5.1.0.14.2.20010711145916.00aa2d60@earth.he.net> X-Sender: cord AT earth DOT he DOT net (Unverified) X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Wed, 11 Jul 2001 15:01:35 -0500 To: cygwin AT cygwin DOT com From: Robert Cordingley Subject: error trying to build very simple dll Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Trying to build a very simple little dll, I get the following error: $ dlltool --def gettz.def --output-exp gettz.exp --output-lib gettz.a --dllname gettz.dll $ gcc -c gettz.c $ ld -o gettz.dll gettz.exp gettz.o ld: warning: cannot find entry symbol _mainCRTStartup; defaulting to 00401000 gettz.o(.text+0xc):gettz.c: undefined reference to `time' gettz.o(.text+0x20):gettz.c: undefined reference to `localtime' gettz.o(.text+0x28):gettz.c: undefined reference to `_imp___tzname' I'm not at all experienced with Cygwin development, and only a bit more experienced on actual unix. Please forgive me if this is painfully obvious to the more knowledgeable folks on here. Robert -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/