W3C home > Mailing lists > Public > www-lib@w3.org > January to March 1999

Re: Making libwww work?

From: Lars Kellogg-Stedman <lars@cs.bu.edu>
Date: Tue, 02 Mar 1999 15:36:24 -0500
Message-Id: <199903022036.PAA19967@cs.bu.edu>
To: Henrik Frystyk Nielsen <frystyk@w3.org>
cc: www-lib@w3.org
> 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 GMT

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