Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
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.


  Search this Thread
Old 09-13-2003, 12:47 AM   #1
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


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
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 245Reputation: 245Reputation: 245
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
Registered: Jun 2003
Posts: 30

Rep: Reputation: 15

make configure-host
make LDFLAGS="-all-static"

do this way u will be able to complete it


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
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 > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 05:49 PM.

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