Bernd Kurzan E1 a écrit:
typical error messages:
/usr/lib/gcc-lib/i586-pc-linux-gnulibc1/2.8.1/libgpc.a(write.o): In function `_p_write': /usr/local/src/gcc-2.8.1/p/rts/wrtinc.c:123: undefined reference to `_p_strlen'
It is a new bug which popped out in this last release. Here was the answer by Franck:
I think this is the problem Maurice Lombardi described recently. It's caused by the `inline's in rts/rtsstr.pas while compiling GPC without optimizations. Try commenting out these `inlines' and compiling GPC again -- or, better yet, compile GPC with optimizations, i.e. give `CFLAGS="-O2"' to the make command, this will result in a faster compiler, anyway.
An this was the result mailed by "Russ Whitaker" russwhit@mind.net
ref gpc-19980830 in gcc-2.8.1
did a make clean make CFLAGS="-O2" LANGUAGES=pascal make CFLAGS="-O2" pascal.install now works ok
Do the same !