X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f Message-ID: <7CDD7B94357FD5119E800002A537C46E0D3429@s5-ccr-r1.ccrs.nrcan.gc.ca> From: "Brooks, Rupert" To: "'Eli Zaretskii'" , "Brooks, Rupert" Cc: djgpp AT delorie DOT com Subject: RE: newbie question Date: Mon, 4 Feb 2002 07:09:01 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Reply-To: djgpp AT delorie DOT com Yeah, that was it. I forgot to remove all existing object and executable files. Works fine now Duh. I feel very foolish Thanks very much Rupert B. -----Original Message----- From: Eli Zaretskii [mailto:eliz AT is DOT elta DOT co DOT il] Sent: Sunday, February 03, 2002 2:16 PM To: Rupert Brooks Cc: djgpp AT delorie DOT com Subject: Re: newbie question > From: "Brooks, Rupert" > Date: Sun, 3 Feb 2002 11:45:30 -0500 > > D:\DEVELO~1\shapelib\SHAPEL~1.8>make > gcc shpcreate.c shpopen.o -o shpcreate > shpopen.o(.text+0x189b):shpopen.c: undefined reference to `__assert' > shpopen.o(.text+0x18bf):shpopen.c: undefined reference to `__assert' > shpopen.o(.text+0x1aa7):shpopen.c: undefined reference to `__assert' > shpopen.o(.text+0x24eb):shpopen.c: undefined reference to `__assert' > collect2: ld returned 1 exit status > make.exe: *** [shpcreate] Error 1 Was shpopen.o compiled by DJGPP, or maybe by Cygwin? If the latter, you should expect the linking to fail: you cannot mix object files compiled by different compilers. > Path=C:\PROGRAM > FILES\ORACLE\JRE\1.1.7\BIN;C:\PERL\BIN\;C:\WINNT\SYSTEM32;C:\WINNT;C:\WINNT\ > SYSTEM32\WBEM;"C:\PROGRAM FILES\HUMMIN > IRD\CONNECTIVITY\7.00\ACCESSORIES\";C:\JDK1.3\BIN;C:\DMI\WIN32\BIN;D:\arcgis > \arcexe81\bin;c:\bin;c:\djgpp\bin It's not a good idea to put the DJGPP's bin subdirectory last on your PATH. Otherwise, I don't see anything wrong with your environment.