Skip to contentSkip to conversation

New: OpenSSL0.9.8n fails to compile

Buildroot bugzilla at busybox.net 1 participant 6 messages Mar 31, 2010 – Apr 2, 2010

lore
Share & tools
lore
#0 lore raw

https://bugs.busybox.net/show_bug.cgi?id=1453

Host: Archlinux i686
Target: AT91RM9200 based board
Summary: OpenSSL0.9.8n fails to compile
Product: buildroot
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: major
Priority: P5
Component: Other
AssignedTo: unassigned at buildroot.uclibc.org
ReportedBy: nnazarenko at radiofid.ru
CC: buildroot at uclibc.org
Estimated Hours: 0.0

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

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#1 lore raw

[Buildroot] [Bug 1453] OpenSSL0.9.8n fails to compile

https://bugs.busybox.net/show_bug.cgi?id=1453

--- Comment #1 from Nazarenko Nikita <[email protected]> 2010-03-31 13:58:17 UTC --- Workaround:
Add UCLIBC_SUSv3_LEGACY=y string to output/toolchain/uClibc-0.9.30.3/.config

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#2 lore raw

[Buildroot] [Bug 1453] OpenSSL0.9.8n fails to compile

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=1453

Peter Korsgaard <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED

--- Comment #2 from Peter Korsgaard <[email protected]> 2010-03-31 14:45:42 UTC --- Strange, (In reply to comment #0)

Quoted 5 lines

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)

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#3 lore raw

[Buildroot] [Bug 1453] OpenSSL0.9.8n fails to compile

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=1453

--- Comment #3 from Nazarenko Nikita <[email protected]> 2010-03-31 15:53:02 UTC --- Ok, I'll check patch applying on my system. Thanks.

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#4 lore raw

[Buildroot] [Bug 1453] OpenSSL0.9.8n fails to compile

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=1453

--- Comment #4 from Nazarenko Nikita <[email protected]> 2010-04-02 14:03:45 UTC --- (In reply to comment #3)

Quoted 2 lines

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

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#5 lore raw

[Buildroot] [Bug 1453] OpenSSL0.9.8n fails to compile

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=1453

Nazarenko Nikita <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |INVALID

--- Comment #5 from Nazarenko Nikita <[email protected]> 2010-04-02 15:10:45 UTC --- It is problem with my local changes.
Not a bug

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.