You are viewing a plain text version of this content. The canonical link for it is here.
Posted to rivet-dev@tcl.apache.org by "Vassilis A. Mardiris" <ma...@philippos.teikav.edu.gr> on 2004/10/14 11:26:48 UTC

problem compiling rivet

I am compiling tcl-rivet to a Redhat 9 system. I am following the instractions of the INSTALL file included in the package rivet_0.4.0-1.tar.gz and when I run 

tclsh ./make.tcl shared

I am geting the following message

apache_multipart_buffer.o       -> Command (sh): gcc -pipe -O -D__NO_STRING_INLINES -D__NO_MATH_INLINES -Wall -Wno-implicit-int -fPIC -I/usr/include/httpd /usr/include -DTCL_THREADED=0 -c apache_multipart_buffer.c
Error: In file included from apache_multipart_buffer.h:4,
                 from apache_multipart_buffer.c:59:
apache_request.h:38: parse error before "table"
apache_request.h:38: warning: no semicolon at end of struct or union
apache_request.h:49: parse error before '}' token
apache_request.h:49: warning: data definition has no type or storage class
apache_request.h:56: parse error before "table"
apache_request.h:56: warning: no semicolon at end of struct or union
apache_request.h:59: parse error before '*' token
apache_request.h:59: warning: data definition has no type or storage class
apache_request.h:60: parse error before '}' token
apache_request.h:90: parse error before '*' token
apache_request.h:90: warning: data definition has no type or storage class
apache_request.h:93: parse error before '*' token
apache_request.h:94: parse error before '*' token
apache_request.h:95: parse error before '*' token
apache_request.h:96: parse error before '*' token
apache_request.h:97: parse error before '*' token
apache_request.h:98: parse error before '*' token
apache_request.h:98: parse error before '*' token
apache_request.h:98: warning: data definition has no type or storage class
apache_request.h:99: parse error before '*' token
apache_request.h:100: parse error before '*' token
apache_request.h:103: parse error before '*' token
apache_request.h:103: parse error before '*' token
apache_request.h:103: warning: data definition has no type or storage class
apache_request.h:104: parse error before '*' token
apache_request.h:104: parse error before '*' token
apache_request.h:104: warning: data definition has no type or storage class
apache_request.h:106: parse error before '*' token
apache_request.h:107: parse error before '*' token
apache_request.h:126: parse error before '*' token
apache_request.h:129: parse error before '*' token
In file included from apache_multipart_buffer.c:59:
apache_multipart_buffer.h:33: parse error before '*' token
apache_multipart_buffer.h:33: warning: data definition has no type or storage class
apache_multipart_buffer.c: In function `fill_buffer':
apache_multipart_buffer.c:118: warning: implicit declaration of function `ap_hard_timeout'
apache_multipart_buffer.c:120: warning: implicit declaration of function `ap_kill_timeout'
apache_multipart_buffer.c: In function `multipart_buffer_new':
apache_multipart_buffer.c:217: warning: implicit declaration of function `ap_pcalloc'
apache_multipart_buffer.c:226: warning: implicit declaration of function `ap_pstrcat'
apache_multipart_buffer.c:226: warning: assignment makes pointer from integer without a cast
apache_multipart_buffer.c:227: warning: assignment makes pointer from integer without a cast
apache_multipart_buffer.c: At top level:
apache_multipart_buffer.c:235: parse error before '*' token
apache_multipart_buffer.c:236: warning: return type defaults to `int'
apache_multipart_buffer.c: In function `multipart_buffer_headers':
apache_multipart_buffer.c:237: `table' undeclared (first use in this function)
apache_multipart_buffer.c:237: (Each undeclared identifier is reported only once
apache_multipart_buffer.c:237: for each function it appears in.)
apache_multipart_buffer.c:237: `tab' undeclared (first use in this function)
apache_multipart_buffer.c:244: warning: implicit declaration of function `ap_make_table'
apache_multipart_buffer.c:252: warning: implicit declaration of function `ap_isspace'
apache_multipart_buffer.c:260: warning: implicit declaration of function `ap_table_add'
apache_multipart_buffer.c: In function `multipart_buffer_read_body':
apache_multipart_buffer.c:322: warning: assignment makes pointer from integer without a cast
Compilation failed on command "sh {$COMP apache_multipart_buffer.c}"

I tried to compile in a mandrake system but i got the same message

What am I doing wrong

V.Mardiris


Re: problem compiling rivet

Posted by "David N. Welton" <da...@dedasys.com>.
"Vassilis A. Mardiris" <ma...@philippos.teikav.edu.gr> writes:

> I am compiling tcl-rivet to a Redhat 9 system. I am following the instractions of the INSTALL file included in the package rivet_0.4.0-1.tar.gz and when I run 
> 
> tclsh ./make.tcl shared
> 
> I am geting the following message
> 
> apache_multipart_buffer.o       -> Command (sh): gcc -pipe -O
> -D__NO_STRING_INLINES -D__NO_MATH_INLINES -Wall -Wno-implicit-int
> -fPIC -I/usr/include/httpd /usr/include -DTCL_THREADED=0 -c
> apache_multipart_buffer.c

It's not finding the headers, it looks like.  Can you send me your
system tclConfig.sh file?

Are the Apache headers indeed in /usr/include/httpd/ ?

-- 
David N. Welton
Personal:                   http://www.dedasys.com/davidw/
Apache Tcl:                 http://tcl.apache.org/
Free Software:              http://www.dedasys.com/freesoftware/
Linux Incompatibility List: http://www.leenooks.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: rivet-dev-unsubscribe@tcl.apache.org
For additional commands, e-mail: rivet-dev-help@tcl.apache.org