X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f Date: Sun, 03 Feb 2002 21:16:25 +0200 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: "Rupert Brooks" Message-Id: <1225-Sun03Feb2002211624+0200-eliz@is.elta.co.il> X-Mailer: emacs 21.2.50 (via feedmail 8 I) and Blat ver 1.8.9 CC: djgpp AT delorie DOT com In-reply-to: <7CDD7B94357FD5119E800002A537C46E0D3427@s5-ccr-r1.ccrs.nrcan.gc.ca> (Rupert.Brooks@CCRS.NRCan.gc.ca) Subject: Re: newbie question References: <7CDD7B94357FD5119E800002A537C46E0D3427 AT s5-ccr-r1 DOT ccrs DOT nrcan DOT gc DOT ca> Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > 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.