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

RE: Linking problem

From: Mikesell, Dave <dmikesell@cas.org>
Date: Fri, 11 Jan 2002 08:28:23 -0500
Message-ID: <117BB2BA200DD311850D0004AC66D3DE0A3B9F3D@pop-server.cas.org>
To: www-lib@w3.org
Can you show us the complete compile command line you typed in (or the contents of the makefile)?

--
Dave Mikesell
Chemical Abstracts Service
614.447.3600 x2993

> -----Original Message-----
> From: Subhash Agrawal [mailto:subas11@hotmail.com]
> Sent: Thursday, January 10, 2002 6:20 PM
> To: www-lib@w3.org
> Subject: Linking problem
> 
> 
> 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 Friday, 11 January 2002 08:28:57 GMT

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