W3C home > Mailing lists > Public > www-lib@w3.org > July to September 2000

undefined symbols when building apps

From: Jim Marshall <jim_marshall2268@hotmail.com>
Date: Fri, 21 Jul 2000 13:15:47 PDT
Message-ID: <20000721201547.70084.qmail@hotmail.com>
To: www-lib@w3.org
I'm running on Solaris 8, and due to requirements I have to use the Sun 'cc' 
compiler (cc info: Sun WorkShop 6 2000/04/07 C 5.1).

When I compile with the '-g' option, if a full link is done (e.g. no .o 
files exist) I get the errors below.  Subsequent builds all work fine.  If I 
compile for a 'release' build, no '-g', then I get similar errors (all the 
MD5 and HTDir funcs) all the time.  I'm statically linking to the libs.

Anyone have any thoughts?  I built the libwww with the Sun cc compiler 
(using GNU make) and it seemed to go well.

Thanks in advance
-jim

*** Error code 5
ild: (undefined symbol) HTDir_addElement -- referenced in the text segment 
of
/home/jmars/libwww/lib/libwwwftp.a(HTFTPDir.o)
ild: (undefined symbol) HTDir_addElement -- referenced in the text segment 
of
/home/jmars/libwww/lib/libwwwfile.a(HTFile.o)
ild: (undefined symbol) MD5Init -- referenced in the text segment of
/home/jmars/libwww/lib/libwwwhttp.a(HTDigest.o)
ild: (undefined symbol) MD5Final -- referenced in the text segment of
/home/jmars/libwww/lib/libwwwhttp.a(HTDigest.o)
ild: (undefined symbol) HTDir_new -- referenced in the text segment of
/home/jmars/libwww/lib/libwwwftp.a(HTFTPDir.o)
ild: (undefined symbol) HTDir_new -- referenced in the text segment of
/home/jmars/libwww/lib/libwwwfile.a(HTFile.o)
ild: (undefined symbol) HTDir_free -- referenced in the text segment of
/home/jmars/libwww/lib/libwwwftp.a(HTFTPDir.o)
ild: (undefined symbol) HTDir_free -- referenced in the text segment of
/home/jmars/libwww/lib/libwwwfile.a(HTFile.o)
ild: (undefined symbol) MD5Update -- referenced in the text segment of
/home/jmars/libwww/lib/libwwwhttp.a(HTDigest.o)

________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
Received on Friday, 21 July 2000 16:16:20 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 April 2007 18:18:37 GMT