LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux > 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
 
Thread Tools
Old 10-13-2009, 07:43 AM   #1
g0hl1n
LQ Newbie
 
Registered: Oct 2009
Location: Salzburg, Austria
Distribution: Debian, CLFS
Posts: 2
Thanked: 0
[CLFS]


[Log in to get rid of this advertisement]
hello community,
today i've tried to build a clfs system for my arm (on a Overo Fire).
all worked well, until "5.12.1. Installation of GCC Cross Compiler"
the command
Code:
make AS_FOR_TARGET="${CLFS_TARGET}-as" LD_FOR_TARGET="${CLFS_TARGET}-ld"
produced following output:
Code:
checking build system type... i486-cross-linux-gnu
checking host system type... arm-unknown-linux-gnu
checking target system type... arm-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for arm-unknown-linux-gnu-strip... /mnt/clfs/cross-tools/arm-unknown-linux-gnu/bin/strip
checking for --enable-version-specific-runtime-libs... no
checking whether to enable maintainer-specific portions of Makefiles... no
checking for arm-unknown-linux-gnu-gcc... /mnt/clfs/sources/gcc-build/./gcc/xgcc -B/mnt/clfs/sources/gcc-build/./gcc/ -B/mnt/clfs/cross-tools/arm-unknown-linux-gnu/bin/ -B/mnt/clfs/cross-tools/arm-unknown-linux-gnu/lib/ -isystem /mnt/clfs/cross-tools/arm-unknown-linux-gnu/include -isystem /mnt/clfs/cross-tools/arm-unknown-linux-gnu/sys-include
checking for C compiler default output file name... configure: error: in `/mnt/clfs/sources/gcc-build/arm-unknown-linux-gnu/libmudflap':
configure: error: C compiler cannot create executables
See `config.log' for more details.
make[1]: *** [configure-target-libmudflap] Error 1
make[1]: Leaving directory `/mnt/clfs/sources/gcc-build'
make: *** [all] Error 2
the end of the config.log showed:

Code:
## ------------- ##
## Output files. ##
## ------------- ##

alphaieee_frag='/dev/null'
host_makefile_frag='../gcc-4.4.1/config/mh-x86omitfp'
ospace_frag='/dev/null'
serialization_dependencies='serdep.tmp'
target_makefile_frag='../gcc-4.4.1/config/mt-gnu'

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#endif
#ifdef __cplusplus
extern "C" void std::exit (int) throw (); using std::exit;

configure: exit 0
i have no plan why it isn't working.
the clfs root is on an internal ext3 partition with 1.5GB.

hope somebody can help.
i'm happy about every answer.

greez
g0hl1n
linux g0hl1n is offline     Reply With Quote
Old 10-14-2009, 05:01 PM   #2
ProtoformX
Member
 
Registered: Feb 2004
Location: Canada
Distribution: LFS 6.4, Slackware 10.1
Posts: 277
Thanked: 1
The only thing I can suggest is to delete the gcc_build and gcc source directory's and start from there, I have had this happened to me before and this cured it.
linux ProtoformX is offline     Reply With Quote
Old 10-19-2009, 04:04 AM   #3
g0hl1n
LQ Newbie
 
Registered: Oct 2009
Location: Salzburg, Austria
Distribution: Debian, CLFS
Posts: 2
Thanked: 0

Original Poster
Unhappy

hey.

Quote:
Originally Posted by ProtoformX View Post
The only thing I can suggest is to delete the gcc_build and gcc source directory's and start from there, I have had this happened to me before and this cured it.
so, i removed the gcc_build an gcc directory after the build failed.
then i extracted the archive again and tried building it one more time.
but the same error occurred

have i done it like you meant it?

greez
g0hl1n
linuxdebian g0hl1n is offline     Reply With Quote
Old 10-24-2009, 06:44 PM   #4
weibullguy
PackManUtil Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Cross Linux from Scratch, Gentoo
Posts: 2,343
Blog Entries: 1
Thanked: 60
Quote:
Originally Posted by g0hl1n View Post
the end of the config.log showed:
What does the portion of the config.log containing the error look like? Hint, it won't be at the end.
linux weibullguy is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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
cannot boot into my clfs sabil Linux From Scratch 0 04-16-2009 08:44 PM
chown clfs:clfs mishap Louis_Carole Linux From Scratch 4 03-21-2007 08:40 PM
clfs X setup silkenphoenixx Linux From Scratch 8 10-26-2006 01:40 PM
CLFS 1.0.0 Released mdh Linux From Scratch 1 09-30-2006 10:42 PM
CLFS Expect-5.43.0 caio53 Linux From Scratch 3 05-05-2006 08:16 AM


All times are GMT -5. The time now is 02:57 AM.

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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration