Hello,


I'm trying to compile gcc 3.2 and i get this result, has someone already
solved this problem ?



Thanks for your responses.



/mnt/usr/src/gcc-build/gcc/xgcc -B/mnt/usr/src/gcc-build/gcc/
-B/usr/local/s390-ibm-linux/bin/ -B/usr/local/s390-ibm-linux/lib/
-isystem /usr/local/s390-ibm-linux/include -O2  -DIN_GCC -DCROSS_COMPILE
-W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-isystem ./include  -fPIC -include
../../gcc-3.2/gcc/config/s390/fixdfdi.h -g -DHAVE_GTHR_DEFAULT
-DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I.
-I../../gcc-3.2/gcc -I../../gcc-3.2/gcc/. -I../../gcc-3.2/gcc/config
-I../../gcc-3.2/gcc/../include -fexceptions -c
../../gcc-3.2/gcc/unwind-dw2.c -o libgcc/./unwind-dw2.o

In file included from ../../gcc-3.2/gcc/unwind-dw2.c:26:

../../gcc-3.2/gcc/unwind-pe.h: In function `size_of_encoded_value':

../../gcc-3.2/gcc/unwind-pe.h:76: warning: implicit declaration of
function `abort'

In file included from gthr-default.h:1,

                 from ../../gcc-3.2/gcc/gthr.h:98,

                 from ../../gcc-3.2/gcc/unwind-dw2.c:28:

../../gcc-3.2/gcc/gthr-posix.h:37:21: pthread.h: No such file or
directory

In file included from gthr-default.h:1,

                 from ../../gcc-3.2/gcc/gthr.h:98,

                 from ../../gcc-3.2/gcc/unwind-dw2.c:28:

../../gcc-3.2/gcc/gthr-posix.h: At top level:

../../gcc-3.2/gcc/gthr-posix.h:39: parse error before "__gthread_key_t"

../../gcc-3.2/gcc/gthr-posix.h:39: warning: type defaults to `int' in
declaration of `__gthread_key_t'

../../gcc-3.2/gcc/gthr-posix.h:39: warning: data definition has no type
or storage class

../../gcc-3.2/gcc/gthr-posix.h:40: parse error before "__gthread_once_t"

../../gcc-3.2/gcc/gthr-posix.h:40: warning: type defaults to `int' in
declaration of `__gthread_once_t'

../../gcc-3.2/gcc/gthr-posix.h:40: warning: data definition has no type
or storage class

../../gcc-3.2/gcc/gthr-posix.h:41: parse error before
"__gthread_mutex_t"

../../gcc-3.2/gcc/gthr-posix.h:41: warning: type defaults to `int' in
declaration of `__gthread_mutex_t'

../../gcc-3.2/gcc/gthr-posix.h:41: warning: data definition has no type
or storage class

../../gcc-3.2/gcc/gthr-posix.h: In function `__gthread_active_p':

../../gcc-3.2/gcc/gthr-posix.h:83: `pthread_create' undeclared (first
use in this function)

../../gcc-3.2/gcc/gthr-posix.h:83: (Each undeclared identifier is
reported only once

../../gcc-3.2/gcc/gthr-posix.h:83: for each function it appears in.)

../../gcc-3.2/gcc/gthr-posix.h: At top level:

../../gcc-3.2/gcc/gthr-posix.h:438: parse error before '*' token

../../gcc-3.2/gcc/gthr-posix.h:438: parse error before ')' token

../../gcc-3.2/gcc/gthr-posix.h:447: parse error before '*' token

../../gcc-3.2/gcc/gthr-posix.h:447: parse error before ')' token

../../gcc-3.2/gcc/gthr-posix.h:453: parse error before "key"

../../gcc-3.2/gcc/gthr-posix.h:454: warning: function declaration isn't
a prototype

../../gcc-3.2/gcc/gthr-posix.h: In function `__gthread_key_dtor':

../../gcc-3.2/gcc/gthr-posix.h:456: `ptr' undeclared (first use in this
function)

../../gcc-3.2/gcc/gthr-posix.h:457: warning: implicit declaration of
function `pthread_setspecific'

../../gcc-3.2/gcc/gthr-posix.h:457: `key' undeclared (first use in this
function)

../../gcc-3.2/gcc/gthr-posix.h: At top level:

../../gcc-3.2/gcc/gthr-posix.h:463: parse error before "key"

../../gcc-3.2/gcc/gthr-posix.h:464: warning: function declaration isn't
a prototype

../../gcc-3.2/gcc/gthr-posix.h: In function `__gthread_key_delete':

../../gcc-3.2/gcc/gthr-posix.h:465: warning: implicit declaration of
function `pthread_key_delete'

../../gcc-3.2/gcc/gthr-posix.h:465: `key' undeclared (first use in this
function)

../../gcc-3.2/gcc/gthr-posix.h: At top level:

../../gcc-3.2/gcc/gthr-posix.h:469: parse error before "key"

../../gcc-3.2/gcc/gthr-posix.h:470: warning: function declaration isn't
a prototype

../../gcc-3.2/gcc/gthr-posix.h: In function `__gthread_getspecific':

../../gcc-3.2/gcc/gthr-posix.h:471: warning: implicit declaration of
function `pthread_getspecific'

../../gcc-3.2/gcc/gthr-posix.h:471: `key' undeclared (first use in this
function)

../../gcc-3.2/gcc/gthr-posix.h:471: warning: return makes pointer from
integer without a cast

../../gcc-3.2/gcc/gthr-posix.h: At top level:

../../gcc-3.2/gcc/gthr-posix.h:475: parse error before "key"

../../gcc-3.2/gcc/gthr-posix.h:476: warning: function declaration isn't
a prototype

../../gcc-3.2/gcc/gthr-posix.h: In function `__gthread_setspecific':

../../gcc-3.2/gcc/gthr-posix.h:477: `key' undeclared (first use in this
function)

../../gcc-3.2/gcc/gthr-posix.h:477: `ptr' undeclared (first use in this
function)

../../gcc-3.2/gcc/gthr-posix.h: At top level:

../../gcc-3.2/gcc/gthr-posix.h:481: parse error before '*' token

../../gcc-3.2/gcc/gthr-posix.h:482: warning: function declaration isn't
a prototype

../../gcc-3.2/gcc/gthr-posix.h: In function `__gthread_mutex_lock':

../../gcc-3.2/gcc/gthr-posix.h:484: warning: implicit declaration of
function `pthread_mutex_lock'

../../gcc-3.2/gcc/gthr-posix.h:484: `mutex' undeclared (first use in
this function)

../../gcc-3.2/gcc/gthr-posix.h: At top level:

../../gcc-3.2/gcc/gthr-posix.h:490: parse error before '*' token

../../gcc-3.2/gcc/gthr-posix.h:491: warning: function declaration isn't
a prototype

../../gcc-3.2/gcc/gthr-posix.h: In function `__gthread_mutex_trylock':

../../gcc-3.2/gcc/gthr-posix.h:493: warning: implicit declaration of
function `pthread_mutex_trylock'

../../gcc-3.2/gcc/gthr-posix.h:493: `mutex' undeclared (first use in
this function)

../../gcc-3.2/gcc/gthr-posix.h: At top level:

../../gcc-3.2/gcc/gthr-posix.h:499: parse error before '*' token

../../gcc-3.2/gcc/gthr-posix.h:500: warning: function declaration isn't
a prototype

../../gcc-3.2/gcc/gthr-posix.h: In function `__gthread_mutex_unlock':

../../gcc-3.2/gcc/gthr-posix.h:502: warning: implicit declaration of
function `pthread_mutex_unlock'

../../gcc-3.2/gcc/gthr-posix.h:502: `mutex' undeclared (first use in
this function)

../../gcc-3.2/gcc/unwind-dw2.c: In function `extract_cie_info':

../../gcc-3.2/gcc/unwind-dw2.c:226: warning: implicit declaration of
function `strlen'

../../gcc-3.2/gcc/unwind-dw2.c: In function `uw_frame_state_for':

../../gcc-3.2/gcc/unwind-dw2.c:899: warning: implicit declaration of
function `memset'

../../gcc-3.2/gcc/unwind-dw2.c: In function `uw_install_context_1':

../../gcc-3.2/gcc/unwind-dw2.c:1166: syntax error before "once_regsizes"

../../gcc-3.2/gcc/unwind-dw2.c:1167: warning: implicit declaration of
function `__gthread_once'

../../gcc-3.2/gcc/unwind-dw2.c:1167: `once_regsizes' undeclared (first
use in this function)

../../gcc-3.2/gcc/unwind-dw2.c:1181: warning: implicit declaration of
function `memcpy'

make[2]: *** [libgcc/./unwind-dw2.o] Error 1

make[2]: Leaving directory `/mnt/usr/src/gcc-build/gcc'

make[1]: *** [libgcc.a] Error 2

make[1]: Leaving directory `/mnt/usr/src/gcc-build/gcc'

make: *** [all-gcc] Error 2

linuxp:/mnt/usr/src/gcc-build #





     Gerard MONTELEONE

     Ingenieur Systeme & Reseau

* 04.95.23.68.09 / 06.87.72.70.32

      S.I.T.E.C zi du Vazzio

     20090 AJACCIO Cedex

Reply via email to