Skip to contentSkip to conversation

New: libcurl fails to compile

Buildroot bugzilla at busybox.net 1 participant 4 messages May 5, 2010 – May 6, 2010

lore
Share & tools
lore
#0 lore raw

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

Host: Kubuntu 9.10
Target: armv4
Summary: libcurl fails to compile
Product: buildroot
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: minor
Priority: P5
Component: Other
AssignedTo: unassigned at buildroot.uclibc.org
ReportedBy: keguang.zhang at gmail.com
CC: buildroot at uclibc.org
Estimated Hours: 0.0

While building libcurl with uClibc-0.9.31 and buildroot toolchain:
binutils-2.20.1 gcc-4.4.4, build fails with error:

/opt/buildroot/output/staging/usr/bin/arm-unknown-linux-uclibcgnueabi-gcc -Os
-pipe -Os -mtune=arm920t -march=armv4t -mabi=aapcs-linux -msoft-float -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/opt/buildroot/output/staging/usr/include -I/opt/buildroot/output/staging/include --sysroot=/opt/buildroot/output/staging/ -isysroot /opt/buildroot/output/staging -DHAVE_CONFIG_H -I../include -I../include -I../lib -I../lib -I/opt/buildroot/output/staging/usr/include/openssl -I/opt/buildroot/output/staging/usr/include -Os -pipe -Os -mtune=arm920t -march=armv4t -mabi=aapcs-linux -msoft-float -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -isystem /opt/buildroot/output/staging/usr/include -isystem /opt/buildroot/output/staging/include --sysroot=/opt/buildroot/output/staging/ -isysroot /opt/buildroot/output/staging -g0 -Wno-system-headers -MT file.lo -MD -MP -MF .deps/file.Tpo -c file.c -fPIC -DPIC -o .libs/file.o
In file included from setup.h:478,

                 from file.c:24:

setup_once.h:265: error: two or more data types in declaration specifiers setup_once.h:265: warning: useless type name in empty declaration
/opt/buildroot/output/staging/usr/bin/arm-unknown-linux-uclibcgnueabi-gcc -Os
-pipe -Os -mtune=arm920t -march=armv4t -mabi=aapcs-linux -msoft-float -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/opt/buildroot/output/staging/usr/include -I/opt/buildroot/output/staging/include --sysroot=/opt/buildroot/output/staging/ -isysroot /opt/buildroot/output/staging -DHAVE_CONFIG_H -I../include -I../include -I../lib -I../lib -I/opt/buildroot/output/staging/usr/include/openssl -I/opt/buildroot/output/staging/usr/include -Os -pipe -Os -mtune=arm920t -march=armv4t -mabi=aapcs-linux -msoft-float -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -isystem /opt/buildroot/output/staging/usr/include -isystem /opt/buildroot/output/staging/include --sysroot=/opt/buildroot/output/staging/ -isysroot /opt/buildroot/output/staging -g0 -Wno-system-headers -MT timeval.lo -MD -MP -MF .deps/timeval.Tpo -c timeval.c -fPIC -DPIC -o .libs/timeval.o In file included from setup.h:478,

                 from timeval.h:31,
                 from timeval.c:24:

setup_once.h:265: error: two or more data types in declaration specifiers setup_once.h:265: warning: useless type name in empty declaration make[3]: *** [timeval.lo] ?? 1
make[3]: *** ??????????....
make[3]: *** [file.lo] ?? 1
make[3]:?????? `/opt/buildroot/output/build/libcurl-7.19.2/lib' make[2]: *** [all] ?? 2
make[2]:?????? `/opt/buildroot/output/build/libcurl-7.19.2/lib' make[1]: *** [all-recursive] ?? 1
make[1]:?????? `/opt/buildroot/output/build/libcurl-7.19.2'
make: *** [/opt/buildroot/output/build/libcurl-7.19.2/.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 1687] libcurl fails to compile

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

Peter Korsgaard <[email protected]> changed:

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

--- Comment #1 from Peter Korsgaard <[email protected]> --- Strange, it builds here on ppc - Could you attach your .config please?

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 1687] libcurl fails to compile

In reply to bugzilla at busybox.net

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

--- Comment #2 from Kelvin Cheung <[email protected]> --- (In reply to comment #1)

Quoted 1 line

Strange, it builds here on ppc - Could you attach your .config please?

Sorry, it's my fault.
It's OK now.

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 1687] libcurl fails to compile

In reply to bugzilla at busybox.net

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

Peter Korsgaard <[email protected]> changed:

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

             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |INVALID

--- Comment #3 from Peter Korsgaard <[email protected]> --- Ok, closing

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.