RE: Compile Problems on freebsd 4.1 using libwww 5.2.8

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 UTC