On 07/11/11 20:27, Yaser Amini wrote:
Try to execute command separately
First:
CC="$LFS_TGT-gcc -B/tools/lib/" \
AR=$LFS_TGT-ar RANLIB=$LFS_TGT-ranlib
Second:
../binutils-2.21.1/configure --prefix=/tools \
--disable-nls --with-lib-path=/tools/lib
It worked for me
*From:*lfs-support-boun...@linuxfromscratch.org
[mailto:lfs-support-boun...@linuxfromscratch.org] *On Behalf Of *Danny
Vukobratovich
*Sent:* Monday, November 07, 2011 5:54 PM
*To:* LFS Support List
*Subject:* Ok, now I am having issues
I am using LFS 7.0
I am working on section 5.9 "Binutils-2.21.1a Pass 2"
I type in the first command sequence:
CC="$LFS_TGT-gcc -B/tools/lib/" \
AR=$LFS_TGT-ar RANLIB=$LFS_TGT-ranlib \
../binutils-2.21.1/configure --prefix=/tools \
--disable-nls --with-lib-path=/tools/lib
it errors out stating:
configure: error: C compiler can not create executables
I check the config.log file
Here is an exert from where the error occurs:
FATAL: kernel too old
onfigure:4180: $? = 1
configure:4217: result:
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
|
| int
| main ()
| {
| ;
| return 0:
| }
configure:4223: error: in '/mnt/lfs/sources/binutils-build':
configure:4227: error: C compiler cannot create executabables
then at the end of the file, I get:
configure: exit 77
this is a fresh installation and I have had no problems up until this
point. Thank you very much,
Danny Vukobratovich
Systems Administrator
Marian, Inc.
www.marianinc.com <http://www.marianinc.com>
Did you check the host system is compliant maybe post the output of
version script
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page