delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/02/03/14:22:54

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" <eliz AT is DOT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: "Rupert Brooks" <Rupert DOT Brooks AT CCRS DOT NRCan DOT gc DOT ca>
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

> From: "Brooks, Rupert" <Rupert DOT Brooks AT CCRS DOT NRCan DOT gc DOT ca>
> 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.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019