Bug 1909 - netperf-2.4.5 fails to build because of undeclared SOCK_DCCP
Summary: netperf-2.4.5 fails to build because of undeclared SOCK_DCCP
Status: RESOLVED FIXED
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: PC Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-02 16:41 UTC by jsteckli
Modified: 2010-06-02 19:03 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jsteckli 2010-06-02 16:41:02 UTC
Checkout git HEAD.

> make menuconfig
 (enable netperf in packages)
> make
[...]

if /home/julian/src/linux-dev/buildroot2/output/staging/usr/bin/i686-unknown-linux-uclibc-gcc -Os -pipe -Os  -mtune=i686 -march=i686 -I/home/julian/src/linux-dev/buildroot2/output/staging/usr/include -I/home/julian/src/linux-dev/buildroot2/output/staging/include --sysroot=/home/julian/src/linux-dev/buildroot2/output/staging/ -isysroot /home/julian/src/linux-dev/buildroot2/output/staging -DHAVE_CONFIG_H -I. -I. -I..     -Os -pipe -Os  -mtune=i686 -march=i686 -I/home/julian/src/linux-dev/buildroot2/output/staging/usr/include -I/home/julian/src/linux-dev/buildroot2/output/staging/include --sysroot=/home/julian/src/linux-dev/buildroot2/output/staging/ -isysroot /home/julian/src/linux-dev/buildroot2/output/staging -MT netsh.o -MD -MP -MF ".deps/netsh.Tpo" \
	  -c -o netsh.o `test -f 'netsh.c' || echo './'`netsh.c; \
	then mv -f ".deps/netsh.Tpo" ".deps/netsh.Po"; \
	else rm -f ".deps/netsh.Tpo"; exit 1; \
	fi
netsh.c: In function 'parse_protocol':
netsh.c:457: error: 'SOCK_DCCP' undeclared (first use in this function)
netsh.c:457: error: (Each undeclared identifier is reported only once
netsh.c:457: error: for each function it appears in.)
make[4]: *** [netsh.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory `/home/julian/src/linux-dev/buildroot2/output/build/netperf-2.4.5/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/julian/src/linux-dev/buildroot2/output/build/netperf-2.4.5/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/julian/src/linux-dev/buildroot2/output/build/netperf-2.4.5'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/julian/src/linux-dev/buildroot2/output/build/netperf-2.4.5'
make: *** [/home/julian/src/linux-dev/buildroot2/output/build/netperf-2.4.5/.stamp_built] Error 2
Comment 1 Peter Korsgaard 2010-06-02 19:03:39 UTC
Fixed in git, thanks