Re: gcc 2.95.3 building problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi
I fixed previous problem but another problem is going on.
output is here
make[1]: Entering directory
checking host system type... i486-slackware-linux-gnu
checking build system type... i486-slackware-linux-gnu
checking for ar... (cached) ar
checking for ranlib... (cached) ranlib
checking for gcc... (cached) /home/cihan/gcc-2.95.3/gcc/xgcc -B/home/cihan/gcc-2.95.3/gcc/ -B/usr/local/i486-slackware-linux/bin/
checking whether we are using GNU C... (cached) yes
checking whether /home/cihan/gcc-2.95.3/gcc/xgcc -B/home/cihan/gcc-2.95.3/gcc/ -B/usr/local/i486-slackware-linux/bin/ accepts -g... (cached) yes
checking for POSIXized ISC... no
checking for a BSD compatible install... (cached) /bin/ginstall -c
checking how to run the C preprocessor... (cached) /home/cihan/gcc-2.95.3/gcc/xgcc -B/home/cihan/gcc-2.95.3/gcc/ -B/usr/local/i486-slackware-linux/bin/ -E
checking for sys/file.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for strings.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for sys/resource.h... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... (cached) yes
checking whether the C compiler (/home/cihan/gcc-2.95.3/gcc/xgcc -B/home/cihan/gcc-2.95.3/gcc/ -B/usr/local/i486-slackware-linux/bin/ -g -O2 ) works... yes checking whether the C compiler (/home/cihan/gcc-2.95.3/gcc/xgcc -B/home/cihan/gcc-2.95.3/gcc/ -B/usr/local/i486-slackware-linux/bin/ -g -O2 ) is a cross-compiler... no
checking for asprintf... (cached) yes
checking for atexit... (cached) yes
checking for basename... (cached) yes
checking for bcmp... (cached) yes
checking for bcopy... (cached) yes
checking for bzero... (cached) yes
checking for calloc... (cached) yes
checking for clock... (cached) yes
checking for getcwd... (cached) yes
checking for getpagesize... (cached) yes
checking for index... (cached) yes
checking for insque... (cached) yes
checking for memchr... (cached) yes
checking for memcmp... (cached) yes
checking for memcpy... (cached) yes
checking for memmove... (cached) yes
checking for memset... (cached) yes
checking for mkstemps... (cached) no
checking for putenv... (cached) yes
checking for random... (cached) yes
checking for rename... (cached) yes
checking for rindex... (cached) yes
checking for setenv... (cached) yes
checking for sigsetmask... (cached) yes
checking for strcasecmp... (cached) yes
checking for strchr... (cached) yes
checking for strdup... (cached) yes
checking for strncasecmp... (cached) yes
checking for strrchr... (cached) yes
checking for strstr... (cached) yes
checking for strtod... (cached) yes
checking for strtol... (cached) yes
checking for strtoul... (cached) yes
checking for tmpnam... (cached) yes
checking for vasprintf... (cached) yes
checking for vfprintf... (cached) yes
checking for vprintf... (cached) yes
checking for vsprintf... (cached) yes
checking for waitpid... (cached) yes
checking for working alloca.h... (cached) yes
checking for alloca... (cached) yes
checking for ANSI C header files... (cached) yes
checking for pid_t... (cached) yes
checking for vfork.h... (cached) no
checking for working vfork... (cached) yes
checking for sys_errlist... (cached) yes
checking for sys_nerr... (cached) yes
checking for sys_siglist... (cached) yes
checking for getrusage... (cached) yes
checking for on_exit... (cached) yes
checking for psignal... (cached) yes
checking for strerror... (cached) yes
checking for strsignal... (cached) yes
checking for sysconf... (cached) yes
checking for times... (cached) yes
checking for sbrk... (cached) yes
checking for gettimeofday... (cached) yes
creating ./config.status
creating Makefile
creating testsuite/Makefile
creating config.h
make[1]: Entering directory `/home/cihan/gcc-2.95.3/i486-slackware-linux/libiberty'
if [ x"no" = xyes ] && [ ! -d pic ]; then \
     mkdir pic; \
   else true; fi
touch stamp-picdir
make[1]: *** No rule to make target `../include/libiberty.h', needed by `argv.o'. Stop. make[1]: Leaving directory `/home/cihan/gcc-2.95.3/i486-slackware-linux/libiberty'
make: *** [all-target-libiberty] Error 2



Ian Lance Taylor wrote:
cihan <cihan@xxxxxxxxxxxxx> writes:

In file included from /usr/include/sys/types.h:270,
                from /usr/include/stdlib.h:320,
                from ./libgcc2.c:41:
/usr/include/bits/pthreadtypes.h:69: warning: unnamed struct/union
that defines no instances

This looks like gcc 2.95.3 can't compile your C library.
/usr/include/bits/pthreadtypes.h is not part of gcc.

./frame.c:55: extra brace group at end of initializer
./frame.c:55: (near initialization for `object_mutex.__data')
./frame.c:55: warning: excess elements in struct initializer
./frame.c:55: warning: (near initialization for `object_mutex.__data')

This is an attempt to use PTHREAD_MUTEX_INIT, and it looks like your C
library defines it in a way which gcc 2.95.3 can't handle.

In short, you are in a world of pain.  Why do you want gcc 2.95.3
anyhow?

Ian




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux