LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 08-11-2003, 11:57 AM   #1
vexer
Member
 
Registered: Jan 2003
Location: Sudbury Ontario, Canada
Distribution: Slackware
Posts: 388

Rep: Reputation: 30
Slackware current + gcc issue


I installed slackware current and gcc -V option doesn't work. This is a problem because I believe it is the source of the following error:

bash-2.05b# ./configure
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking whether build environment is sane... yes
/usr/src/gaim-0.66/missing: Unknown `--run' option
Try `/usr/src/gaim-0.66/missing --help' for more information
configure: WARNING: `missing' script is too old or missing
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for sed... /usr/bin/sed
checking for gcc... gcc
checking for C compiler default output... configure: error: C compiler cannot create executables
See `config.log' for more details.

I tried configuring 3 different programs to see if maybe it was an isolated error: gaim-0.66, fluxbox 0.1.14 and openbox 2.2.3

This an error on my behalf, or does the slackware team need to rebuilt a gcc package?

-vexer
 
Old 08-11-2003, 11:59 AM   #2
vexer
Member
 
Registered: Jan 2003
Location: Sudbury Ontario, Canada
Distribution: Slackware
Posts: 388

Original Poster
Rep: Reputation: 30
config.log clipping.

configure:2217: checking for C compiler version
configure:2220: gcc --version </dev/null >&5
gcc (GCC) 3.2.3
Copyright (C) 2002 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:2223: $? = 0
configure:2225: gcc -v </dev/null >&5
Reading specs from /usr/lib/gcc-lib/i486-slackware-linux/3.2.3/specs
Configured with: ../gcc-3.2.3/configure --prefix=/usr --enable-shared --enable-threads=posix --enable$
Thread model: posix
gcc version 3.2.3
configure:2228: $? = 0
configure:2230: gcc -V </dev/null >&5
gcc: argument to `-V' is missing
configure:2233: $? = 1
configure:2257: checking for C compiler default output
configure:2260: gcc -march=athlon-xp -mcpu=athlon-xp -02 -w -fomit-pointer conftest.c >&5
gcc: unrecognized option `-02'
cc1: unrecognized option `-fomit-pointer'
configure:2263: $? = 1
configure: failed program was:
| #line 2236 "configure"
| /* confdefs.h. */
 
Old 08-11-2003, 12:05 PM   #3
vexer
Member
 
Registered: Jan 2003
Location: Sudbury Ontario, Canada
Distribution: Slackware
Posts: 388

Original Poster
Rep: Reputation: 30
Ok, I realised the error, turns out if was a non-gcc package related error, /etc/profile had some flags that were unrecognised (which I noticed in the above)

-fomit-pointer = -fomit-frame-pointer
-02 = -O2 (letter not number)

problem solved :/
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Weird issue with -current... Aeiri Slackware 2 07-28-2005 10:58 PM
SWarET to Current Crash issue (never been really Answered) DreameR-X Slackware 24 12-16-2004 11:57 PM
GCC 3.3.2-6 Installation Issue Shoal Linux - Software 1 11-02-2004 07:24 PM
Current status of True Type fonts issue ronaldv General 4 10-12-2004 04:35 AM
slackware 8.1 iso vs slackware current illtbagu Slackware 9 02-26-2003 07:10 PM


All times are GMT -5. The time now is 07:54 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration