Glibc make fails with Error 2

Kyle Brennan kyle_bren at live.com
Sun May 23 19:05:43 PDT 2010


On 05/23/2010 06:49 PM, Bruce Dubbs wrote:
> Kyle Brennan wrote:
>    
>> On 05/23/2010 06:07 PM, Bruce Dubbs wrote:
>>      
>>> Kyle Brennan wrote:
>>>
>>>
>>>        
>>>> /mnt/lfs/tools/bin/../lib/gcc/i686-lfs-linux-gnu/4.4.3/../../../../i686-lfs-linux-gnu/bin/ld:
>>>>
>>>>          
>>>
>>>        
>>>> cannot find -lgcc_eh
>>>>
>>>>          
>>> It looks like a problem with the gcc build. You should have:
>>>
>>> /mnt/lfs/tools/gcc/x86_64-unknown-linux-gnu/4.4.3/libgcc_eh.a or
>>> /mnt/lfs/tools/gcc/i686-pc-linux-gnu/4.4.3/libgcc_eh.a
>>>
>>>      -- Bruce
>>>
>>>
>>>        
>> I got it from the tarball that was on the linux from scratch site.
>> there may be a problem with my host system.  because when i was building
>> in the tools directory I did not reinstall.  there may be a error there
>> because there is supposed to be a symlink there right? so if that is
>> correct, I would need to fix my host system.
>>      
> There wouldn't be a problem as long as you didn't install anything over
> a file in the /usr tree, but I suggest you delete /tools and any
> subdirectories in /mnt/lfs/sources and completely and start over.
>
>     -- Bruce
>    
Just an update now that I checked, I do have some directories in the 
$LFS/tools directory.  I will remove them and try building it all again.



More information about the lfs-support mailing list