New: portmap fails to compile
https://bugs.busybox.net/show_bug.cgi?id=1591
Host: Kubuntu 9.10
Target: armv4
Summary: portmap 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 openssl with uClibc-0.9.31 and buildroot toolchain:
binutils-2.20.1 gcc-4.4.3, build fails with error:
touch /opt/buildroot/output/build/portmap_5beta/.unpacked/usr/bin/make -j2
CC=/opt/buildroot/output/staging/usr/bin/arm-linux-uclibcgnueabi-gcc O="-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"
-C /opt/buildroot/output/build/portmap_5beta
make[1]: ?????? `/opt/buildroot/output/build/portmap_5beta' /opt/buildroot/output/staging/usr/bin/arm-linux-uclibcgnueabi-gcc
-Dperror=xperror -DCHECK_PORT -DFACILITY=LOG_AUTH -DIGNORE_SIGCHLD
-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
-c -o portmap.o portmap.c/opt/buildroot/output/staging/usr/bin/arm-linux-uclibcgnueabi-gcc
-Dperror=xperror -DCHECK_PORT -DFACILITY=LOG_AUTH -DIGNORE_SIGCHLD
-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
-c -o pmap_check.o pmap_check.c/opt/buildroot/output/staging/usr/bin/arm-linux-uclibcgnueabi-gcc
-Dperror=xperror -DCHECK_PORT -DFACILITY=LOG_AUTH -DIGNORE_SIGCHLD
-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
-c -o from_local.o from_local.c/opt/buildroot/output/staging/usr/bin/arm-linux-uclibcgnueabi-gcc
-Dperror=xperror -DCHECK_PORT -DFACILITY=LOG_AUTH -DIGNORE_SIGCHLD
-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
-o pmap_dump pmap_dump.c -lutil /opt/buildroot/output/staging/usr/bin/../lib/gcc/arm-linux-uclibcgnueabi/4.4.3/../../../../arm-linux-uclibcgnueabi/bin/ld:
cannot find -lutil
collect2: ld returned 1 exit status
make[1]: *** [pmap_dump] ?? 1
make[1]:?????? `/opt/buildroot/output/build/portmap_5beta'
make: *** [/opt/buildroot/output/build/portmap_5beta/portmap] ?? 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.
[Buildroot] [Bug 1591] portmap fails to compile
https://bugs.busybox.net/show_bug.cgi?id=1591
--- Comment #1 from Kelvin Cheung <[email protected]> 2010-04-16 09:38:52 UTC --- (In reply to comment #0)
I found libutil is disabled in the default configuration (toolchain/uClibc/uClibc-0.9.31.config)
...
# UCLIBC_HAS_GETPT is not set
# UCLIBC_HAS_LIBUTIL is not set
UCLIBC_HAS_TM_EXTENSIONS=y
...
Maybe we could enable it by default.
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.
[Buildroot] [Bug 1591] portmap fails to compile
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=1591
--- Comment #2 from Kelvin Cheung <[email protected]> 2010-04-19 01:26:49 UTC --- Created an attachment (id=1531)
--> (https://bugs.busybox.net/attachment.cgi?id=1531)
Enable libutil by default for uclibc 0.9.31
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.
[Buildroot] [Bug 1591] portmap fails to compile
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=1591
Peter Korsgaard <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED--- Comment #3 from Peter Korsgaard <[email protected]> 2010-04-19 07:11:01 UTC --- Thanks, but this is already done in git since yesterday (see bug #1555)
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.
[Buildroot] [Bug 1591] portmap fails to compile
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=1591
--- Comment #4 from Kelvin Cheung <[email protected]> 2010-04-19 07:19:25 UTC --- (In reply to comment #3)
Quoted 2 lines
Thanks, but this is already done in git since yesterday (see bug #1555)
I updated to the newest version just now.
But the libutil is still disabled in the default configuration.
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.
[Buildroot] [Bug 1591] portmap fails to compile
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=1591
--- Comment #5 from Peter Korsgaard <[email protected]> 2010-04-19 09:21:48 UTC --- (In reply to comment #4)
Quoted 6 lines
(In reply to comment #3)
Quoted 2 lines
Thanks, but this is already done in git since yesterday (see bug #1555)
I updated to the newest version just now.
But the libutil is still disabled in the default configuration.
Sorry, I mixed up the libresolv / libutil patches - Committed 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.