[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: when executing the command "make", there is a mistake?!
From: |
Tony Theodore |
Subject: |
Re: when executing the command "make", there is a mistake?! |
Date: |
Tue, 23 Aug 2016 19:11:55 +1000 |
> On Wed, 2016-08-17 at 06:26 +0000, zhi zunbao wrote:
>> i wanna build a linux according to the lfs 7.7.
>>
>>
>> afte i execute the code below:
>>
>> chroot "$LFS" /tools/bin/env -i \
>> HOME=/root \
>> TERM="$TERM" \
>> PS1='\u:\w\$ ' \
>> PATH=/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin \
>> /tools/bin/bash --login +h
>>
>>
>> i enter the new linux, but when i execute any "make" command (except
>> ”make --help“), it shows "Segmentation fault"
I haven’t seen that exact error, but do see weird issues when either LANG
or LC_ALL isn’t set (depending on system). Make also uses env vars to
communicate with sub-makes so you need to be careful when using “env -i”.
Cheers,
Tony