undefined symbols when building apps

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 UTC