W3C home > Mailing lists > Public > www-lib@w3.org > April to June 2001

(unknown charset) Re: Problem compiling chunk.c using libwww-config

From: (unknown charset) Karim Hamed <Karim.Hamed@WiredMinds.de>
Date: Fri, 18 May 2001 11:36:42 +0200
Message-ID: <3B04ED2A.6EDF2ADE@WiredMinds.de>
To: (unknown charset) www-lib@w3.org
Hi,

I don't know if it's important but I couldn't see any library for the SSL in
your command line for the compiler ;-). Try to install the openSSL on your host
and then try again.

regards
> Problem compiling chunk.c using libwww-config
> 
> From: Sam Gasster (sgasster@endeavors.com)
> Date: Wed, Apr 18 2001
> 
> *Next message: Roland Bickel: "Some q's about POSTing ? (keywords : HTPostAnchor, HTTP 1.0, 100- continue)"
> 
>    * Previous message: korri@igd.fhg.de: "Entity-loss on HTTP-500"
>    * Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
>    * Other mail archives: [this mailing list] [other W3C mailing lists]
>    * Mail actions: [ respond to this message ] [ mail a new topic ]
> 
>   --------------------------------------------------------------------------------
> 
> Message-Id: <p05010404b703ae9a4f57@[192.168.1.10]>
> Date: Wed, 18 Apr 2001 14:04:10 -0700
> To: www-lib@w3.org
> From: "Sam Gasster" <sgasster@endeavors.com>
> Subject: Problem compiling chunk.c using libwww-config
> 
> On 2001-04-17 I checked out the libwww distribution from the CVS respository.
> 
> My system:
> Linux fluorine 2.2.14-5.0 #1 Tue Mar 7 21:07:39 EST 2000 i686 unknown
> RedHat 6.2
> egcs-2.91.66
> 
> I preformed the required bootstrapping and installation.
> 
> I tested the resulting chunk executable and it worked fine.  To get
> familiar with the library I decided to compile chunk.c myself.
> 
> I followed the example given on
> http://www.w3.org/Library/libwww-config.html
> 
> and received an error:
> 
> gcc -o chunktest `libwww-config --cflags` Library/Examples/chunk.c
> `libwww-config --libs`
> /usr/local/lib/libwwwapp.a(HTInit.o): In function `HTConverterInit':
> /home/sgasster/w3c/libwww/Library/src/HTInit.c:87: undefined
> reference to `HTXML_new'
> /home/sgasster/w3c/libwww/Library/src/HTInit.c:88: undefined
> reference to `HTXML_new'
> collect2: ld returned 1 exit status
> 
> I looked at the Makefile in the Library/Examples directory and
> noticed that the library
> list and ordering is different than that returned by libwww-config:
> Here's what libwww-config returns in each case:
> 
> libwww-config --cflags
> -I/usr/local/include -I/usr/local/include/w3c-libwww -DHAVE_CONFIG_H
> 
> libwww-config --libs
> -L/usr/local/lib -lwwwxml -lxmltok -lxmlparse -lwwwinit -lwwwapp
> -lwwwhtml -lwwwtelnet -lwwwnews -lwwwhttp -lwwwmime -lwwwgopher
> -lwwwftp -lwwwfile -lwwwdir -lwwwcache -lwwwstream -lwwwmux
> -lwwwtrans -lwwwcore -lwwwutils -lmd5 -ldl
> 
> Anyone have any idea what's up?
> 
> Thanks,
> Sam
> 
>   --------------------------------------------------------------------------------
> 
>    * Next message: Roland Bickel: "Some q's about POSTing ? (keywords : HTPostAnchor, HTTP 1.0, 100- continue)"
>    * Previous message: korri@igd.fhg.de: "Entity-loss on HTTP-500"
>    * Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
>    * Other mail archives: [this mailing list] [other W3C mailing lists]
>    * Mail actions: [ respond to this message ] [ mail a new topic ]
Received on Friday, 18 May 2001 06:36:51 GMT

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