Re: linking problems
Timothee Besset <ttimo <at> idsoftware.com>
2003-01-02 13:19:15 GMT
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 <at> 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
(Continue reading)