[kaffe] pasting "*" and "sc" does not give a valid preprocessing token

Marc Kleine-Budde kleine-budde at gmx.de
Thu Jun 19 09:50:02 PDT 2003


Hi list!

I just tried to compile kaffe-1.1.0 (from website) on my ppc (ibook G3) box running
debian testing (upgraded this morning). I encountered some errors:

After the usual ./configure, make keep going until this:

if /bin/sh ../../../../libtool --mode=compile gcc -DINTERPRETER
-DKVER=\"1.1.0\" -I. -I. -I../../../../config -I../../../../include  -I.
-I. -I../.. -I./../.. -I../../../../config -I../../../../config
-I../../../../include -I../../../../include -I../../../../kaffe/xprof
-DKVER='"1.1.0"' -I/tmp/kaffe-1.1.0/./kaffe/kaffevm
-I/tmp/kaffe-1.1.0/./kaffe/kaffevm/systems/unix-jthreads
-I../../../../config -I../../../../include  -DKAFFE_VMDEBUG  -g -O2
-fsigned-char -MT jthread.lo -MD -MP -MF ".deps/jthread.Tpo" \
  -c -o jthread.lo `test -f 'jthread.c' || echo './'`jthread.c; \
then mv -f ".deps/jthread.Tpo" ".deps/jthread.Plo"; \
else rm -f ".deps/jthread.Tpo"; exit 1; \
fi
 gcc -DINTERPRETER -DKVER=\"1.1.0\" -I. -I. -I../../../../config
-I../../../../include -I. -I. -I../.. -I./../.. -I../../../../config
-I../../../../config -I../../../../include -I../../../../include
-I../../../../kaffe/xprof -DKVER=\"1.1.0\"
-I/tmp/kaffe-1.1.0/./kaffe/kaffevm
-I/tmp/kaffe-1.1.0/./kaffe/kaffevm/systems/unix-jthreads
-I../../../../config -I../../../../include -DKAFFE_VMDEBUG -g -O2
-fsigned-char -MT jthread.lo -MD -MP -MF .deps/jthread.Tpo -c jthread.c
-fPIC -DPIC -o .libs/jthread.o
jthread.c:158:63: pasting "*" and "sc" does not give a valid
preprocessing token
jthread.c:530:49: pasting "*" and "sc" does not give a valid
preprocessing token
jthread.c:671:51: pasting "*" and "sc" does not give a valid
preprocessing token
make[4]: *** [jthread.lo] Error 1

i'm using gcc 3.3, binutils 2.14.90.0.4 and glibc 2.3.1

$ gcc --version
gcc (GCC) 3.3 (Debian)

$ ld --version
GNU ld version 2.14.90.0.4 20030523 Debian GNU/Linux


than I switched back to gcc-2.95, after make distclean and configure it
goes till:

$ gcc-2.95 -v
gcc version 2.95.4 20011002 (Debian prerelease)

/bin/sh ../../libtool --mode=compile gcc-2.95 -DHAVE_CONFIG_H -I. -I.
-I../../config -I../../include
-I../../kaffe/kaffevm/systems/unix-jthreads -Iintrp -I./intrp
-I../../libltdl -DINTERPRETER -I../../kaffe/xprof -DKVER='"1.1.0"'
-I/tmp/kaffe-1.1.0/./kaffe/kaffevm
-I/tmp/kaffe-1.1.0/./kaffe/kaffevm/systems/unix-jthreads -I../../config
-I../../include  -DKAFFE_VMDEBUG  -g -O2 -fsigned-char -c -o
stringParsing.lo `test -f 'stringParsing.c' || echo './'`stringParsing.c
 gcc-2.95 -DHAVE_CONFIG_H -I. -I. -I../../config -I../../include
-I../../kaffe/kaffevm/systems/unix-jthreads -Iintrp -I./intrp
-I../../libltdl -DINTERPRETER -I../../kaffe/xprof -DKVER=\"1.1.0\"
-I/tmp/kaffe-1.1.0/./kaffe/kaffevm
-I/tmp/kaffe-1.1.0/./kaffe/kaffevm/systems/unix-jthreads -I../../config
-I../../include -DKAFFE_VMDEBUG -g -O2 -fsigned-char -c stringParsing.c
-Wp,-MD,.deps/stringParsing.TPlo  -fPIC -DPIC -o .libs/stringParsing.o
stringParsing.c: In function `pushFrame':
stringParsing.c:113: incompatible types in assignment
stringParsing.c: In function `parseString_private':
stringParsing.c:572: warning: passing arg 5 of `skipBlock' from
incompatible pointer type
stringParsing.c:683: warning: passing arg 5 of `skipBlock' from
incompatible pointer type
stringParsing.c:728: warning: passing arg 5 of `skipBlock' from
incompatible pointer type

Who's guiltily? :)

regards - marc

-- 
#!/bin/sh
set - `type $0` 'tr "[a-zA-Z]" "[n-za-mN-ZA-M]"';while [ "$2" != "" ];do \
shift;done; echo 'frq -a -rc '`echo "$0"| $1 `'>$UBZR/.`rpub signature|'`\
echo $1|$1`'`;rpub "Jr ner fvtangher bs obet. Erfvfgnapr vf shgvyr!"'|$1|sh




More information about the kaffe mailing list