LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 09-13-2003, 12:47 AM   #1
matt_w_lambert
Member
 
Registered: Jan 2003
Location: WA
Distribution: Red Hat 9.0, mandrake 9.2
Posts: 194

Rep: Reputation: 30
help with compiling error


I am trying to compile binutils staticly so i do

../binutils-2.13.3/configure --prefix=$LFS/static --sisable-nls

then


make LDFLAGS="-all-static"

but i get the error

[root@localhost binutils-build]# make LDFLAGS="-all-static"
Configuring in intl
loading cache .././config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking how to run the C preprocessor... gcc -s -E
checking whether make sets ${MAKE}... yes
checking for gcc... gcc -s
checking whether the C compiler (gcc -s -g -O2 -all-static) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.
make: *** [configure-intl] Error 1


is there any other way?
 
Old 09-13-2003, 10:50 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Moved: More suitable in the LFS forum where you'll probably get more responses regarding your issue, etc.
 
Old 09-13-2003, 12:31 PM   #3
rahul_jain_9684
Member
 
Registered: Jun 2003
Posts: 30

Rep: Reputation: 15
do

./conf.............................
make configure-host
make LDFLAGS="-all-static"
..........

do this way u will be able to complete it
 
  


Reply



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
Error while Compiling X shashir Linux - Software 1 09-03-2005 06:36 PM
[C++] Compiling error Ossar Programming 2 06-10-2005 03:32 PM
error compiling Qt 3.3.1 cyberfunk Linux - General 0 04-20-2004 08:27 PM
compiling error demmylls Linux - General 15 12-29-2003 12:31 AM
Compiling Error!! teeno Programming 3 08-20-2001 03:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 11:16 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration