Modify

Opened 2 years ago

Last modified 2 years ago

#19789 new defect

pptpd fails to compile with musl

Reported by: finas Owned by: developers
Priority: normal Milestone: Chaos Calmer 15.05
Component: packages Version: Trunk
Keywords: Cc:

Description

make[4]: Entering directory `/home/finas/openwrt.C5.musl/build_dir/target-mips_34kc_musl-1.1.7/pptpd-1.4.0'
make all-am
make[5]: Entering directory `/home/finas/openwrt.C5.musl/build_dir/target-mips_34kc_musl-1.1.7/pptpd-1.4.0'
mips-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I/home/finas/openwrt.C5.musl/staging_dir/target-mips_34kc_musl-1.1.7/usr/include -I/home/finas/openwrt.C5.musl/staging_dir/target-mips_34kc_musl-1.1.7/include -I/home/finas/openwrt.C5.musl/staging_dir/toolchain-mips_34kc_gcc-4.9-linaro_musl-1.1.7/usr/include -I/home/finas/openwrt.C5.musl/staging_dir/toolchain-mips_34kc_gcc-4.9-linaro_musl-1.1.7/include -Os -pipe -mno-branch-likely -mips32r2 -mtune=74kc -mdspr2 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -mips16 -minterlink-mips16 -fno-builtin -Wall -DSBINDIR='"/usr/sbin"' -c bcrelay.c
bcrelay.c: In function 'mainloop':
bcrelay.c:670:86: error: 'MSG_TRYHARD' undeclared (first use in this function)

if ((nrsent = sendto(cur_ifsnr[j].sock_nr, ipp_p, rlen, MSG_DONTWAIT|MSG_TRYHARD, (struct sockaddr *)&sa, salen)) < 0)


bcrelay.c:670:86: note: each undeclared identifier is reported only once for each function it appears in
make[5]: * [bcrelay.o] Error 1
make[5]: Leaving directory `/home/finas/openwrt.C5.musl/build_dir/target-mips_34kc_musl-1.1.7/pptpd-1.4.0'
make[4]:
* [all] Error 2
make[4]: Leaving directory `/home/finas/openwrt.C5.musl/build_dir/target-mips_34kc_musl-1.1.7/pptpd-1.4.0'
make[3]: * home/finas/openwrt.C5.musl/build_dir/target-mips_34kc_musl-1.1.7/pptpd-1.4.0/.built Error 2
make[3]: Leaving directory `/home/finas/openwrt.C5.musl/feeds/packages/net/pptpd'
make[2]:
* [package/feeds/packages/pptpd/compile] Error 2
make[2]: Leaving directory `/home/finas/openwrt.C5.musl'
make[1]: * home/finas/openwrt.C5.musl/staging_dir/target-mips_34kc_musl-1.1.7/stamp/.package_compile Error 2
make[1]: Leaving directory `/home/finas/openwrt.C5.musl'
make:
* [world] Error 2

Attachments (0)

Change History (1)

comment:1 Changed 2 years ago by finas

fixed in latest trunk

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.