Dear CRUXers,
I'm sorry for non-CRUX-specific question.
I tried to compile gcc4 out of our ports (I was affraid what would
happen if I updated my gcc-3.4.3 to gcc-4.?.? from ports, since I have
quite old OS, still 2.0. I assumed a lot of things would need an update
afterwards...).
Anyway, for gcc-4.2.0 and gcc-4.1.2 I get the same error message, which
is attached below.
Anyone could help me to solve this and suggest a solution ?
Have a nice day,
Pawel
/tmp/gcc-4.1.2/host-i686-pc-linux-gnu/gcc/xgcc
-B/tmp/gcc-4.1.2/host-i686-pc-linux-gnu/gcc/
-B/opt/gcc-4.1.2/i686-pc-linux-gnu/bin/
-B/opt/gcc-4.1.2/i686-pc-linux-gnu/lib/ -isystem
/opt/gcc-4.1.2/i686-pc-linux-gnu/include -isystem
/opt/gcc-4.1.2/i686-pc-linux-gnu/sys-include -O2 -O2 -g -O2 -DIN_GCC
-W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition -isystem ./include -fPIC -g -DHAVE_GTHR_DEFAULT
-DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I. -I../.././gcc
-I../.././gcc/. -I../.././gcc/../include -I../.././gcc/../libcpp/include
-fexceptions -fvisibility=hidden -DHIDE_EXPORTS -c
../.././gcc/unwind-dw2.c -o libgcc/./unwind-dw2.o
In file included from ../.././gcc/gthr-posix.h:43,
from ./gthr-default.h:1,
from ../.././gcc/gthr.h:114,
from ../.././gcc/unwind-dw2.c:42:
/usr/include/pthread.h:641: error: array type has incomplete element type
make[3]: *** [libgcc/./unwind-dw2.o] Error 1
make[2]: *** [libgcc.a] Error 2
make[1]: *** [all-gcc] Error 2
make: *** [all] Error 2