RE: Need help with include files

Try using the libwww-config program to generate your compile command. I had
the same problem; doing this fixed it. Doco is in the distribution, or at
http://www.w3.org/Library/libwww-config.html
<http://www.w3.org/Library/libwww-config.html> 
 
Regards,
 
Gid

-----Original Message-----
From: Lakshmi Gourabathina [mailto:glakshmi@nortelnetworks.com]
Sent: Thursday, 15 June 2000 2:34
To: 'www-lib@w3.org'
Subject: Re: Need help with include files



Here are the error messages if I include the library path when I try to
compile. Need some help with these. 
Thanks, 
Lakshmi. 
aspect@infinity% gcc -I/aspect/lakshmi/libwww/Library/src chunkbody.c 
In file included from /aspect/lakshmi/libwww/Library/src/WWWUtil.h:62, 
                 from /aspect/lakshmi/libwww/Library/src/WWWLib.h:62, 
                 from chunkbody.c:18: 
/aspect/lakshmi/libwww/Library/src/HTUtils.h:210: parse error before
`size_t' 
/aspect/lakshmi/libwww/Library/src/HTUtils.h:221: parse error before
`size_t' 
In file included from /aspect/lakshmi/libwww/Library/src/HTUtils.h:396, 
                 from /aspect/lakshmi/libwww/Library/src/WWWUtil.h:62, 
                 from /aspect/lakshmi/libwww/Library/src/WWWLib.h:62, 
                 from chunkbody.c:18: 
/aspect/lakshmi/libwww/Library/src/HTMemory.h:60: parse error before `size' 
/aspect/lakshmi/libwww/Library/src/HTMemory.h:61: parse error before `count'

/aspect/lakshmi/libwww/Library/src/HTMemory.h:62: parse error before
`size_t' 
/aspect/lakshmi/libwww/Library/src/HTMemory.h:104: parse error before `size'

In file included from /aspect/lakshmi/libwww/Library/src/HTLib.h:29, 
                 from /aspect/lakshmi/libwww/Library/src/WWWCore.h:60, 
                 from /aspect/lakshmi/libwww/Library/src/WWWLib.h:75, 
                 from chunkbody.c:18: 
/aspect/lakshmi/libwww/Library/src/HTUser.h:137: parse error before
`HTUserProfi 
le_timezone' 
/aspect/lakshmi/libwww/Library/src/HTUser.h:137: warning: data definition
has no 
 type or storage class 
/aspect/lakshmi/libwww/Library/src/HTUser.h:138: parse error before `time_t'

In file included from
/aspect/lakshmi/libwww/Library/src/HTAnchor.hWLib.h:75, 
                 from chunkbody.c:18: 
/aspect/lakshmi/libwww/Library/src/HTInet.h:93: parse error before
`HTGetTimeZo 

============================================== 
Lakshmi Gourabathina 
Phone:(408) 495-5335 

Received on Wednesday, 14 June 2000 19:21:31 UTC