[#7329] Fail to compile netperf after toolchain update
Submitted By: Vivi Li
Open Date
2012-09-13 05:18:01
Priority:
Medium Assignee:
Bob Liu
Status:
Open Fixed In Release:
N/A
Found In Release:
N/A Release:
Category:
Make Errors Board:
N/A
Processor:
ALL Silicon Revision:
Is this bug repeatable?:
Yes Resolution:
Duplicate
Uboot version or rev.:
Toolchain version or rev.:
gcc4.3-2012_Sep_11
App binary format:
N/A
Summary: Fail to compile netperf after toolchain update
Details:
Fail to compile netperf after toolchain update.
--
/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’
bfin-uclinux-gcc -pipe -Wall -g -O2 -mcpu=bf548-0.2 -Wl,-elf2flt -mcpu=bf548-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
bfin-uclinux-gcc -pipe -Wall -g -O2 -mcpu=bf548-0.2 -Wl,-elf2flt -mcpu=bf548-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
netlib.o: In function `bind_to_specific_processor':
/home/test/work/cruise/checkouts/uclinux-dist/user/netperf/netperf-2.4.1/src/netlib.c:1725: undefined reference to `___CPU_ZERO'
/home/test/work/cruise/checkouts/uclinux-dist/user/netperf/netperf-2.4.1/src/netlib.c:1727: undefined reference to `___CPU_SET'
collect2: ld returned 1 exit status
netlib.o: In function `bind_to_specific_processor':
/home/test/work/cruise/checkouts/uclinux-dist/user/netperf/netperf-2.4.1/src/netlib.c:1725: undefined reference to `___CPU_ZERO'
/home/test/work/cruise/checkouts/uclinux-dist/user/netperf/netperf-2.4.1/src/netlib.c:1727: undefined reference to `___CPU_SET'
collect2: make[4]: *** [netperf] Error 1
ld returned 1 exit status
--
Follow-ups
--- Bob Liu 2012-10-17 05:07:35
duplicated with #7396
Files
Changes
Commits
Dependencies
Duplicates
Associations
Tags
File Name File Type File Size Posted By
No Files Were Found