W3C home > Mailing lists > Public > www-lib@w3.org > January to March 2003

linking problems

From: Eran \ <tr4_h5@mishkei.org.il>
Date: Thu, 2 Jan 2003 15:15:11 +0200
To: www-lib@w3.org
Message-Id: <20030102131346.GJIU20384.fep2@there>

hello list

i`m tring to implement a  simaple function to download file useing the 
"HTLoadFile()" but i`m getting an error meassages from the linker
every time i have any ( well in the extent of what i checked)  of the libwww 
functin is in the code there are no problem with class or structs (again from 
what  i have checked) the error msg is :
---------------------------------------------------------------------------------------------------------
usr/libi/libwwwcore.a(HTWWWStr.o)(.text+0x6bd): In function `HTMessageIdStr':
: the use of `tmpnam' is dangerous, better use `mkstemp'
/usr/lib/libwwwcore.a(HTInet.o)(.text+0x83b): In function `HTGetTmpFileName':
: the use of `tempnam' is dangerous, better use `mkstemp'
/usr/lib/libwwwapp.a(HTInit.o)(.text+0x24c): In function `HTConverterInit':
: undefined reference to `HTXML_new'
/usr/lib/libwwwapp.a(HTInit.o)(.text+0x276): In function `HTConverterInit':
: undefined reference to `HTXML_new'
/usr/lib/libwwwapp.a(HTInit.o)(.text+0x4bd): In function 
`HTTransferEncoderInit':
: undefined reference to `HTZLib_inflate'
/usr/lib/libwwwapp.a(HTInit.o)(.text+0x509): In function 
`HTContentEncoderInit':
: undefined reference to `HTZLib_inflate'
collect2: ld returned 1 exit status
make: *** [pkgadd] Error 1
---------------------------------------------------------------------------------------------------------
it seems like a missing library but i have no idea what library  i`m useing 
libwww-config for the library listing  that i give to the linker if anyone 
ANY insights please reply

DarkEye
Received on Thursday, 2 January 2003 08:14:24 GMT

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