Is it just me? There seems to be a problem with linux/errno.h. Adding this to Jim's script fixed it for me (sorry if the lines get wrapped in the mail)

echo "#ifndef _LINUX_ERRNO_H" > linux-headers-$VERSION/include/linux/errno.h
unifdef -U_ASM_GENERIC_ERRNO_BASE_H linux-headers-$VERSION/include/asm-generic/errno-base.h >> linux-headers-$VERSION/include/linux/errno.h sed -i 's,_ASM_GENERIC_ERRNO_BASE_H,_LINUX_ERRNO_H,' linux-headers-$VERSION/include/linux/errno.h unifdef -U_ASM_GENERIC_ERRNO_H linux-headers-$VERSION/include/asm-generic/errno.h >> linux-headers-$VERSION/include/linux/errno.h sed -i 's,-generic/errno-base,/errno,' linux-headers-$VERSION/include/linux/errno.h sed -i 's,#define _ASM_GENERIC_ERRNO_H,,' linux-headers-$VERSION/include/linux/errno.h
echo "#endif" >> linux-headers-$VERSION/include/linux/errno.h

Andy
--
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to