It is currently Wed Jun 19, 2013 6:30 pm

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: [SOLVED]issue with gcc 4.1.2
PostPosted: Mon Apr 16, 2007 4:28 pm 
Global Moderator
Global Moderator
User avatar

Joined: Mon Apr 10, 2006 12:43 pm
Posts: 4727
Location: Ath (Belgium)
hello,

I upgraded my pc with Zenwalk snapshot.
Now I use gcc-4.1.2.
When I try to compile a software, I have this message :
Code:
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /bin/ginstall -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for g++... g++
checking for C++ compiler default output file name... configure: error: C++ compiler cannot create executables
See `config.log' for more details.
make: *** Pas de cibles spécifiées et aucun makefile n'a été trouvé. Arrêt.
make: *** Pas de règle pour fabriquer la cible « install ». Arrêt.


When I look in the config.log, I observe that :
Code:
## ----------- ##
## Core tests. ##
## ----------- ##

configure:1944: checking build system type
configure:1962: result: i686-pc-linux-gnu
configure:1984: checking host system type
configure:1999: result: i686-pc-linux-gnu
configure:2021: checking target system type
configure:2036: result: i686-pc-linux-gnu
configure:2078: checking for a BSD-compatible install
configure:2134: result: /bin/ginstall -c
configure:2145: checking whether build environment is sane
configure:2188: result: yes
configure:2253: checking for gawk
configure:2269: found /bin/gawk
configure:2280: result: gawk
configure:2291: checking whether make sets $(MAKE)
configure:2312: result: yes
configure:2500: checking whether to enable maintainer-specific portions of Makefiles
configure:2509: result: no
configure:2621: checking for g++
configure:2637: found /usr/bin/g++
configure:2648: result: g++
configure:2679: checking for C++ compiler version
configure:2686: g++ --version >&5
g++ (GCC) 4.1.2
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2689: $? = 0
configure:2696: g++ -v >&5
Reading specs from /usr/lib/gcc/i486-slackware-linux/4.1.2/specs
Target: i486-slackware-linux
Configured with: ../gcc-4.1.2/configure --prefix=/usr --enable-shared --enable-languages=ada,c,c++,fortran,java,objc --enable-threads=posix --enable-__cxa_atexit --disable-checking --with-gnu-ld --verbose --with-arch=i486 --target=i486-slackware-linux --host=i486-slackware-linux
Thread model: posix
gcc version 4.1.2
configure:2699: $? = 0
configure:2706: g++ -V >&5
g++: '-V' option must have argument
configure:2709: $? = 1
configure:2732: checking for C++ compiler default output file name
configure:2759: g++    conftest.cpp  >&5
/usr/lib/gcc/i486-slackware-linux/4.1.2/../../../../i486-slackware-linux/bin/ld:/usr/lib/gcc/i486-slackware-linux/4.1.2/../../../libc.so: file format not recognized; treating as linker script
/usr/lib/gcc/i486-slackware-linux/4.1.2/../../../../i486-slackware-linux/bin/ld:/usr/lib/gcc/i486-slackware-linux/4.1.2/../../../libc.so:5: syntax error
collect2: ld returned 1 exit status
configure:2762: $? = 1


I forgot to update a package or there is a bug with the new gcc or in the software that I try to compile ?  ???

Thanks in advance

++


Last edited by bipbip on Wed Apr 18, 2007 7:45 pm, edited 1 time in total.

 Profile Send private message  
 
 Post subject: Re: issue with gcc 4.1.2
PostPosted: Wed Apr 18, 2007 7:44 pm 
Global Moderator
Global Moderator
User avatar

Joined: Mon Apr 10, 2006 12:43 pm
Posts: 4727
Location: Ath (Belgium)
I found the issue.
I forgot to update binutils  ::)


 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


 Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: