On 30/01/10 14:05, linux fan wrote:
> On 1/30/10, Andrew Benton<[email protected]>  wrote:
>>
>> The fix is to install glibc. It will overwrite the kernels scsi/scsi.h
>> with a version that works with other software
>>
>
> Fix?
> I have been led to believe that installing glibc after LFS chapter 6
> was like shooting yourself in the foot to see if that will make it
> better.

Yes, you're right. Sorry. I should have been more diplomatic. But from 
your error it looks as though HAL is seeing the raw kernel version of 
scsi/scsi.h, so either you didn't install glibc (like the busybox people 
you mentioned - they use uClibc) or (more likely) you've reinstalled the 
kernel headers and overwritten the nice one that glibc installed. If I 
were you I'd start again, but if that doesn't suit you, try reinstalling 
glibc into a folder in your home and copy the include/scsi/scsi.h file 
into /usr (backup a copy of the file you're replacing). If that doesn't 
work, try fixing the kernel header. Does this help?

sed -i 's/\tu8/\t__u8/' /usr/include/scsi/scsi.h

Andy
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to