[Olsr-dev] Olsrd v0.9.5 and Openwrt CC v15.05 complie problem

(spam-protected) (spam-protected)
Wed Dec 21 22:03:58 CET 2016


Ok now olsrd compile but finally I have problem with

Package olsrd is missing dependencies for the following libraries:
librt.so.0

Hm, when I have use package olsrd v0.9.0.3 I don't have this problem

=============================================================

 [CC] src/common/autobuf.c
[CC] src/common/avl.c
[CC] src/common/list.c
[CC] src/common/string_handling.c
[CC] src/build_msg.c
[CC] src/cli.c
[CC] src/duplicate_handler.c
[CC] src/duplicate_set.c
[CC] src/egressFile.c
[CC] src/fpm.c
[CC] src/gateway.c
[CC] src/gateway_costs.c
[CC] src/gateway_default_handler.c
[CC] src/gateway_list.c
[CC] src/generate_msg.c
[CC] src/hashing.c
[CC] src/hna_set.c
[CC] src/hysteresis.c
[CC] src/interfaces.c
[CC] src/ipc_frontend.c
[CC] src/ipcalc.c
[CC] src/link_set.c
[CC] src/lock_file.c
[CC] src/lq_mpr.c
[CC] src/lq_packet.c
[CC] src/lq_plugin.c
[CC] src/lq_plugin_default_ff.c
[CC] src/lq_plugin_default_ffeth.c
[CC] src/lq_plugin_default_float.c
[CC] src/lq_plugin_default_fpm.c
[CC] src/main.c
[CC] src/mantissa.c
[CC] src/mid_set.c
[CC] src/mpr.c
[CC] src/mpr_selector_set.c
[CC] src/neighbor_table.c
[CC] src/net_olsr.c
[CC] src/olsr.c
[CC] src/olsr_cookie.c
[CC] src/olsr_niit.c
[CC] src/olsr_spf.c
[CC] src/packet.c
[CC] src/parser.c
[CC] src/pid_file.c
[CC] src/plugin_loader.c
[CC] src/plugin_util.c
[CC] src/process_package.c
[CC] src/process_routes.c
[CC] src/rebuild_packet.c
[CC] src/routing_table.c
[CC] src/scheduler.c
[CC] src/tc_set.c
[CC] src/two_hop_neighbor_table.c
[CC] src/linux/apm.c
[CC] src/linux/kernel_routes_nl.c
[CC] src/linux/kernel_tunnel.c
[CC] src/linux/lq_plugin_ffeth_nl80211.c
[CC] src/linux/net.c
[CC] src/linux/nl80211_link_info.c
[CC] src/unix/ifnet.c
[CC] src/unix/log.c
[CC] src/unix/misc.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
[CREATE] builddata.txt
[CC] src/builddata.c
[LD] olsrd
make[4]: Leaving directory
`/home/sp2ong/Projects/UBNT/OpenWRT/15.05/build_dir/target-mips_34kc_uClibc-0.9.33.2/olsrd-0.9.5'
CFLAGS="-Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc
-fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable
-Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -fpic
 -I/home/sp2ong/Projects/UBNT/OpenWRT/15.05/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/include
-I/home/sp2ong/Projects/UBNT/OpenWRT/15.05/staging_dir/target-mips_34kc_uClibc-0.9.33.2/include
-I/home/sp2ong/Projects/UBNT/OpenWRT/15.05/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/usr/include
-I/home/sp2ong/Projects/UBNT/OpenWRT/15.05/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/include
" CXXFLAGS="-Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc
-fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable
-Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -fpic
 -I/home/sp2ong/Projects/UBNT/OpenWRT/15.05/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/include
-I/home/sp2ong/Projects/UBNT/OpenWRT/15.05/staging_dir/target-mips_34kc_uClibc-0.9.33.2/include
-I/home/sp2ong/Projects/UBNT/OpenWRT/15.05/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/usr/include
-I/home/sp2ong/Projects/UBNT/OpenWRT/15.05/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/include
" LDFLAGS="-L/home/sp2ong/Projects/UBNT/OpenWRT/15.05/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/lib
-L/home/sp2ong/Projects/UBNT/OpenWRT/15.05/staging_dir/target-mips_34kc_uClibc-0.9.33.2/lib
-L/home/sp2ong/Projects/UBNT/OpenWRT/15.05/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/usr/lib
-L/home/sp2ong/Projects/UBNT/OpenWRT/15.05/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/lib
" make -j1 -C /home/sp2ong/Projects/UBNT/OpenWRT/15.05/build_dir/target-mips_34kc_uClibc-0.9.33.2/olsrd-0.9.5/.
AR="mips-openwrt-linux-uclibc-gcc-ar"
AS="mips-openwrt-linux-uclibc-gcc -c -Os -pipe -mno-branch-likely
-mips32r2 -mtune=34kc -fno-caller-saves -fhonour-copts
-Wno-error=unused-but-set-variable -Wno-error=unused-result
-msoft-float -fpic" LD=mips-openwrt-linux-uclibc-ld
NM="mips-openwrt-linux-uclibc-gcc-nm"
CC="mips-openwrt-linux-uclibc-gcc" GCC="mips-openwrt-linux-uclibc-gcc"
CXX="mips-openwrt-linux-uclibc-g++"
RANLIB="mips-openwrt-linux-uclibc-gcc-ranlib"
STRIP=mips-openwrt-linux-uclibc-strip
OBJCOPY=mips-openwrt-linux-uclibc-objcopy
OBJDUMP=mips-openwrt-linux-uclibc-objdump
SIZE=mips-openwrt-linux-uclibc-size CROSS="mips-openwrt-linux-uclibc-"
ARCH="mips" NO_DEBUG_MESSAGES=1 OS="linux"
DESTDIR="/home/sp2ong/Projects/UBNT/OpenWRT/15.05/build_dir/target-mips_34kc_uClibc-0.9.33.2/olsrd-0.9.5/ipkg-install"
STRIP="true" INSTALL_LIB="true" SUBDIRS="arprefresh bmf httpinfo
jsoninfo netjson nameservice secure txtinfo watchdog" libs;
make[4]: Entering directory
`/home/sp2ong/Projects/UBNT/OpenWRT/15.05/build_dir/target-mips_34kc_uClibc-0.9.33.2/olsrd-0.9.5'
make[5]: Entering directory
`/home/sp2ong/Projects/UBNT/OpenWRT/15.05/build_dir/target-mips_34kc_uClibc-0.9.33.2/olsrd-0.9.5/lib/arprefresh'
make[5]: Leaving directory
`/home/sp2ong/Projects/UBNT/OpenWRT/15.05/build_dir/target-mips_34kc_uClibc-0.9.33.2/olsrd-0.9.5/lib/arprefresh'
make[5]: Entering directory
`/home/sp2ong/Projects/UBNT/OpenWRT/15.05/build_dir/target-mips_34kc_uClibc-0.9.33.2/olsrd-0.9.5/lib/arprefresh'
[CC] src/olsrd_arprefresh.c
[LD] olsrd_arprefresh.so.0.1
make[5]: Leaving directory
`/home/sp2ong/Projects/UBNT/OpenWRT/15.05/build_dir/target-mips_34kc_uClibc-0.9.33.2/olsrd-0.9.5/lib/arprefresh'
make[5]: Entering directory
`/home/sp2ong/Projects/UBNT/OpenWRT/15.05/build_dir/target-mips_34kc_uClibc-0.9.33.2/olsrd-0.9.5/lib/bmf'
make[5]: Leaving directory
`/home/sp2ong/Projects/UBNT/OpenWRT/15.05/build_dir/target-mips_34kc_uClibc-0.9.33.2/olsrd-0.9.5/lib/bmf'
make[5]: Entering directory
`/home/sp2ong/Projects/UBNT/OpenWRT/15.05/build_dir/target-mips_34kc_uClibc-0.9.33.2/olsrd-0.9.5/lib/bmf'
[CC] src/Address.c
[CC] src/Bmf.c
[CC] src/NetworkInterfaces.c
[CC] src/Packet.c
[CC] src/PacketHistory.c
[CC] src/olsrd_plugin.c
[LD] olsrd_bmf.so.1.7.0
make[5]: Leaving directory
`/home/sp2ong/Projects/UBNT/OpenWRT/15.05/build_dir/target-mips_34kc_uClibc-0.9.33.2/olsrd-0.9.5/lib/bmf'
make[5]: Entering directory
`/home/sp2ong/Projects/UBNT/OpenWRT/15.05/build_dir/target-mips_34kc_uClibc-0.9.33.2/olsrd-0.9.5/lib/httpinfo'
make[5]: Leaving directory
`/home/sp2ong/Projects/UBNT/OpenWRT/15.05/build_dir/target-mips_34kc_uClibc-0.9.33.2/olsrd-0.9.5/lib/httpinfo'
make[5]: Entering directory
`/home/sp2ong/Projects/UBNT/OpenWRT/15.05/build_dir/target-mips_34kc_uClibc-0.9.33.2/olsrd-0.9.5/lib/httpinfo'
[CC] src/admin_interface.c
[CC] src/olsrd_httpinfo.c
[CC] src/olsrd_plugin.c
[LD] olsrd_httpinfo.so.0.1
src/olsrd_httpinfo.o: In function `build_ipaddr_link':
/home/sp2ong/Projects/UBNT/OpenWRT/15.05/build_dir/target-mips_34kc_uClibc-0.9.33.2/olsrd-0.9.5/lib/httpinfo/src/olsrd_httpinfo.c:750:
warning: gethostbyaddr is obsolescent, use getaddrinfo() instead.
make[5]: Leaving directory
`/home/sp2ong/Projects/UBNT/OpenWRT/15.05/build_dir/target-mips_34kc_uClibc-0.9.33.2/olsrd-0.9.5/lib/httpinfo'
make[5]: Entering directory
`/home/sp2ong/Projects/UBNT/OpenWRT/15.05/build_dir/target-mips_34kc_uClibc-0.9.33.2/olsrd-0.9.5/lib/jsoninfo'
make[5]: Leaving directory
`/home/sp2ong/Projects/UBNT/OpenWRT/15.05/build_dir/target-mips_34kc_uClibc-0.9.33.2/olsrd-0.9.5/lib/jsoninfo'
make[5]: Entering directory
`/home/sp2ong/Projects/UBNT/OpenWRT/15.05/build_dir/target-mips_34kc_uClibc-0.9.33.2/olsrd-0.9.5/lib/jsoninfo'
[CC] src/olsrd_jsoninfo.c
[CC] src/olsrd_plugin.c
[CC] ../info/http_headers.c
[CC] ../info/json_helpers.c
[CC] ../info/olsrd_info.c
[LD] olsrd_jsoninfo.so.0.0
make[5]: Leaving directory
`/home/sp2ong/Projects/UBNT/OpenWRT/15.05/build_dir/target-mips_34kc_uClibc-0.9.33.2/olsrd-0.9.5/lib/jsoninfo'
make[5]: Entering directory
`/home/sp2ong/Projects/UBNT/OpenWRT/15.05/build_dir/target-mips_34kc_uClibc-0.9.33.2/olsrd-0.9.5/lib/netjson'
make[5]: Leaving directory
`/home/sp2ong/Projects/UBNT/OpenWRT/15.05/build_dir/target-mips_34kc_uClibc-0.9.33.2/olsrd-0.9.5/lib/netjson'
make[5]: Entering directory
`/home/sp2ong/Projects/UBNT/OpenWRT/15.05/build_dir/target-mips_34kc_uClibc-0.9.33.2/olsrd-0.9.5/lib/netjson'
[CC] src/olsrd_netjson.c
[CC] src/olsrd_netjson_helpers.c
[CC] src/olsrd_plugin.c
[LD] olsrd_netjson.so.1.0
make[5]: Leaving directory
`/home/sp2ong/Projects/UBNT/OpenWRT/15.05/build_dir/target-mips_34kc_uClibc-0.9.33.2/olsrd-0.9.5/lib/netjson'
make[5]: Entering directory
`/home/sp2ong/Projects/UBNT/OpenWRT/15.05/build_dir/target-mips_34kc_uClibc-0.9.33.2/olsrd-0.9.5/lib/nameservice'
make[5]: Leaving directory
`/home/sp2ong/Projects/UBNT/OpenWRT/15.05/build_dir/target-mips_34kc_uClibc-0.9.33.2/olsrd-0.9.5/lib/nameservice'
make[5]: Entering directory
`/home/sp2ong/Projects/UBNT/OpenWRT/15.05/build_dir/target-mips_34kc_uClibc-0.9.33.2/olsrd-0.9.5/lib/nameservice'
[CC] src/compat.c
[CC] src/mapwrite.c
[CC] src/nameservice.c
[CC] src/olsrd_plugin.c
[LD] olsrd_nameservice.so.0.3
make[5]: Leaving directory
`/home/sp2ong/Projects/UBNT/OpenWRT/15.05/build_dir/target-mips_34kc_uClibc-0.9.33.2/olsrd-0.9.5/lib/nameservice'
make[5]: Entering directory
`/home/sp2ong/Projects/UBNT/OpenWRT/15.05/build_dir/target-mips_34kc_uClibc-0.9.33.2/olsrd-0.9.5/lib/secure'
make[5]: Leaving directory
`/home/sp2ong/Projects/UBNT/OpenWRT/15.05/build_dir/target-mips_34kc_uClibc-0.9.33.2/olsrd-0.9.5/lib/secure'
make[5]: Entering directory
`/home/sp2ong/Projects/UBNT/OpenWRT/15.05/build_dir/target-mips_34kc_uClibc-0.9.33.2/olsrd-0.9.5/lib/secure'
[CC] src/md5.c
[CC] src/olsrd_plugin.c
[CC] src/olsrd_secure.c
[LD] olsrd_secure.so.0.6
make[5]: Leaving directory
`/home/sp2ong/Projects/UBNT/OpenWRT/15.05/build_dir/target-mips_34kc_uClibc-0.9.33.2/olsrd-0.9.5/lib/secure'
make[5]: Entering directory
`/home/sp2ong/Projects/UBNT/OpenWRT/15.05/build_dir/target-mips_34kc_uClibc-0.9.33.2/olsrd-0.9.5/lib/txtinfo'
make[5]: Leaving directory
`/home/sp2ong/Projects/UBNT/OpenWRT/15.05/build_dir/target-mips_34kc_uClibc-0.9.33.2/olsrd-0.9.5/lib/txtinfo'
make[5]: Entering directory
`/home/sp2ong/Projects/UBNT/OpenWRT/15.05/build_dir/target-mips_34kc_uClibc-0.9.33.2/olsrd-0.9.5/lib/txtinfo'
[CC] src/olsrd_plugin.c
[CC] src/olsrd_txtinfo.c
[LD] olsrd_txtinfo.so.0.1
make[5]: Leaving directory
`/home/sp2ong/Projects/UBNT/OpenWRT/15.05/build_dir/target-mips_34kc_uClibc-0.9.33.2/olsrd-0.9.5/lib/txtinfo'
make[5]: Entering directory
`/home/sp2ong/Projects/UBNT/OpenWRT/15.05/build_dir/target-mips_34kc_uClibc-0.9.33.2/olsrd-0.9.5/lib/watchdog'
make[5]: Leaving directory
`/home/sp2ong/Projects/UBNT/OpenWRT/15.05/build_dir/target-mips_34kc_uClibc-0.9.33.2/olsrd-0.9.5/lib/watchdog'
make[5]: Entering directory
`/home/sp2ong/Projects/UBNT/OpenWRT/15.05/build_dir/target-mips_34kc_uClibc-0.9.33.2/olsrd-0.9.5/lib/watchdog'
[CC] src/olsrd_plugin.c
[LD] olsrd_watchdog.so.0.1
make[5]: Leaving directory
`/home/sp2ong/Projects/UBNT/OpenWRT/15.05/build_dir/target-mips_34kc_uClibc-0.9.33.2/olsrd-0.9.5/lib/watchdog'
make[4]: Leaving directory
`/home/sp2ong/Projects/UBNT/OpenWRT/15.05/build_dir/target-mips_34kc_uClibc-0.9.33.2/olsrd-0.9.5'
touch /home/sp2ong/Projects/UBNT/OpenWRT/15.05/build_dir/target-mips_34kc_uClibc-0.9.33.2/olsrd-0.9.5/.built
mkdir -p /home/sp2ong/Projects/UBNT/OpenWRT/15.05/bin/ar71xx/packages
/home/sp2ong/Projects/UBNT/OpenWRT/15.05/build_dir/target-mips_34kc_uClibc-0.9.33.2/olsrd-0.9.5/ipkg-ar71xx/olsrd/CONTROL
/home/sp2ong/Projects/UBNT/OpenWRT/15.05/staging_dir/target-mips_34kc_uClibc-0.9.33.2/pkginfo
install -d -m0755
/home/sp2ong/Projects/UBNT/OpenWRT/15.05/build_dir/target-mips_34kc_uClibc-0.9.33.2/olsrd-0.9.5/ipkg-ar71xx/olsrd/lib/functions
install -m0644 ./files/olsrd.init
/home/sp2ong/Projects/UBNT/OpenWRT/15.05/build_dir/target-mips_34kc_uClibc-0.9.33.2/olsrd-0.9.5/ipkg-ar71xx/olsrd/lib/functions/olsrd.sh
install -d -m0755
/home/sp2ong/Projects/UBNT/OpenWRT/15.05/build_dir/target-mips_34kc_uClibc-0.9.33.2/olsrd-0.9.5/ipkg-ar71xx/olsrd/etc/config
install -m0644 ./files/olsrd.config
/home/sp2ong/Projects/UBNT/OpenWRT/15.05/build_dir/target-mips_34kc_uClibc-0.9.33.2/olsrd-0.9.5/ipkg-ar71xx/olsrd/etc/config/olsrd
install -d -m0755
/home/sp2ong/Projects/UBNT/OpenWRT/15.05/build_dir/target-mips_34kc_uClibc-0.9.33.2/olsrd-0.9.5/ipkg-ar71xx/olsrd/usr/sbin
install -m0755 /home/sp2ong/Projects/UBNT/OpenWRT/15.05/build_dir/target-mips_34kc_uClibc-0.9.33.2/olsrd-0.9.5/olsrd
/home/sp2ong/Projects/UBNT/OpenWRT/15.05/build_dir/target-mips_34kc_uClibc-0.9.33.2/olsrd-0.9.5/ipkg-ar71xx/olsrd/usr/sbin/
install -d -m0755
/home/sp2ong/Projects/UBNT/OpenWRT/15.05/build_dir/target-mips_34kc_uClibc-0.9.33.2/olsrd-0.9.5/ipkg-ar71xx/olsrd/etc/init.d
install -m0755 ./files/olsrd4.init
/home/sp2ong/Projects/UBNT/OpenWRT/15.05/build_dir/target-mips_34kc_uClibc-0.9.33.2/olsrd-0.9.5/ipkg-ar71xx/olsrd/etc/init.d/olsrd
install -d -m0755
/home/sp2ong/Projects/UBNT/OpenWRT/15.05/build_dir/target-mips_34kc_uClibc-0.9.33.2/olsrd-0.9.5/ipkg-ar71xx/olsrd/etc/hotplug.d/iface
install -m0755 ./files/olsrd.hotplug.sh
/home/sp2ong/Projects/UBNT/OpenWRT/15.05/build_dir/target-mips_34kc_uClibc-0.9.33.2/olsrd-0.9.5/ipkg-ar71xx/olsrd/etc/hotplug.d/iface/50-olsrd
find /home/sp2ong/Projects/UBNT/OpenWRT/15.05/build_dir/target-mips_34kc_uClibc-0.9.33.2/olsrd-0.9.5/ipkg-ar71xx/olsrd
-name 'CVS' -o -name '.svn' -o -name '.#*' -o -name '*~'| xargs -r rm
-rf
Package olsrd is missing dependencies for the following libraries:
librt.so.0

2016-12-21 20:54 GMT+01:00 Ferry Huberts <(spam-protected)>:
>
>
> On 21/12/16 19:45, (spam-protected) wrote:
>> Hi
>>
>> I have add following:
>>
>> #if defined(__GLIBC__) && defined(__linux__) && !defined(__ANDROID__)
>>   #define OLSR_HAVE_EXECINFO_H
>> #endif /* defined(__GLIBC__) && defined(__linux__) && !defined(__ANDROID__) */
>>
>
>
> this part should be
>
> #if defined(__GLIBC__) && defined(__linux__) && !defined(__ANDROID__) && !defined(__UCLIBC__)
>   #define OLSR_HAVE_EXECINFO_H
> #endif
>
>
>> #ifdef OLSR_HAVE_EXECINFO_H
>> #if !defined(__UCLIBC__)
>>         # include <execinfo.h>
>> #endif
>> #endif /* OLSR_HAVE_EXECINFO_H */
>
> remove this part
>
>>
>>
>> but I am not sure but now I have other problem :
>>
>>
>> [CC] src/lq_plugin_default_float.c
>> [CC] src/lq_plugin_default_fpm.c
>> [CC] src/main.c
>> src/main.c: In function 'printStacktrace':
>> src/main.c:116:11: warning: assignment makes pointer from integer
>> without a cast [enabled by default]
>>    bt_syms = backtrace_symbols(bt_array, bt_size);
>>            ^
>> [CC] src/mantissa.c
>> [CC] src/mid_set.c
>> [CC] src/mpr.c
>> [CC] src/mpr_selector_set.c
>> [CC] src/neighbor_table.c
>> [CC] src/net_olsr.c
>> [CC] src/olsr.c
>> [CC] src/olsr_cookie.c
>> [CC] src/olsr_niit.c
>> [CC] src/olsr_spf.c
>> [CC] src/packet.c
>> [CC] src/parser.c
>> [CC] src/pid_file.c
>> [CC] src/plugin_loader.c
>> [CC] src/plugin_util.c
>> [CC] src/process_package.c
>> [CC] src/process_routes.c
>> [CC] src/rebuild_packet.c
>> [CC] src/routing_table.c
>> [CC] src/scheduler.c
>> [CC] src/tc_set.c
>> [CC] src/two_hop_neighbor_table.c
>> [CC] src/linux/apm.c
>> [CC] src/linux/kernel_routes_nl.c
>> [CC] src/linux/kernel_tunnel.c
>> [CC] src/linux/lq_plugin_ffeth_nl80211.c
>> [CC] src/linux/net.c
>> [CC] src/linux/nl80211_link_info.c
>> [CC] src/unix/ifnet.c
>> [CC] src/unix/log.c
>> [CC] src/unix/misc.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
>> [CREATE] builddata.txt
>> [CC] src/builddata.c
>> [LD] olsrd
>> src/main.o: In function `printStacktrace':
>> /home/users/Projects/UBNT/OpenWRT/15.05/build_dir/target-mips_34kc_uClibc-0.9.33.2/olsrd-0.9.5/src/main.c:108:
>> undefined reference to `backtrace'
>> /home/user/Projects/UBNT/OpenWRT/15.05/build_dir/target-mips_34kc_uClibc-0.9.33.2/olsrd-0.9.5/src/main.c:115:
>> undefined reference to `backtrace_symbols'
>> collect2: error: ld returned 1 exit status
>>
>>
>>
>> 2016-12-21 18:43 GMT+01:00 Ferry Huberts <(spam-protected)>:
>>>
>>>
>>> On 21/12/16 18:38, (spam-protected) wrote:
>>>>
>>>> Hi,
>>>>
>>>> I have update latest sources olsrd from git because I have see that
>>>> Ferry add new version main.c but  I still  have a problem with compile
>>>> olsrd for OpenWRT:
>>>>
>>>>
>>>> [CC] src/lq_plugin_default_fpm.c
>>>> [CC] src/main.c
>>>> src/main.c:81:24: fatal error: execinfo.h: No such file or directory
>>>>    #include <execinfo.h>
>>>>                         ^
>>>> compilation terminated.
>>>>
>>>> I have see that others suggest use like:
>>>>
>>>>
>>>> #if !defined(__UCLIBC__)
>>>
>>>
>>>
>>> try adding this condition to the new OLSR_HAVE_EXECINFO_H evaluation and
>>> report back if that works, I'll adjust it then (or just submit a patch)
>>>
>>>
>>>>         # include <execinfo.h>
>>>>  #endif
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> 2016-12-21 8:57 GMT+01:00 Ferry Huberts <(spam-protected)>:
>>>>>
>>>>>
>>>>>
>>>>> On 20/12/16 20:13, Bastian Bittorf wrote:
>>>>>>
>>>>>>
>>>>>> * Bastian Bittorf <(spam-protected)> [20.12.2016 20:08]:
>>>>>>>
>>>>>>>
>>>>>>> * (spam-protected) <(spam-protected)> [20.12.2016 19:58]:
>>>>>>>>
>>>>>>>>
>>>>>>>> make[4]: Entering directory
>>>>>>>>
>>>>>>>>
>>>>>>>> `/home/users/OpenWRT/15.05/build_dir/target-mips_34kc_uClibc-0.9.33.2/olsrd-0.9.5'
>>>>>>>> [CC] src/main.c
>>>>>>>> src/main.c:54:26: fatal error: execinfo.h: No such file or directory
>>>>>>>>      #include <execinfo.h>
>>>>>>>>                           ^
>>>>>>>> compilation terminated.
>>>>>>
>>>>>>
>>>>>>
>>>>>> sorry, i misunderstood the reason.
>>>>>>
>>>>>> Ferry: if i read something about this message other
>>>>>> projects suggest using this:
>>>>>>
>>>>>> #ifdef HAVE_EXECINFO_H
>>>>>> #include <execinfo.h>
>>>>>> #endif
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> The only relevant define I see on my Linux system is
>>>>> _GLIBCXX_HAVE_EXECINFO_H.
>>>>>
>>>>> Can you point me to your feed?
>>>>> Or just make a PR?
>>>>>
>>>>> Please do try to upstream fixes.
>>>>>
>>>>>
>>>>>>
>>>>>> i have no clue what i'am doing, any option about this?
>>>>>>
>>>>>> bye, bastian
>>>>>>
>>>>>
>>>>> --
>>>>> Ferry Huberts
>>>>>
>>>>> --
>>>>> Olsr-dev mailing list
>>>>> (spam-protected)
>>>>> https://lists.olsr.org/mailman/listinfo/olsr-dev
>>>
>>>
>>> --
>>> Ferry Huberts
>>>
>
> --
> Ferry Huberts
>



More information about the Olsr-dev mailing list