While building openssl with uClibc-0.9.31 and buildroot toolchain: binutils-2.20.1 gcc-4.4.3, build fails with error: /opt/buildroot/output/staging/usr/bin/arm-linux-uclibcgnueabi-gcc -I.. -I../.. -I../../include -fPIC -DOPENSSL_PIC -DZLIB_SHARED -DZLIB -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DTERMIO -Os -pipe -Os -I/opt/buildroot/output/staging/usr/include -I/opt/buildroot/output/staging/include --sysroot=/opt/buildroot/output/staging/ -isysroot /opt/buildroot/output/staging -mtune=arm920t -march=armv4t -mabi=aapcs-linux -msoft-float -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fomit-frame-pointer -Wall -c -o bss_dgram.o bss_dgram.c bss_dgram.c: In function 'dgram_ctrl': bss_dgram.c:433: error: 'IPV6_PMTUDISC_DO' undeclared (first use in this function) bss_dgram.c:433: error: (Each undeclared identifier is reported only once bss_dgram.c:433: error: for each function it appears in.) bss_dgram.c:434: error: 'IPV6_MTU_DISCOVER' undeclared (first use in this function) bss_dgram.c:474: error: 'IPV6_MTU' undeclared (first use in this function) make[3]: *** [bss_dgram.o] 错误 1 make[2]: *** [subdirs] 错误 1 make[1]: *** [build_crypto] 错误 1 make: *** [/opt/buildroot/output/build/openssl-0.9.8n/.stamp_built] 错误 2make[3]:正在离开目录 `/opt/buildroot/output/build/openssl-0.9.8n/crypto/bio' make[2]:正在离开目录 `/opt/buildroot/output/build/openssl-0.9.8n/crypto' make[1]:正在离开目录 `/opt/buildroot/output/build/openssl-0.9.8n'
Fixed in git (65e209ca)