W3C home > Mailing lists > Public > www-lib@w3.org > July to September 2000

RH 6.1 of installation 5.2.8 - head.c wont compile

From: James Hicks <jhicks@outpost.net.au>
Date: Fri, 1 Sep 2000 15:57:34 +1100
Message-ID: <01ee01c013d1$246279e0$c81a0c3d@outpost.net.au>
To: <www-lib@w3.org>
I've been trying for a long time to get hold of some c code that will 
check the content-length header of an http object for a long time. 
I've installed the library... but when I compile I get (this is the 
last page or so of stuff that comes up):

                 from /usr/include/w3c-libwww/WWWInit.h:51,
                 from head.c:22:
/usr/include/w3c-libwww/HTMulti.h:62: warning: `struct stat' declared 
inside par
ameter list
In file included from /usr/include/w3c-libwww/WWWNews.h:85,
                 from /usr/include/w3c-libwww/HTInit.h:70,
                 from /usr/include/w3c-libwww/WWWInit.h:51,
                 from head.c:22:
/usr/include/w3c-libwww/HTNDir.h:82: parse error before `time_t'
In file included from /usr/include/w3c-libwww/WWWStream.h:69,
                 from /usr/include/w3c-libwww/HTInit.h:139,
                 from /usr/include/w3c-libwww/WWWInit.h:51,
                 from head.c:22:
/usr/include/w3c-libwww/HTFWrite.h:47: parse error before `FILE'
head.c: In function `printer':
head.c:26: `stdout' undeclared (first use in this function)
head.c:26: (Each undeclared identifier is reported only once
head.c:26: for each function it appears in.)
head.c: In function `tracer':
head.c:31: `stderr' undeclared (first use in this function)
head.c: In function `main':
head.c:50: `stdout' undeclared (first use in this function)
/usr/include/w3c-libwww/HTHstMan.h: At top level:
/usr/include/w3c-libwww/HTHstMan.h:93: storage size of `sock_addr' 
isn't known

help. I'm dumb.

-
James Hicks - General Manager
Outpost Internet
http://www.outpost.net.au
-
Received on Friday, 1 September 2000 00:58:05 GMT

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