RE: Linking problem

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 UTC