[#7396] build netperf fails for undefined reference to `___CPU_ZERO'
Submitted By: Mingquan Pan
Open Date
2012-10-16 06:00:56 Close Date
2012-10-19 05:43:30
Priority:
Medium Assignee:
Bob Liu
Status:
Closed Fixed In Release:
N/A
Found In Release:
N/A Release:
Category:
N/A Board:
N/A
Processor:
BF537 Silicon Revision:
Is this bug repeatable?:
Yes Resolution:
Fixed
Uboot version or rev.:
Toolchain version or rev.:
trunk head
App binary format:
N/A
Summary: build netperf fails for undefined reference to `___CPU_ZERO'
Details:
build netperf fails for undefined reference to `___CPU_ZERO'.
/home/test/work/cruise/checkouts/uclinux-dist/user/netperf/netperf-2.4.1/src/netserver.c:689: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘long unsigned int’^M
bfin-uclinux-gcc -pipe -Wall -g -O2 -mcpu=bf537-0.2 -Wl,-elf2flt -mcpu=bf537-0.2 -o netperf netperf.o netlib.o netsh.o nettest_bsd.o nettest_dlpi.o nettest_dns.o nettest_unix.o nettest_xti.o nettest_sctp.o netcpu_none.o -lm ^M
bfin-uclinux-gcc -pipe -Wall -g -O2 -mcpu=bf537-0.2 -Wl,-elf2flt -mcpu=bf537-0.2 -o netserver netserver.o netlib.o netsh.o nettest_bsd.o nettest_dlpi.o nettest_dns.o nettest_unix.o nettest_xti.o nettest_sctp.o netcpu_none.o -lm ^M
netlib.o: In function `bind_to_specific_processor':^M
/home/test/work/cruise/checkouts/uclinux-dist/user/netperf/netperf-2.4.1/src/netlib.c:1725: undefined reference to `___CPU_ZERO'^M
/home/test/work/cruise/checkouts/uclinux-dist/user/netperf/netperf-2.4.1/src/netlib.c:1727: undefined reference to `___CPU_SET'^M
collect2: ld returned 1 exit status^M
make[5]: *** [netperf] Error 1^M
make[5]: *** Waiting for unfinished jobs....^M
netlib.o: In function `bind_to_specific_processor':^M
/home/test/work/cruise/checkouts/uclinux-dist/user/netperf/netperf-2.4.1/src/netlib.c:1725: undefined reference to `___CPU_ZERO'^M
/home/test/work/cruise/checkouts/uclinux-dist/user/netperf/netperf-2.4.1/src/netlib.c:1727: undefined reference to `___CPU_SET'^M
collect2: ld returned 1 exit status^M
make[5]: *** [netserver] Error 1^M
make[5]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/user/netperf/build-netperf-2.4.1/src'^M
make[4]: *** [install-recursive] Error 1^M
make[4]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/user/netperf/build-netperf-2.4.1'^M
make[3]: *** [all] Error 2^M
make[3]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/user/netperf'^M
make[2]: *** [netperf] Error 2^M
make[2]: *** Waiting for unfinished jobs....^M
Follow-ups
--- Bob Liu 2012-10-17 05:07:04
update to version 2.6.0
--- Vivi Li 2012-10-19 06:45:15
OK now.
Close it.
Files
Changes
Commits
Dependencies
Duplicates
Associations
Tags
File Name File Type File Size Posted By
No Files Were Found