- From: Timothee Besset <ttimo@idsoftware.com>
- Date: Thu, 2 Jan 2003 14:19:15 +0100
- To: www-lib@w3.org
Are you linking dynamically, or trying to do static linking? If you are linking dynamically, using libwww-config --libs should work fine TTimo On Thu, 2 Jan 2003 15:15:11 +0200 "Eran \"DarkEye\" Uzan" <tr4_h5@mishkei.org.il> wrote: > > 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:19:58 UTC