GCC - Pass 1 Make error
Im having a hard time getting make to work on pass1. I have read the forums but cannot seem to find the exact problem. I have verified all dependencies.
below is the config.log and results of version-check.sh, directly below is the error im getting from terminal using make on gcc - any help is greatly appreciated, if i missed this in a post i apologize, but ive checked many times to resolve. ----------------------------------------------------------------- OUTPUT ERROR FROM TERMINAL DURING 'MAKE' OF GCC ----------------------------------------------------------------- make[2]: Leaving directory `/mnt/lfs/sources/gcc-build/gcc' Checking multilib configuration for libgcc... mkdir -p -- i686-lfs-linux-gnu/libgcc Configuring in i686-lfs-linux-gnu/libgcc configure: creating cache ./config.cache checking for --enable-version-specific-runtime-libs... no checking for a BSD-compatible install... /usr/bin/install -c checking for gawk... gawk checking build system type... i686-pc-linux-gnu checking host system type... i686-lfs-linux-gnu checking for i686-lfs-linux-gnu-ar... i686-lfs-linux-gnu-ar checking for i686-lfs-linux-gnu-lipo... i686-lfs-linux-gnu-lipo checking for i686-lfs-linux-gnu-nm... /mnt/lfs/sources/gcc-build/./gcc/nm checking for i686-lfs-linux-gnu-ranlib... i686-lfs-linux-gnu-ranlib checking for i686-lfs-linux-gnu-strip... i686-lfs-linux-gnu-strip checking whether ln -s works... yes checking for i686-lfs-linux-gnu-gcc... /mnt/lfs/sources/gcc-build/./gcc/xgcc -B/mnt/lfs/sources/gcc-build/./gcc/ -B/tools/i686-lfs-linux-gnu/bin/ -B/tools/i686-lfs-linux-gnu/lib/ -isystem /tools/i686-lfs-linux-gnu/include -isystem /tools/i686-lfs-linux-gnu/sys-include checking for suffix of object files... configure: error: in `/mnt/lfs/sources/gcc-build/i686-lfs-linux-gnu/libgcc': configure: error: cannot compute suffix of object files: cannot compile See `config.log' for more details. make[1]: *** [configure-target-libgcc] Error 1 make[1]: Leaving directory `/mnt/lfs/sources/gcc-build' make: *** [all] Error 2 ----------------------------------------------------------------- OUTPUT OF version-check.sh ----------------------------------------------------------------- bash, version 4.1.5(1)-release /bin/sh -> /bin/dash Binutils: (GNU Binutils for Ubuntu) 2.20.51-system.20100908 bison (GNU Bison) 2.4.1 /usr/bin/yacc -> /usr/bin/bison.yacc bzip2, Version 1.0.5, 10-Dec-2007. Coreutils: 8.5 diff (GNU diffutils) 3.0 find (GNU findutils) 4.4.2 GNU Awk 3.1.7 /usr/bin/awk -> /usr/bin/gawk gcc (Ubuntu/Linaro 4.4.4-14ubuntu4) 4.4.5 GNU C Library (Ubuntu EGLIBC 2.12.1-0ubuntu6) stable release version 2.12.1 GNU grep 2.6.3 gzip 1.3.12 Linux version 2.6.35-22-generic (buildd@rothera) (gcc version 4.4.5 (Ubuntu/Linaro 4.4.4-14ubuntu4) ) #33-Ubuntu SMP Sun Sep 19 20:34:50 UTC 2010 m4 (GNU M4) 1.4.14 GNU Make 3.81 patch 2.6 Perl version='5.10.1'; GNU sed version 4.2.1 tar (GNU tar) 1.23 Texinfo: makeinfo (GNU texinfo) 4.13 Compilation OK --------------------------------------------------------------- FINALLY, HERE IS MY CONFIG.LOG (sorry for long link) ---------------------------------------------------------------- http://www.adrive.com/public/edebbe1...a3cfa0ec4.html |
There are some problems with your dependencies
Code:
/bin/sh -> /bin/dash # should link to /bin/bash P.S.: You can attach your logs here on LQ. There is no need for external links. |
Thank you crts.
Can i use the Live CD and build the LFS in a VM? You state that 'Using Ubuntu as host is not recommended' - why is that and does that mean its not possible? I couldn't figure out how to add an attachment in this post thats why i posted an external link :-( I felt dumb, but i looked at every button when i created the post, even tried multiple browsers and O/S but i just do see the 'attach' button :-) Thanks again for taking your time, i really appreciate it. |
crts - im just going to try it with the live cd. I should be able to do that in a vm and that way i dont have to worry about the rest. kinda disappointed tho cause now i have to load up a system im only going to use to compile another system - would rather do it on my primary linux box. oh well.
|
Quote:
yes, that is possible. I have done so myself. Quote:
Quote:
Quote:
P.S.: In the future please also state which version of LFS you are trying to build. |
Why not just boot the live CD? If you are worried about how slow it will go the when you boot the cdrom pass parameters at the startup
Quote:
Good Luck! |
Ha, i knew i wasn't crazy bout the attachment, makes sense why i couldnt find it. I am giving it a go from the liveCD which is a bit slower going already (cant copy/paste from the host, but i'll try xorg) I will use the updated files as jmc suggested.
Im building LFS 6.7 - good point on mentioning the version, i had not thought of that. Thanks, you guys have been most helpful. |
The live CD has GPM installed so I should give you copy and paste fuctionallity. But you can also use the GUI that have install by typing "startx" if it fails you may have to modify the /etc/X11/xorg.conf with your driver info etc. They also include some nvidia and ati propriatary drivers as well. Good luck to you.
|
All times are GMT -5. The time now is 11:29 PM. |