While building openssl with uClibc 0.9.30.3 and buildroot toolchain: binutils-2.20 gcc-4.3.3, build fails with error: home/savant/devel/irz/buildroot/output/staging/usr/bin/arm-linux-uclibcgnueabi-gcc -DMONOLITH -I.. -I../include -fPIC -DOPENSSL_PIC -DZLIB_SHARED -DZLIB -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DTERMIO -Os -pipe -Os -I/home/savant/devel/irz/buildroot/output/staging/usr/include -I/home/savant/devel/irz/buildroot/output/staging/include --sysroot=/home/savant/devel/irz/buildroot/output/staging/ -isysroot /home/savant/devel/irz/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 speed.o speed.c speed.c:147:23: error: sys/timeb.h: No such file or directory speed.c: In function 'Time_F': speed.c:459: error: storage size of 'tstart' isn't known speed.c:459: error: storage size of 'tend' isn't known speed.c:465: warning: implicit declaration of function 'ftime' speed.c:459: warning: unused variable 'tend' speed.c:459: warning: unused variable 'tstart' make[2]: *** [speed.o] Ошибка 1 make[2]: Leaving directory `/home/savant/devel/irz/buildroot/output/build/openssl-0.9.8n/apps' make[1]: *** [build_apps] Ошибка 1 make[1]: Leaving directory `/home/savant/devel/irz/buildroot/output/build/openssl-0.9.8n' make: *** [/home/savant/devel/irz/buildroot/output/build/openssl-0.9.8n/.stamp_built] Ошибка 2
Workaround: Add UCLIBC_SUSv3_LEGACY=y string to output/toolchain/uClibc-0.9.30.3/.config
Strange, (In reply to comment #0) > While building openssl with uClibc 0.9.30.3 and buildroot toolchain: > binutils-2.20 gcc-4.3.3, build fails with error: > > -D_FILE_OFFSET_BITS=64 -fomit-frame-pointer -Wall -c -o speed.o speed.c > speed.c:147:23: error: sys/timeb.h: No such file or directory Strange, that should get fixed by package/openssl/openssl-uclibc-susv3-legacy.patch - Doesn't that get applied on your system? (check output/build/openssl-0.9.8n/.applied_patches_list) It builds here (arm926, gcc 4.3.4, binutils 2.20.1, kernel 2.6.33.1)
Ok, I'll check patch applying on my system. Thanks.
(In reply to comment #3) > Ok, I'll check patch applying on my system. Thanks. > did you try to make clean and build again? it seems like I have problem with makefiles. Target .stamp_patched only touch .stamp_patched and nothing more
It is problem with my local changes. Not a bug