From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3568 invoked by alias); 14 Aug 2008 18:05:53 -0000 Received: (qmail 3556 invoked by uid 22791); 14 Aug 2008 18:05:52 -0000 X-Spam-Check-By: sourceware.org Received: from freefall.marmara.edu.tr (HELO istanbul.enderunix.org) (193.140.143.23) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 14 Aug 2008 18:05:13 +0000 Received: (qmail 98816 invoked from network); 14 Aug 2008 18:03:55 -0000 Received: from unknown (HELO ?192.168.1.2?) (cihan@88.250.177.36) by 0 with ESMTPA; 14 Aug 2008 18:03:55 -0000 Message-ID: <48A473CE.6060101@enderunix.org> Date: Thu, 14 Aug 2008 19:01:00 -0000 From: cihan User-Agent: Thunderbird 2.0.0.16 (X11/20080724) MIME-Version: 1.0 To: Ian Lance Taylor CC: gcc-help@gcc.gnu.org Subject: Re: gcc 2.95.3 building problem References: <48A1D912.7060203@enderunix.org> <48A32619.8060708@enderunix.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2008-08/txt/msg00145.txt.bz2 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 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 > > >