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 David Paquin <dp...@capitale.qc.ca> on 2002/10/28 21:31:50 UTC

Error with make.tcl (tcl 8.4.1) rivetCore.c

I get the following errors when i do a make.tcl:
	-Solaris 2.8,tcl8.4.1,apache 1.3.24



ether:/net/ether/export/home/soft/build/isrtcl/src/tcl-rivet/src% sudo make.tcl shared
apache_multipart_buffer.o :
        Command:
gcc -pipe -g -O -Wall -Wno-implicit-int -fPIC -I/isr/local/apache/include -I/isr/local/tcl/include -DTCL_THREADED=1 -c
apache_multipart_buffer.c
apache_request.o :
        Command:
gcc -pipe -g -O -Wall -Wno-implicit-int -fPIC -I/isr/local/apache/include -I/isr/local/tcl/include -DTCL_THREADED=1 -c
apache_request.c
rivetChannel.o :
        Command:
c -pipe -g -O -Wall -Wconversion -Wno-implicit-int -fPIC -I/isr/local/apache/include -I/isr/local/tcl/include   -DTCL_THREADED=1 -c
rivetChannel.c
rivetParser.o :
        Command:
c -pipe -g -O -Wall -Wconversion -Wno-implicit-int -fPIC -I/isr/local/apache/include -I/isr/local/tcl/include   -DTCL_THREADED=1 -c
rivetParser.c
rivetCore.o :
        Command:
c -pipe -g -O -Wall -Wconversion -Wno-implicit-int -fPIC -I/isr/local/apache/include -I/isr/local/tcl/include   -DTCL_THREADED=1 -c
rivetCore.c
Output: rivetCore.c: In function `Rivet_Include':
rivetCore.c:114: parse error before `&'
rivetCore.c:160: invalid lvalue in assignment
rivetCore.c:161: warning: passing arg 2 of `Tcl_GetChannelOption' from incompatible pointer type
rivetCore.c:162: warning: passing arg 2 of `Tcl_GetChannelOption' from incompatible pointer type
rivetCore.c:163: warning: passing arg 2 of `Tcl_SetChannelOption' from incompatible pointer type
rivetCore.c:164: warning: passing arg 1 of `Tcl_WriteObj' from incompatible pointer type
rivetCore.c:165: warning: passing arg 2 of `Tcl_SetChannelOption' from incompatible pointer type
rivetCore.c:166: warning: passing arg 2 of `Tcl_SetChannelOption' from incompatible pointer type
        Fatal Error (CHILDSTATUS 28697 1) (rivetCore.c: In function `Rivet_Include':
rivetCore.c:114: parse error before `&'
rivetCore.c:160: invalid lvalue in assignment
rivetCore.c:161: warning: passing arg 2 of `Tcl_GetChannelOption' from incompatible pointer type
rivetCore.c:162: warning: passing arg 2 of `Tcl_GetChannelOption' from incompatible pointer type
rivetCore.c:163: warning: passing arg 2 of `Tcl_SetChannelOption' from incompatible pointer type
rivetCore.c:164: warning: passing arg 1 of `Tcl_WriteObj' from incompatible pointer type
rivetCore.c:165: warning: passing arg 2 of `Tcl_SetChannelOption' from incompatible pointer type
rivetCore.c:166: warning: passing arg 2 of `Tcl_SetChannelOption' from incompatible pointer type
    while executing
"close $fd")!
mod_rivet.o :
        Command:
c -pipe -g -O -Wall -Wconversion -Wno-implicit-int -fPIC -I/isr/local/apache/include -I/isr/local/tcl/include   -DTCL_THREADED=1 -c
mod_rivet.c
TclWebapache.o :
        Command:
c -pipe -g -O -Wall -Wconversion -Wno-implicit-int -fPIC -I/isr/local/apache/include -I/isr/local/tcl/include   -DTCL_THREADED=1 -c
TclWebapache.c
mod_rivet.so :
        Command: gcc -pipe -shared -o mod_rivet.so apache_multipart_buffer.o apache_request.o rivetChannel.o rivetParser.o
rivetCore.o mod_rivet.o TclWebapache.o -L/isr/local/tcl/lib -ltcl8.4 -ldl  -lsocket -lnsl -lpthread -lm -lcrypt
Output: gcc: rivetCore.o: No such file or directory
        Fatal Error (CHILDSTATUS 28711 1) (gcc: rivetCore.o: No such file or directory
    while executing
"close $fd")!
rivetList.o :
        Command:
c -pipe -g -O -Wall -Wconversion -Wno-implicit-int -fPIC -I/isr/local/apache/include -I/isr/local/tcl/include   -DTCL_THREADED=1 -c
rivetList.c
rivetCrypt.o :
        Command:
c -pipe -g -O -Wall -Wconversion -Wno-implicit-int -fPIC -I/isr/local/apache/include -I/isr/local/tcl/include   -DTCL_THREADED=1 -c
rivetCrypt.c
rivetWWW.o :
        Command:
c -pipe -g -O -Wall -Wconversion -Wno-implicit-int -fPIC -I/isr/local/apache/include -I/isr/local/tcl/include   -DTCL_THREADED=1 -c
rivetWWW.c
Output: rivetWWW.c: In function `Rivet_EscapeStringCmd':
rivetWWW.c:162: warning: subscript has type `char'
rivetPkgInit.o :
        Command:
c -pipe -g -O -Wall -Wconversion -Wno-implicit-int -fPIC -I/isr/local/apache/include -I/isr/local/tcl/include   -DTCL_THREADED=1 -c
rivetPkgInit.c
librivet.so :
        Command: gcc -pipe -shared -o librivet.so rivetList.o rivetCrypt.o rivetWWW.o
rivetPkgInit.o -L/isr/local/tcl/lib -ltcl8.4 -ldl  -lsocket -lnsl -lpthread -lm -lcrypt
ether:/net/ether/export/home/soft/build/isrtcl/src/tcl-rivet/src%

----------------------------------------------------------------
David Paquin
418 266-9771
dpaquin@capitale.qc.ca
----------------------------------------------------------------



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


Re: Error with make.tcl (tcl 8.4.1) rivetCore.c

Posted by "David N. Welton" <da...@dedasys.com>.
"David Paquin" <dp...@capitale.qc.ca> writes:

> I get the following errors when i do a make.tcl:
> 	-Solaris 2.8,tcl8.4.1,apache 1.3.24

> c -pipe -g -O -Wall -Wconversion -Wno-implicit-int -fPIC -I/isr/local/apache/include -I/isr/local/tcl/include   -DTCL_THREADED=1 -c
> rivetCore.c
> Output: rivetCore.c: In function `Rivet_Include':
> rivetCore.c:114: parse error before `&'

My line 114 is this:

    Tcl_Channel stdout;

How recent is your code - when did you check it out of CVS?

Can you cut and paste the line it is choking on and the surrounding
text?

By the way - I am not %100 sure that things are working ok with a
threaded Tcl, although I need to do some more experimentation.

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

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