Blah, nevermind -- It must be --disable-libssp, not --disable-libspp! Stupid mistake. 2009/10/25 Aram Havarneanu <aram.h@xxxxxx>: >> >> So please leave these away from your configure and rebuild after : >> >> 1. copying the 2.11BSD headers into '/usr/local/pdp11-bsd2.11/include' >> >> 2. copying the 2.11BSD libraries into '/usr/local/pdp11-bsd2.11/lib' >> >> 3. making a symlink '/usr/local/pdp11-bsd2.11/sys-include' to point to >> '/usr/local/pdp11-bsd2.11/include' >> >> The $prefix/$target (no '--prefix=' means $prefix='/usr/local') is the >> traditional >> $tooldir for 'bin', 'include' and 'lib' for the $target stuff. Please don't >> ask why >> the '3.' is necessary.... It's a "bug/feature" from 1995 or so... :) >> > > I tried but the build fails in libspp, although I explicitly excluded > libspp with --disable-libspp! > > /var/tmp/gcc-4.1.2-obj/./gcc/xgcc -B/var/tmp/gcc-4.1.2-obj/./gcc/ -B/usr/local/p > dp11-bsd2.11/bin/ -B/usr/local/pdp11-bsd2.11/lib/ -isystem /usr/local/pdp11-bsd2 > .11/include -isystem /usr/local/pdp11-bsd2.11/sys-include -DHAVE_CONFIG_H -I. -I > ../../../gcc-4.1.2/libssp -I. -Wall -O2 -g -O2 -MT ssp.lo -MD -MP -MF .deps/ssp. > Tpo -c ../../../gcc-4.1.2/libssp/ssp.c > cc1: warning: target system does not support debug output > In file included from /var/tmp/gcc-4.1.2-obj/./gcc/include/string.h:16, > from ../../../gcc-4.1.2/libssp/ssp.c:41: > /var/tmp/gcc-4.1.2-obj/./gcc/include/strings.h:32: error: expected declaration s > pecifiers or '...' before 'size_t' > /var/tmp/gcc-4.1.2-obj/./gcc/include/strings.h:34: error: expected declaration s > pecifiers or '...' before 'size_t' > ../../../gcc-4.1.2/libssp/ssp.c: In function '__guard_setup': > ../../../gcc-4.1.2/libssp/ssp.c:70: warning: implicit declaration of function 'o > pen' > ../../../gcc-4.1.2/libssp/ssp.c:73: error: 'ssize_t' undeclared (first use in th > is function) > ../../../gcc-4.1.2/libssp/ssp.c:73: error: (Each undeclared identifier is report > ed only once > ../../../gcc-4.1.2/libssp/ssp.c:73: error: for each function it appears in.) > ../../../gcc-4.1.2/libssp/ssp.c:73: error: expected ';' before 'size' > ../../../gcc-4.1.2/libssp/ssp.c:75: warning: implicit declaration of function 'c > lose' > ../../../gcc-4.1.2/libssp/ssp.c:76: error: 'size' undeclared (first use in this > function) > ../../../gcc-4.1.2/libssp/ssp.c: In function 'fail': > ../../../gcc-4.1.2/libssp/ssp.c:109: warning: implicit declaration of function ' > alloca' > ../../../gcc-4.1.2/libssp/ssp.c:109: warning: incompatible implicit declaration > of built-in function 'alloca' > ../../../gcc-4.1.2/libssp/ssp.c:119: error: 'ssize_t' undeclared (first use in t > his function) > ../../../gcc-4.1.2/libssp/ssp.c:119: error: expected ';' before 'wrote' > ../../../gcc-4.1.2/libssp/ssp.c:120: error: 'wrote' undeclared (first use in thi > s function) > ../../../gcc-4.1.2/libssp/ssp.c:131: warning: implicit declaration of function ' > syslog' > ../../../gcc-4.1.2/libssp/ssp.c:151: warning: implicit declaration of function ' > _exit' > ../../../gcc-4.1.2/libssp/ssp.c:151: warning: incompatible implicit declaration > of built-in function '_exit' > gmake[3]: *** [ssp.lo] Error 1 > gmake[3]: Leaving directory `/var/tmp/gcc-4.1.2-obj/pdp11-bsd2.11/libssp' > gmake[2]: *** [all] Error 2 > gmake[2]: Leaving directory `/var/tmp/gcc-4.1.2-obj/pdp11-bsd2.11/libssp' > gmake[1]: *** [all-target-libssp] Error 2 > gmake[1]: Leaving directory `/var/tmp/gcc-4.1.2-obj' > gmake: *** [all] Error 2 > > Configure options are: > > ../gcc-4.1.2/configure --target=pdp11-bsd2.11 --enable-languages=c > --disable-shared --enable-version-specific-runtime-libs > --disable-libspp > > -- > Aram Hăvărneanu > -- Aram Hăvărneanu