1.编译wget时出现 gen

sslfunc.c:(.text+0x351): undefined reference to `SSLv2client_method'

解决方法:在文件ltib/dist/lfs-5.1/wget/wget.spec中增加--without-ssl,不编译ssl相关代码

LTIB "Failed building wget" undefined reference to `SSLv2clientmethod'

2.编译sparse时出现 parse.h:63:22: error: duplicate member 'label_statement'

解决:删掉label arg结构体即可,为了方法做成patch文件,加入spec文件,让其自动应用且编译。

ltib breaks up due to parse.h:63:22

3.编译时出现elftosb fatal error: /usr/include/sys/types.h

解决:libc6-dev中有types.h文件,但目录在/usr/include/i386-linux-gnu/sys/types.h,所以创建一个软链接到/usr/include/sys就可以了。