[Olsr-dev] [PATCH] plugins: fix build with musl

Ferry Huberts (spam-protected)
Fri May 15 21:28:48 CEST 2015


This breaks the android build, please fix asap

On 15/05/15 20:37, Daniel Golle wrote:
> Hi Saverio,
>
> On Fri, May 15, 2015 at 08:07:19PM +0200, Saverio Proto wrote:
>> Hello Daniel,
>>
>> I think you can push this patch to olsrd master branch in git.
>> the git repository is open for commit without authentication.
>
> Done so. Thanks.
>
>
> Cheers
>
>
> Daniel
>


Started by an SCM change
Building in workspace /var/lib/jenkins/workspace/olsrd_master_android
  > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
  > git config remote.origin.url git://olsr.org/olsrd.git # timeout=10
Pruning obsolete local branches
Fetching upstream changes from git://olsr.org/olsrd.git
  > git --version # timeout=10
  > git -c core.askpass=true fetch --tags --progress 
git://olsr.org/olsrd.git +refs/heads/*:refs/remotes/origin/* --prune
  > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
  > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision 0cda678c41f2424f0496405088b8e53148a21f1e 
(refs/remotes/origin/master)
  > git config core.sparsecheckout # timeout=10
  > git checkout -f 0cda678c41f2424f0496405088b8e53148a21f1e
  > git rev-list 44b80f7fc03a2db5b0b82ae496bbc78b38aaad92 # timeout=10
Cleaning workspace
  > git rev-parse --verify HEAD # timeout=10
Resetting working tree
  > git reset --hard # timeout=10
  > git clean -fdx # timeout=10
[olsrd_master_android] $ /bin/bash /tmp/hudson433704335310018739.sh
[CREATE] builddata.txt
[CC] src/builddata.c
make[1]: Entering directory 
'/var/lib/jenkins/workspace/olsrd_master_android/src/cfgparser'
[CC] olsrd_conf.c
[BISON] oparse.c
[CC] oparse.c
[FLEX] oscan.c
[CC] oscan.c
[CC] cfgfile_gen.c
[CC] ../ipcalc.c
[CC] ../common/autobuf.c
[LD] olsrd_cfgparser
make[1]: Leaving directory 
'/var/lib/jenkins/workspace/olsrd_master_android/src/cfgparser'
make[1]: Entering directory 
'/var/lib/jenkins/workspace/olsrd_master_android/src/cfgparser'
install -D -m 755 olsrd_cfgparser 
/var/lib/jenkins/workspace/olsrd_master_android/dist/debug/lib/olsrd_cfgparser
/sbin/ldconfig -n 
/var/lib/jenkins/workspace/olsrd_master_android/dist/debug/lib
make[1]: Leaving directory 
'/var/lib/jenkins/workspace/olsrd_master_android/src/cfgparser'
make[1]: Entering directory 
'/var/lib/jenkins/workspace/olsrd_master_android/src/cfgparser'
rm -f *.[od~] olsrd_cfgparser.so.0.1 olsrd_cfgparser oscan.c oscan.c-tmp 
oparse.c oparse.c-tmp oparse.h oparse.h-tmp
make[1]: Leaving directory 
'/var/lib/jenkins/workspace/olsrd_master_android/src/cfgparser'
rm -f src/common/autobuf.o src/common/list.o src/common/avl.o 
src/process_routes.o src/net_olsr.o src/mpr_selector_set.o src/parser.o 
src/packet.o src/generate_msg.o src/ipcalc.o src/gateway.o 
src/routing_table.o src/duplicate_set.o src/lq_mpr.o src/hna_set.o 
src/olsr_spf.o src/mantissa.o src/scheduler.o src/duplicate_handler.o 
src/interfaces.o src/olsr_cookie.o src/gateway_costs.o 
src/gateway_default_handler.o src/build_msg.o 
src/two_hop_neighbor_table.o src/fpm.o src/lq_plugin_default_ffeth.o 
src/lq_plugin_default_float.o src/hysteresis.o src/process_package.o 
src/egressFile.o src/main.o src/hashing.o src/olsr.o src/ipc_frontend.o 
src/plugin_loader.o src/lq_plugin_default_ff.o src/rebuild_packet.o 
src/tc_set.o src/lq_plugin.o src/gateway_list.o src/olsr_niit.o 
src/lq_packet.o src/lq_plugin_default_fpm.o src/mid_set.o 
src/builddata.o src/neighbor_table.o src/link_set.o src/plugin_util.o 
src/mpr.o src/linux/net.o src/linux/kernel_routes_nl.o 
src/linux/kernel_tunnel.o src/linux/apm.o 
src/linux/lq_plugin_ffeth_nl80211.o src/linux/nl80211_link_info.o 
src/unix/log.o src/unix/misc.o src/unix/ifnet.o 
src/cfgparser/olsrd_conf.o src/cfgparser/oparse.o src/cfgparser/oscan.o 
src/cfgparser/cfgfile_gen.o src/cfgparser/olsrd_conf.o 
src/cfgparser/oparse.o src/cfgparser/oscan.o src/cfgparser/cfgfile_gen.o 
src/common/autobuf.d src/common/list.d src/common/avl.d 
src/process_routes.d src/net_olsr.d src/mpr_selector_set.d src/parser.d 
src/packet.d src/generate_msg.d src/ipcalc.d src/gateway.d 
src/routing_table.d src/duplicate_set.d src/lq_mpr.d src/hna_set.d 
src/olsr_spf.d src/mantissa.d src/scheduler.d src/duplicate_handler.d 
src/interfaces.d src/olsr_cookie.d src/gateway_costs.d 
src/gateway_default_handler.d src/build_msg.d 
src/two_hop_neighbor_table.d src/fpm.d src/lq_plugin_default_ffeth.d 
src/lq_plugin_default_float.d src/hysteresis.d src/process_package.d 
src/egressFile.d src/main.d src/hashing.d src/olsr.d src/ipc_frontend.d 
src/plugin_loader.d src/lq_plugin_default_ff.d src/rebuild_packet.d 
src/tc_set.d src/lq_plugin.d src/gateway_list.d src/olsr_niit.d 
src/lq_packet.d src/lq_plugin_default_fpm.d src/mid_set.d 
src/builddata.d src/neighbor_table.d src/link_set.d src/plugin_util.d 
src/mpr.d src/linux/net.d src/linux/kernel_routes_nl.d 
src/linux/kernel_tunnel.d src/linux/apm.d 
src/linux/lq_plugin_ffeth_nl80211.d src/linux/nl80211_link_info.d 
src/unix/log.d src/unix/misc.d src/unix/ifnet.d 
src/cfgparser/olsrd_conf.d src/cfgparser/oparse.d src/cfgparser/oscan.d 
src/cfgparser/cfgfile_gen.d olsrd olsrd.exe src/builddata.c 
src/cfgparser/oscan.c src/cfgparser/oscan.c-tmp src/cfgparser/oparse.c 
src/cfgparser/oparse.c-tmp src/cfgparser/oparse.h src/cfgparser/oparse.h-tmp
rm -f libolsrd.a
rm -f olsr_switch.exe
rm -f gui/win32/Main/olsrd_cfgparser.lib
rm -f olsr-setup.exe
rm -fr gui/win32/Main/Release
rm -fr gui/win32/Shim/Release
for dir in arprefresh bmf dot_draw dyn_gw dyn_gw_plain httpinfo jsoninfo 
mdns mini nameservice p2pd pgraph pud quagga secure sgwdynspeed txtinfo 
watchdog;do make OS="linux" WARNINGS="-Wall -Wextra 
-Wold-style-definition -Wdeclaration-after-statement 
-Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations 
-Wsign-compare -Waggregate-return -Wmissing-noreturn 
-Wmissing-format-attribute -Wno-multichar -Wno-deprecated-declarations 
-Wendif-labels -Wwrite-strings -Wbad-function-cast -Wpointer-arith 
-Wcast-qual -Wshadow -Wformat -Wsequence-point -Wcast-align 
-Wformat-security -Wformat-y2k -Werror=format-security -Winit-self 
-Wswitch-default -Wsync-nand -Wundef -Wlogical-op -Wdouble-promotion 
-Wjump-misses-init -Wtrampolines -Wunused-parameter -Wnested-externs 
-Winline -Wdisabled-optimization -finline-functions-called-once 
-funit-at-a-time -fearly-inlining -finline-limit=350" VERBOSE="0" 
SANITIZE_ADDRESS="0" -C lib/$dir LIBDIR=/usr/local/lib clean;rm -f 
lib/$dir/*.so lib/$dir/*.dll;done
make[1]: Entering directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/arprefresh'
rm -f src/olsrd_arprefresh.o src/olsrd_arprefresh.d olsrd_arprefresh.so.0.1
make[1]: Leaving directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/arprefresh'
make[1]: Entering directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/bmf'
rm -f src/olsrd_plugin.o src/NetworkInterfaces.o src/PacketHistory.o 
src/Address.o src/Packet.o src/Bmf.o src/olsrd_plugin.d 
src/NetworkInterfaces.d src/PacketHistory.d src/Address.d src/Packet.d 
src/Bmf.d olsrd_bmf.so.1.7.0
make[1]: Leaving directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/bmf'
make[1]: Entering directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/dot_draw'
rm -f src/olsrd_plugin.o src/olsrd_dot_draw.o src/olsrd_plugin.d 
src/olsrd_dot_draw.d olsrd_dot_draw.so.0.3
make[1]: Leaving directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/dot_draw'
make[1]: Entering directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/dyn_gw'
rm -f src/olsrd_plugin.o src/olsrd_dyn_gw.o src/olsrd_plugin.d 
src/olsrd_dyn_gw.d olsrd_dyn_gw.so.0.5
make[1]: Leaving directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/dyn_gw'
make[1]: Entering directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/dyn_gw_plain'
rm -f src/olsrd_dyn_gw_plain.o src/olsrd_dyn_gw_plain.d 
olsrd_dyn_gw_plain.so.0.4
make[1]: Leaving directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/dyn_gw_plain'
make[1]: Entering directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/httpinfo'
rm -f src/olsrd_plugin.o src/olsrd_httpinfo.o src/admin_interface.o 
../../src/cfgparser/cfgfile_gen.o src/olsrd_plugin.d 
src/olsrd_httpinfo.d src/admin_interface.d olsrd_httpinfo.so.0.1
make[1]: Leaving directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/httpinfo'
make[1]: Entering directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/jsoninfo'
rm -f src/olsrd_plugin.o src/olsrd_jsoninfo.o src/olsrd_plugin.d 
src/olsrd_jsoninfo.d olsrd_jsoninfo.so.0.0
make[1]: Leaving directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/jsoninfo'
make[1]: Entering directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/mdns'
rm -f src/olsrd_plugin.o src/NetworkInterfaces.o src/Address.o 
src/RouterElection.o src/Packet.o src/mdns.o src/olsrd_plugin.d 
src/NetworkInterfaces.d src/Address.d src/RouterElection.d src/Packet.d 
src/mdns.d olsrd_mdns.so.1.0.1
make[1]: Leaving directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/mdns'
make[1]: Entering directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/mini'
rm -f src/olsrd_plugin.o src/olsrd_plugin.d olsrd_mini.so.0.1
make[1]: Leaving directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/mini'
make[1]: Entering directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/nameservice'
rm -f src/olsrd_plugin.o src/mapwrite.o src/compat.o src/nameservice.o 
src/olsrd_plugin.d src/mapwrite.d src/compat.d src/nameservice.d 
olsrd_nameservice.so.0.3
make[1]: Leaving directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/nameservice'
make[1]: Entering directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/p2pd'
rm -f src/olsrd_plugin.o src/NetworkInterfaces.o src/PacketHistory.o 
src/dllist.o src/p2pd.o src/Packet.o src/olsrd_plugin.d 
src/NetworkInterfaces.d src/PacketHistory.d src/dllist.d src/p2pd.d 
src/Packet.d olsrd_p2pd.so.0.1.0
make[1]: Leaving directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/p2pd'
make[1]: Entering directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/pgraph'
rm -f src/olsrd_pgraph.o src/olsrd_pgraph.d olsrd_pgraph.so.1.1
make[1]: Leaving directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/pgraph'
make[1]: Entering directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/pud'
[clean]
make[2]: Entering directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/pud/doc'
[clean] doc
rm -fr "doxygen.conf.temp" "html" "latex" "man" "olsrd_pud.pdf"
make[2]: Leaving directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/pud/doc'
make[2]: Entering directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/pud/nmealib'
make[3]: Entering directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/pud/nmealib/doc'
make[3]: Leaving directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/pud/nmealib/doc'
make[2]: Leaving directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/pud/nmealib'
make[2]: Entering directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/pud/wireformat'
make[3]: Entering directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/pud/wireformat/doc'
echo "[clean]"
[clean]
rm -fr "html" "latex" "man" "doxygen.conf.temp" "libOlsrdPudWireFormat.pdf"
make[3]: Leaving directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/pud/wireformat/doc'
[clean]
make[2]: Leaving directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/pud/wireformat'
make[2]: Entering directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/pud/wireformat-java'
make[3]: Entering directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/pud/wireformat-java/doc'
[clean]
rm -fr "javadoc" "html" "latex" "man" \
         "doxygen.conf.temp" "libOlsrdPudWireFormatJava.pdf"
make[3]: Leaving directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/pud/wireformat-java/doc'
[clean]
make[2]: Leaving directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/pud/wireformat-java'
make[1]: Leaving directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/pud'
make[1]: Entering directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/quagga'
rm -f src/olsrd_plugin.o src/packet.o src/client.o src/plugin.o 
src/quagga.o src/parse.o src/olsrd_plugin.d src/packet.d src/client.d 
src/plugin.d src/quagga.d src/parse.d olsrd_quagga.so.0.2.2
make[1]: Leaving directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/quagga'
make[1]: Entering directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/secure'
rm -f src/olsrd_plugin.o src/md5.o src/olsrd_secure.o src/olsrd_plugin.d 
src/md5.d src/olsrd_secure.d olsrd_secure.so.0.6
make[1]: Leaving directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/secure'
make[1]: Entering directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/sgwdynspeed'
[clean]
make[2]: Entering directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/sgwdynspeed/doc'
[clean] doc
rm -fr "doxygen.conf.temp" "html" "latex" "man" "olsrd_sgwdynspeed.pdf"
make[2]: Leaving directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/sgwdynspeed/doc'
make[1]: Leaving directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/sgwdynspeed'
make[1]: Entering directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/txtinfo'
rm -f src/olsrd_plugin.o src/olsrd_txtinfo.o src/olsrd_plugin.d 
src/olsrd_txtinfo.d olsrd_txtinfo.so.0.1
make[1]: Leaving directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/txtinfo'
make[1]: Entering directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/watchdog'
rm -f src/olsrd_plugin.o src/olsrd_plugin.d olsrd_watchdog.so.0.1
make[1]: Leaving directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/watchdog'
make[1]: Entering directory 
'/var/lib/jenkins/workspace/olsrd_master_android/gui/linux-gtk'
rm -f src/olsr.o src/interface.o src/callbacks.o src/packet.o 
src/common.o src/ipc.o src/main.o src/routes.o src/nodes.o olsrd-gui
make[1]: Leaving directory 
'/var/lib/jenkins/workspace/olsrd_master_android/gui/linux-gtk'
rm -f src/TAGS
find . \( -name '*.[od]' -o -name '*~' \) -not -path "*/.hg*" -type f 
-print0 | xargs -0 rm -f
make[1]: Entering directory 
'/var/lib/jenkins/workspace/olsrd_master_android/src/olsr_switch'
rm -f *.[od]
rm -f *~
rm -f ../../olsr_switch
make[1]: Leaving directory 
'/var/lib/jenkins/workspace/olsrd_master_android/src/olsr_switch'
make[1]: Entering directory 
'/var/lib/jenkins/workspace/olsrd_master_android/src/cfgparser'
rm -f *.[od~] olsrd_cfgparser.so.0.1 olsrd_cfgparser oscan.c oscan.c-tmp 
oparse.c oparse.c-tmp oparse.h oparse.h-tmp
make[1]: Leaving directory 
'/var/lib/jenkins/workspace/olsrd_master_android/src/cfgparser'
[CREATE] builddata.txt
[CC] src/builddata.c
make[1]: Entering directory 
'/var/lib/jenkins/workspace/olsrd_master_android/src/cfgparser'
[CC] olsrd_conf.c
[BISON] oparse.c
[CC] oparse.c
[FLEX] oscan.c
[CC] oscan.c
[CC] cfgfile_gen.c
[CC] ../ipcalc.c
[CC] ../common/autobuf.c
[LD] olsrd_cfgparser
make[1]: Leaving directory 
'/var/lib/jenkins/workspace/olsrd_master_android/src/cfgparser'
make[1]: Entering directory 
'/var/lib/jenkins/workspace/olsrd_master_android/src/cfgparser'
install -D -m 755 olsrd_cfgparser 
/var/lib/jenkins/workspace/olsrd_master_android/dist/release/lib/olsrd_cfgparser
/sbin/ldconfig -n 
/var/lib/jenkins/workspace/olsrd_master_android/dist/release/lib
make[1]: Leaving directory 
'/var/lib/jenkins/workspace/olsrd_master_android/src/cfgparser'
make[1]: Entering directory 
'/var/lib/jenkins/workspace/olsrd_master_android/src/cfgparser'
rm -f *.[od~] olsrd_cfgparser.so.0.1 olsrd_cfgparser oscan.c oscan.c-tmp 
oparse.c oparse.c-tmp oparse.h oparse.h-tmp
make[1]: Leaving directory 
'/var/lib/jenkins/workspace/olsrd_master_android/src/cfgparser'
rm -f src/common/autobuf.o src/common/list.o src/common/avl.o 
src/process_routes.o src/net_olsr.o src/mpr_selector_set.o src/parser.o 
src/packet.o src/generate_msg.o src/ipcalc.o src/gateway.o 
src/routing_table.o src/duplicate_set.o src/lq_mpr.o src/hna_set.o 
src/olsr_spf.o src/mantissa.o src/scheduler.o src/duplicate_handler.o 
src/interfaces.o src/olsr_cookie.o src/gateway_costs.o 
src/gateway_default_handler.o src/build_msg.o 
src/two_hop_neighbor_table.o src/fpm.o src/lq_plugin_default_ffeth.o 
src/lq_plugin_default_float.o src/hysteresis.o src/process_package.o 
src/egressFile.o src/main.o src/hashing.o src/olsr.o src/ipc_frontend.o 
src/plugin_loader.o src/lq_plugin_default_ff.o src/rebuild_packet.o 
src/tc_set.o src/lq_plugin.o src/gateway_list.o src/olsr_niit.o 
src/lq_packet.o src/lq_plugin_default_fpm.o src/mid_set.o 
src/builddata.o src/neighbor_table.o src/link_set.o src/plugin_util.o 
src/mpr.o src/linux/net.o src/linux/kernel_routes_nl.o 
src/linux/kernel_tunnel.o src/linux/apm.o 
src/linux/lq_plugin_ffeth_nl80211.o src/linux/nl80211_link_info.o 
src/unix/log.o src/unix/misc.o src/unix/ifnet.o 
src/cfgparser/olsrd_conf.o src/cfgparser/oparse.o src/cfgparser/oscan.o 
src/cfgparser/cfgfile_gen.o src/cfgparser/olsrd_conf.o 
src/cfgparser/oparse.o src/cfgparser/oscan.o src/cfgparser/cfgfile_gen.o 
src/common/autobuf.d src/common/list.d src/common/avl.d 
src/process_routes.d src/net_olsr.d src/mpr_selector_set.d src/parser.d 
src/packet.d src/generate_msg.d src/ipcalc.d src/gateway.d 
src/routing_table.d src/duplicate_set.d src/lq_mpr.d src/hna_set.d 
src/olsr_spf.d src/mantissa.d src/scheduler.d src/duplicate_handler.d 
src/interfaces.d src/olsr_cookie.d src/gateway_costs.d 
src/gateway_default_handler.d src/build_msg.d 
src/two_hop_neighbor_table.d src/fpm.d src/lq_plugin_default_ffeth.d 
src/lq_plugin_default_float.d src/hysteresis.d src/process_package.d 
src/egressFile.d src/main.d src/hashing.d src/olsr.d src/ipc_frontend.d 
src/plugin_loader.d src/lq_plugin_default_ff.d src/rebuild_packet.d 
src/tc_set.d src/lq_plugin.d src/gateway_list.d src/olsr_niit.d 
src/lq_packet.d src/lq_plugin_default_fpm.d src/mid_set.d 
src/builddata.d src/neighbor_table.d src/link_set.d src/plugin_util.d 
src/mpr.d src/linux/net.d src/linux/kernel_routes_nl.d 
src/linux/kernel_tunnel.d src/linux/apm.d 
src/linux/lq_plugin_ffeth_nl80211.d src/linux/nl80211_link_info.d 
src/unix/log.d src/unix/misc.d src/unix/ifnet.d 
src/cfgparser/olsrd_conf.d src/cfgparser/oparse.d src/cfgparser/oscan.d 
src/cfgparser/cfgfile_gen.d olsrd olsrd.exe src/builddata.c 
src/cfgparser/oscan.c src/cfgparser/oscan.c-tmp src/cfgparser/oparse.c 
src/cfgparser/oparse.c-tmp src/cfgparser/oparse.h src/cfgparser/oparse.h-tmp
rm -f libolsrd.a
rm -f olsr_switch.exe
rm -f gui/win32/Main/olsrd_cfgparser.lib
rm -f olsr-setup.exe
rm -fr gui/win32/Main/Release
rm -fr gui/win32/Shim/Release
for dir in arprefresh bmf dot_draw dyn_gw dyn_gw_plain httpinfo jsoninfo 
mdns mini nameservice p2pd pgraph pud quagga secure sgwdynspeed txtinfo 
watchdog;do make OS="linux" WARNINGS="-Wall -Wextra 
-Wold-style-definition -Wdeclaration-after-statement 
-Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations 
-Wsign-compare -Waggregate-return -Wmissing-noreturn 
-Wmissing-format-attribute -Wno-multichar -Wno-deprecated-declarations 
-Wendif-labels -Wwrite-strings -Wbad-function-cast -Wpointer-arith 
-Wcast-qual -Wshadow -Wformat -Wsequence-point -Wcast-align 
-Wformat-security -Wformat-y2k -Werror=format-security -Winit-self 
-Wswitch-default -Wsync-nand -Wundef -Wlogical-op -Wdouble-promotion 
-Wjump-misses-init -Wtrampolines -Wunused-parameter -Wnested-externs 
-Winline -Wdisabled-optimization -finline-functions-called-once 
-funit-at-a-time -fearly-inlining -finline-limit=350" VERBOSE="0" 
SANITIZE_ADDRESS="0" -C lib/$dir LIBDIR=/usr/local/lib clean;rm -f 
lib/$dir/*.so lib/$dir/*.dll;done
make[1]: Entering directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/arprefresh'
rm -f src/olsrd_arprefresh.o src/olsrd_arprefresh.d olsrd_arprefresh.so.0.1
make[1]: Leaving directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/arprefresh'
make[1]: Entering directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/bmf'
rm -f src/olsrd_plugin.o src/NetworkInterfaces.o src/PacketHistory.o 
src/Address.o src/Packet.o src/Bmf.o src/olsrd_plugin.d 
src/NetworkInterfaces.d src/PacketHistory.d src/Address.d src/Packet.d 
src/Bmf.d olsrd_bmf.so.1.7.0
make[1]: Leaving directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/bmf'
make[1]: Entering directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/dot_draw'
rm -f src/olsrd_plugin.o src/olsrd_dot_draw.o src/olsrd_plugin.d 
src/olsrd_dot_draw.d olsrd_dot_draw.so.0.3
make[1]: Leaving directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/dot_draw'
make[1]: Entering directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/dyn_gw'
rm -f src/olsrd_plugin.o src/olsrd_dyn_gw.o src/olsrd_plugin.d 
src/olsrd_dyn_gw.d olsrd_dyn_gw.so.0.5
make[1]: Leaving directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/dyn_gw'
make[1]: Entering directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/dyn_gw_plain'
rm -f src/olsrd_dyn_gw_plain.o src/olsrd_dyn_gw_plain.d 
olsrd_dyn_gw_plain.so.0.4
make[1]: Leaving directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/dyn_gw_plain'
make[1]: Entering directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/httpinfo'
rm -f src/olsrd_plugin.o src/olsrd_httpinfo.o src/admin_interface.o 
../../src/cfgparser/cfgfile_gen.o src/olsrd_plugin.d 
src/olsrd_httpinfo.d src/admin_interface.d olsrd_httpinfo.so.0.1
make[1]: Leaving directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/httpinfo'
make[1]: Entering directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/jsoninfo'
rm -f src/olsrd_plugin.o src/olsrd_jsoninfo.o src/olsrd_plugin.d 
src/olsrd_jsoninfo.d olsrd_jsoninfo.so.0.0
make[1]: Leaving directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/jsoninfo'
make[1]: Entering directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/mdns'
rm -f src/olsrd_plugin.o src/NetworkInterfaces.o src/Address.o 
src/RouterElection.o src/Packet.o src/mdns.o src/olsrd_plugin.d 
src/NetworkInterfaces.d src/Address.d src/RouterElection.d src/Packet.d 
src/mdns.d olsrd_mdns.so.1.0.1
make[1]: Leaving directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/mdns'
make[1]: Entering directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/mini'
rm -f src/olsrd_plugin.o src/olsrd_plugin.d olsrd_mini.so.0.1
make[1]: Leaving directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/mini'
make[1]: Entering directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/nameservice'
rm -f src/olsrd_plugin.o src/mapwrite.o src/compat.o src/nameservice.o 
src/olsrd_plugin.d src/mapwrite.d src/compat.d src/nameservice.d 
olsrd_nameservice.so.0.3
make[1]: Leaving directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/nameservice'
make[1]: Entering directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/p2pd'
rm -f src/olsrd_plugin.o src/NetworkInterfaces.o src/PacketHistory.o 
src/dllist.o src/p2pd.o src/Packet.o src/olsrd_plugin.d 
src/NetworkInterfaces.d src/PacketHistory.d src/dllist.d src/p2pd.d 
src/Packet.d olsrd_p2pd.so.0.1.0
make[1]: Leaving directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/p2pd'
make[1]: Entering directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/pgraph'
rm -f src/olsrd_pgraph.o src/olsrd_pgraph.d olsrd_pgraph.so.1.1
make[1]: Leaving directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/pgraph'
make[1]: Entering directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/pud'
[clean]
make[2]: Entering directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/pud/doc'
[clean] doc
rm -fr "doxygen.conf.temp" "html" "latex" "man" "olsrd_pud.pdf"
make[2]: Leaving directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/pud/doc'
make[2]: Entering directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/pud/nmealib'
make[3]: Entering directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/pud/nmealib/doc'
make[3]: Leaving directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/pud/nmealib/doc'
make[2]: Leaving directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/pud/nmealib'
make[2]: Entering directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/pud/wireformat'
make[3]: Entering directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/pud/wireformat/doc'
echo "[clean]"
[clean]
rm -fr "html" "latex" "man" "doxygen.conf.temp" "libOlsrdPudWireFormat.pdf"
make[3]: Leaving directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/pud/wireformat/doc'
[clean]
make[2]: Leaving directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/pud/wireformat'
make[2]: Entering directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/pud/wireformat-java'
make[3]: Entering directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/pud/wireformat-java/doc'
[clean]
rm -fr "javadoc" "html" "latex" "man" \
         "doxygen.conf.temp" "libOlsrdPudWireFormatJava.pdf"
make[3]: Leaving directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/pud/wireformat-java/doc'
[clean]
make[2]: Leaving directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/pud/wireformat-java'
make[1]: Leaving directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/pud'
make[1]: Entering directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/quagga'
rm -f src/olsrd_plugin.o src/packet.o src/client.o src/plugin.o 
src/quagga.o src/parse.o src/olsrd_plugin.d src/packet.d src/client.d 
src/plugin.d src/quagga.d src/parse.d olsrd_quagga.so.0.2.2
make[1]: Leaving directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/quagga'
make[1]: Entering directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/secure'
rm -f src/olsrd_plugin.o src/md5.o src/olsrd_secure.o src/olsrd_plugin.d 
src/md5.d src/olsrd_secure.d olsrd_secure.so.0.6
make[1]: Leaving directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/secure'
make[1]: Entering directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/sgwdynspeed'
[clean]
make[2]: Entering directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/sgwdynspeed/doc'
[clean] doc
rm -fr "doxygen.conf.temp" "html" "latex" "man" "olsrd_sgwdynspeed.pdf"
make[2]: Leaving directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/sgwdynspeed/doc'
make[1]: Leaving directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/sgwdynspeed'
make[1]: Entering directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/txtinfo'
rm -f src/olsrd_plugin.o src/olsrd_txtinfo.o src/olsrd_plugin.d 
src/olsrd_txtinfo.d olsrd_txtinfo.so.0.1
make[1]: Leaving directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/txtinfo'
make[1]: Entering directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/watchdog'
rm -f src/olsrd_plugin.o src/olsrd_plugin.d olsrd_watchdog.so.0.1
make[1]: Leaving directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/watchdog'
make[1]: Entering directory 
'/var/lib/jenkins/workspace/olsrd_master_android/gui/linux-gtk'
rm -f src/olsr.o src/interface.o src/callbacks.o src/packet.o 
src/common.o src/ipc.o src/main.o src/routes.o src/nodes.o olsrd-gui
make[1]: Leaving directory 
'/var/lib/jenkins/workspace/olsrd_master_android/gui/linux-gtk'
rm -f src/TAGS
find . \( -name '*.[od]' -o -name '*~' \) -not -path "*/.hg*" -type f 
-print0 | xargs -0 rm -f
make[1]: Entering directory 
'/var/lib/jenkins/workspace/olsrd_master_android/src/olsr_switch'
rm -f *.[od]
rm -f *~
rm -f ../../olsr_switch
make[1]: Leaving directory 
'/var/lib/jenkins/workspace/olsrd_master_android/src/olsr_switch'
make[1]: Entering directory 
'/var/lib/jenkins/workspace/olsrd_master_android/src/cfgparser'
rm -f *.[od~] olsrd_cfgparser.so.0.1 olsrd_cfgparser oscan.c oscan.c-tmp 
oparse.c oparse.c-tmp oparse.h oparse.h-tmp
make[1]: Leaving directory 
'/var/lib/jenkins/workspace/olsrd_master_android/src/cfgparser'
[CC] src/common/autobuf.c
[CC] src/common/list.c
[CC] src/common/avl.c
[CC] src/olsr.c
[CC] src/link_set.c
[CC] src/parser.c
[CC] src/interfaces.c
[CC] src/ipcalc.c
[CC] src/gateway.c
[CC] src/gateway_costs.c
[CC] src/lq_mpr.c
[CC] src/plugin_loader.c
[CC] src/scheduler.c
[CC] src/routing_table.c
[CC] src/gateway_default_handler.c
[CC] src/build_msg.c
[CC] src/two_hop_neighbor_table.c
[CC] src/lq_plugin_default_ffeth.c
[CC] src/main.c
[CC] src/hashing.c
[CC] src/lq_plugin_default_ff.c
[CC] src/lq_packet.c
[CC] src/rebuild_packet.c
[CC] src/hysteresis.c
[CC] src/olsr_niit.c
[CC] src/mpr.c
[CC] src/process_routes.c
[CC] src/mpr_selector_set.c
[CC] src/packet.c
[CC] src/lq_plugin_default_float.c
[CC] src/generate_msg.c
[CC] src/gateway_list.c
[CC] src/hna_set.c
[CC] src/ipc_frontend.c
[CC] src/mantissa.c
[CC] src/tc_set.c
[CC] src/olsr_spf.c
[CC] src/olsr_cookie.c
[CC] src/fpm.c
[CC] src/lq_plugin_default_fpm.c
[CC] src/egressFile.c
[CC] src/process_package.c
[CC] src/duplicate_handler.c
[CC] src/neighbor_table.c
[CC] src/duplicate_set.c
[CC] src/net_olsr.c
[CC] src/mid_set.c
[CC] src/lq_plugin.c
[CC] src/plugin_util.c
[CC] src/unix/log.c
[CC] src/unix/misc.c
[CC] src/unix/ifnet.c
[CC] src/linux/net.c
[CC] src/linux/kernel_routes_nl.c
[CC] src/linux/kernel_tunnel.c
[CC] src/linux/apm.c
[CC] src/linux/lq_plugin_ffeth_nl80211.c
[CC] src/linux/nl80211_link_info.c
[CC] src/cfgparser/olsrd_conf.c
[BISON] src/cfgparser/oparse.c
[CC] src/cfgparser/oparse.c
[FLEX] src/cfgparser/oscan.c
[CC] src/cfgparser/oscan.c
[CC] src/cfgparser/cfgfile_gen.c
make[1]: Entering directory 
'/var/lib/jenkins/workspace/olsrd_master_android/android/regex'
[CC] regcomp.c
[CC] regerror.c
[CC] regexec.c
[CC] regfree.c
[AR] regcomp.o
make[1]: Leaving directory 
'/var/lib/jenkins/workspace/olsrd_master_android/android/regex'
[CREATE] builddata.txt
[CC] src/builddata.c
[LD] olsrd
make[1]: Entering directory 
'/var/lib/jenkins/workspace/olsrd_master_android/src/olsr_switch'
[CC] ohs_cmd.c
[CC] link_rules.c
[CC] main.c
[LD] ../../olsr_switch
make[1]: Leaving directory 
'/var/lib/jenkins/workspace/olsrd_master_android/src/olsr_switch'
make[1]: Entering directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/arprefresh'
[CC] src/olsrd_arprefresh.c
[LD] olsrd_arprefresh.so.0.1
make[1]: Leaving directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/arprefresh'
make[1]: Entering directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/bmf'
[CC] src/olsrd_plugin.c
[CC] src/NetworkInterfaces.c
In file included from 
/opt/android-ndk/platforms/android-4/arch-arm/usr/include/sys/endian.h:39:0,
                  from 
/opt/android-ndk/platforms/android-4/arch-arm/usr/include/endian.h:31,
                  from 
/opt/android-ndk/platforms/android-4/arch-arm/usr/include/netinet/in.h:31,
                  from src/NetworkInterfaces.h:44,
                  from src/NetworkInterfaces.c:40:
src/NetworkInterfaces.c: In function 'CheckAndUpdateLocalBroadcast':
src/NetworkInterfaces.c:1900:25: error: 'struct udphdr' has no member 
named 'uh_sum'
        check = ntohs(udph->uh_sum);
                          ^
src/NetworkInterfaces.c:1912:11: error: 'struct udphdr' has no member 
named 'uh_sum'
        udph->uh_sum = htons(check);
            ^
../../Makefile.inc:268: recipe for target 'src/NetworkInterfaces.o' failed
make[1]: *** [src/NetworkInterfaces.o] Error 1
make[1]: Leaving directory 
'/var/lib/jenkins/workspace/olsrd_master_android/lib/bmf'
Makefile:236: recipe for target 'libs' failed
make: *** [libs] Error 2
Build step 'Execute shell' marked build as failure
Archiving artifacts
Sending e-mails to: (spam-protected) (spam-protected)
Started calculate disk usage of build
Finished Calculation of disk usage of build in 0 seconds
Started calculate disk usage of workspace
Finished Calculation of disk usage of workspace in 0 seconds
Finished: FAILURE




More information about the Olsr-dev mailing list