Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com From: ericblake AT comcast DOT net (Eric Blake) To: cygwin AT cygwin DOT com Subject: Re: problem with strtoimax? Date: Tue, 05 Jul 2005 21:08:46 +0000 Message-Id: <070520052108.29446.42CAF6DD000F2A0C0000730622064244130A050E040D0C079D0A@comcast.net> X-Authenticated-Sender: ZXJpY2JsYWtlQGNvbWNhc3QubmV0 > On Tue, Jul 05, 2005 at 08:26:26PM +0000, Eric Blake wrote: > >$ gcc -o foo foo.c > >/cygdrive/c/DOCUME~1/eblake/LOCALS~1/Temp/ccQLtRpQ.o:foo.c:(.text+0x42): > undefined reference to `_strtoimax' > >collect2: ld returned 1 exit status > > WJFFM. It seems like you have an outdated libcygwin.a. Weird: $ ll /usr/lib/libcygwin.a /usr/i686-pc-cygwin/lib/libcygwin.a -rwxrwxrwx 1 Administrators Domain Users 3704450 Feb 24 07:29 /usr/i686-pc-cygwin/lib/libcygwin.a* -rwxrwxrwx 1 eblake Users 956656 Jul 2 18:30 /usr/lib/libcygwin.a* I don't recall ever touching /usr/i686-pc-cygwin/lib. Maybe when I played with installing a build from CVS? Is that directory normally present, or should I just nuke it? But gcc -v revealed that it does indeed do -L/usr/i6866-pc-cygwin/lib before -L/usr/lib. -- Eric Blake -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/