Preparing binutils-2.14 for compiliation on Linux 2.4 20-8 RH9 desktop

Barry Sharpe bsharpe at cre.gov.uk
Mon Feb 2 03:22:49 PST 2004


Error : Too many levels of symbolic links.

This may have more to do with an unstable host OS. I am getting odd errors with gnome especially when i try to access a terminal window which on some occations just reboots the computer or i lose the desktop.
However, the OS has become unstable since working on the LFS project, so it may be that this error is affecting the desktop. As i intend to use the LFS OS i am hoping to keep RH9 alive until i am in a position to ditch it.

On attempt to prepare binutils for compare i get the following message:

loading cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
gcc: installation problem, cannot exec 'as': Too many levels of symbolic links
***The command 'gcc -o conftest -02   conftest.c' failed.
***You must set the environment variable CC to a working compiler.

I issued the su - lfs command the .bash_profile script for this user is.
set +h
unmask 022
LFS=/mnt/lfs
LC_ALL=POSIX
PATH=/tools/bin:$PATH
export LFS LC_ALL PATH
unset CC CXX CPP LD_LIBRARY_PATH LD_PRELOAD

i have also tried su - lfs with the following lines added as i found in various internet searches.

LFS=/2
LDFLAGS="-s"

i have tried to troubleshoot this a little bit further and come to an interesting impass when i try to meerly cd into the tools symbolic link directory which is located in 
/home/lfs/tools i get

bash: cd: tools: Too many levels of symbolic links.

is the compiler trying to do the same thing? i have issued the pwd -P in the lfs home directory all it shows is 
/home/lfs

finaly the echo $PATH gives me 
/tools/bin:/bin:/usr/bin:usr/local/bin:/usr/bin/X11:/usr/x11R6/bin
 
I have done some searches in the archives and have seen this symptom. but the solutions do not appear to work in this instance. This could be me as i am a newbie.
 
Thanks for any insights? 
Barry 



**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

postmaster at cre.gov.uk

**********************************************************************




More information about the lfs-support mailing list