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

Linking problem

From: Subhash Agrawal <subas11@hotmail.com>
Date: Thu, 10 Jan 2002 23:20:01 +0000
To: www-lib@w3.org
Message-ID: <F1627Jm2oQyXgmfRY9g000186f1@hotmail.com>
Hi,

I am trying to compile following code Iits just 3 line code).
#include <time.h>
#include <netdb.h>
#include <stdio.h>
#include "/usr/local/include/w3c-libwww/WWWLib.h"

int  main()
{
        HTLibInit("TestApp","1.0");
        HTLibTerminate();
        return 0;
}

and I get following error.
Undefined                       first referenced
symbol                             in file
HTXML_new                           /usr/local/lib/libwwwapp.so
__eprintf                           /usr/local/lib/libwwwhtml.so
ld: fatal: Symbol referencing errors. No output written to a.out

Can anybody help in please?
Thanks

Subhash



_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com
Received on Thursday, 10 January 2002 18:20:33 GMT

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