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 Bodri <bo...@dunaweb.hu> on 2004/03/24 04:13:26 UTC

compilation problem

Hi,

I'm intresting about Rivet projekt and i have tried to install it. I'm using 
apache2 and tcl 8.4.4 (SuSE9.0). I haveconfigured it whit './configure.tcl 
-with-apxs /usr/sbin/apxs2' and then tried to './make.tcl', but i have got 
this error mesage:

mod_rivet.so built - now run ./make.tcl install to complete installation.
apache_multipart_buffer.o       -> Command (sh): gcc -pipe -O2 -march=i586 
-mcpu=i686 -fmessage-length=0 -fPIC -Wall -fno-strict-aliasing 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O -D__NO_STRING_INLINES 
-D__NO_MATH_INLINES -Wno-implicit-int -fPIC -I/usr/include/apache2 -I/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:16:
apache_request.h:38: error: parse error before "table"
apache_request.h:38: warning: no semicolon at end of struct or union
apache_request.h:49: error: parse error before '}' token
apache_request.h:49: warning: data definition has no type or storage class
apache_request.h:56: error: parse error before "table"
apache_request.h:56: warning: no semicolon at end of struct or union
apache_request.h:59: error: parse error before '*' token
apache_request.h:59: warning: data definition has no type or storage class
apache_request.h:60: error: parse error before '}' token
apache_request.h:90: error: parse error before '*' token
apache_request.h:90: warning: data definition has no type or storage class
apache_request.h:93: error: parse error before '*' token
apache_request.h:94: error: parse error before '*' token
apache_request.h:95: error: parse error before '*' token
apache_request.h:96: error: parse error before '*' token
apache_request.h:97: error: parse error before '*' token
apache_request.h:98: error: parse error before '*' token
apache_request.h:98: error: parse error before '*' token
apache_request.h:98: warning: data definition has no type or storage class
apache_request.h:99: error: parse error before '*' token
apache_request.h:100: error: parse error before '*' token
apache_request.h:103: error: parse error before '*' token
apache_request.h:103: error: parse error before '*' token
apache_request.h:103: warning: data definition has no type or storage class
apache_request.h:104: error: parse error before '*' token
apache_request.h:104: error: parse error before '*' token
apache_request.h:104: warning: data definition has no type or storage class
apache_request.h:106: error: parse error before '*' token
apache_request.h:107: error: parse error before '*' token
apache_request.h:126: error: parse error before '*' token
apache_request.h:129: error: parse error before '*' token
In file included from apache_multipart_buffer.c:16:
apache_multipart_buffer.h:33: error: 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:75: warning: implicit declaration of function 
`ap_hard_timeout'
apache_multipart_buffer.c:77: warning: implicit declaration of function 
`ap_kill_timeout'
apache_multipart_buffer.c: In function `multipart_buffer_new':
apache_multipart_buffer.c:174: warning: implicit declaration of function 
`ap_pcalloc'
apache_multipart_buffer.c:183: warning: implicit declaration of function 
`ap_pstrcat'
apache_multipart_buffer.c:183: warning: assignment makes pointer from integer 
without a cast
apache_multipart_buffer.c:184: warning: assignment makes pointer from integer 
without a cast
apache_multipart_buffer.c: At top level:
apache_multipart_buffer.c:192: error: parse error before '*' token
apache_multipart_buffer.c:193: warning: return type defaults to `int'
apache_multipart_buffer.c: In function `multipart_buffer_headers':
apache_multipart_buffer.c:194: error: `table' undeclared (first use in this 
function)
apache_multipart_buffer.c:194: error: (Each undeclared identifier is reported 
only once
apache_multipart_buffer.c:194: error: for each function it appears in.)
apache_multipart_buffer.c:194: error: `tab' undeclared (first use in this 
function)
apache_multipart_buffer.c:201: warning: implicit declaration of function 
`ap_make_table'
apache_multipart_buffer.c:209: warning: implicit declaration of function 
`ap_isspace'
apache_multipart_buffer.c:217: warning: implicit declaration of function 
`ap_table_add'
apache_multipart_buffer.c: In function `multipart_buffer_read_body':
apache_multipart_buffer.c:279: warning: assignment makes pointer from integer 
without a cast
Compilation failed on command "sh {$COMP apache_multipart_buffer.c}"

What is this ? Pls. help, i don't know C.
I'm not mailing list member, so pls. send answer to my address too.
THX
-- 
Üdv.: Bodri


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


Re: compilation problem

Posted by Forsite //HPG <fo...@spamtest.ru>.
I'm intresting about Rivet projekt and i have tried to install it. I'm using
apache2 and tcl 8.4.4 (SuSE9.0). I haveconfigured it whit './configure.tcl
-with-apxs /usr/sbin/apxs2' and then tried to './make.tcl', but i have got
this error mesage:

--------------

I'm affraid mod_rivet doesn't support apache2. If you plan to use mod_rivet
try to install apache1 and configure the module again.

Forsite//HPG


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