W3C home > Mailing lists > Public > www-lib@w3.org > July to September 2000

RE: Compile Problems on freebsd 4.1 using libwww 5.2.8

From: Jerome Siour <jerome.siour@smtp2.cosmosbay.com>
Date: Fri, 1 Sep 2000 09:35:45 +0200
Message-ID: <01C013F8.01D61B80@jerome>
To: "www-lib@w3.org" <www-lib@w3.org>
Cc: "'Patrick William Goodwill'" <goodwill@stanford.edu>
Hello,

>"gcc -I/usr/local/include/w3c-libwww/ -L/usr/local/lib test.c"

I had this problem, and to solve it, I had "-DHAVE_CONFIG_H":

gcc -DHAVE_CONFIG_H -I/usr/local/include/w3c-libwww/ -L/usr/local/lib test.c

But, now, you will have a "link error". You must had libraries:

(for instance, on SCOV5:)
gcc -DHAVE_CONFIG_H -I/usr/local/include/w3c-libwww/ -L/usr/local/lib test.c
-lwwwcore -lwwwutils -lwwwapp -lwwwhttp -lwwwcache -lwwwdir -lwwwfile -lwwwftp
-lwwwgopher -lwwwhtml -lwwwhttp -lwwwmime -lwwwnews -lwwwstream -lwwwtelnet
-lwwwtrans -lwwwxml -lxmlparse -lxmltok -lm -lmd5 -lsocket

Of course, you may check for really usefull libraries...

Jerome.
Received on Friday, 1 September 2000 03:29:58 GMT

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