Re: Making libwww work?

> Does the libwww code compile itself (using gmake and gcc) according to the
> instructions at
> 
> 	http://www.w3.org/INSTALL.html

The library itself compiled just fine.  I finally got the sample code to
compile by adding the following to the source:

  #include <stdio.h>
  #include <stdlib.h>
  #include <sys/types.h>
  #include <netinet/in.h>

And by adding the following to the linker command line:

   -lwww -lxmlparse -lxmltok -lmd5

(The shared libwww depends on the other three libraries)

All that to get two lines of code to compile :).

-- Lars

-- 
Lars Kellogg-Stedman * lars@bu.edu * (617)353-5228
Department of Computer Science, Boston University

Received on Tuesday, 2 March 1999 15:36:26 UTC