[Olsr-dev] olsrd-v1 / crashes olsr-mod-pud
Ferry Huberts
(spam-protected)
Wed Dec 7 15:18:46 CET 2016
Do an ldd on the pud lib.
You're probably missing libgps.so
Otherwise, I'm not much of an expert on LEDE build env.
On 07/12/16 15:14, Ufo wrote:
> about olsr-mod-pud and gpsd on LEDE/openwrt:
>
> gpsd is compiled on my system, but i get same error messages as bastian
> but, that libgps.so.22 is existing on buildserver:
>
>
> Konsole output
> install -d -m0755
> /srv2/lede/lede-20161124/build_dir/target-mips_24kc_musl-1.1.15/olsrd-0.9.5/ipkg-mips_24kc/olsrd-mod-pud/etc/olsrd.d
> cp -fpR ./files/olsrd.pud.position.conf
> /srv2/lede/lede-20161124/build_dir/target-mips_24kc_musl-1.1.15/olsrd-0.9.5/ipkg-mips_24kc/olsrd-mod-pud/etc/olsrd.d/
> install -d -m0755
> /srv2/lede/lede-20161124/build_dir/target-mips_24kc_musl-1.1.15/olsrd-0.9.5/ipkg-mips_24kc/olsrd-mod-pud/usr/lib
> install -m0755
> /srv2/lede/lede-20161124/build_dir/target-mips_24kc_musl-1.1.15/olsrd-0.9.5/lib/pud/nmealib/lib/libnmea.so
> /srv2/lede/lede-20161124/build_dir/target-mips_24kc_musl-1.1.15/ol
> srd-0.9.5/ipkg-mips_24kc/olsrd-mod-pud/usr/lib/
> install -m0755
> /srv2/lede/lede-20161124/build_dir/target-mips_24kc_musl-1.1.15/olsrd-0.9.5/lib/pud/wireformat/lib/libOlsrdPudWireFormat.so
> /srv2/lede/lede-20161124/build_dir/target-mips_24
> kc_musl-1.1.15/olsrd-0.9.5/ipkg-mips_24kc/olsrd-mod-pud/usr/lib/
> install -m0755
> /srv2/lede/lede-20161124/build_dir/target-mips_24kc_musl-1.1.15/olsrd-0.9.5/lib/pud/olsrd_pud.so.*
> /srv2/lede/lede-20161124/build_dir/target-mips_24kc_musl-1.1.15/olsrd-0.9.
> 5/ipkg-mips_24kc/olsrd-mod-pud/usr/lib/
> find
> /srv2/lede/lede-20161124/build_dir/target-mips_24kc_musl-1.1.15/olsrd-0.9.5/ipkg-mips_24kc/olsrd-mod-pud
> -name 'CVS' -o -name '.svn' -o -name '.#*' -o -name '*~'| xargs -r rm -rf
> Package olsrd-mod-pud is missing dependencies for the following libraries:
> libgps.so.22
> Makefile:308: recipe for target
> '/srv2/lede/lede-20161124/bin/packages/mips_24kc/routing/olsrd-mod-pud_0.9.5-v0.9.5_mips_24kc.ipk'
> failed
> make[2]: ***
> [/srv2/lede/lede-20161124/bin/packages/mips_24kc/routing/olsrd-mod-pud_0.9.5-v0.9.5_mips_24kc.ipk]
> Error 1
> make[2]: Leaving directory '/srv2/lede/lede-20161124/feeds/routing/olsrd'
> package/Makefile:127: recipe for target
> 'package/feeds/routing/olsrd/compile' failed
> make[1]: *** [package/feeds/routing/olsrd/compile] Error 2
> make[1]: Leaving directory '/srv2/lede/lede-20161124'
> /srv2/lede/lede-20161124/include/toplevel.mk:194: recipe for target
> 'package/olsrd/compile' failed
> make: *** [package/olsrd/compile] Error 2
> (spam-protected):/srv2/lede/lede-20161124$ ll
> /srv2/lede/lede-20161124/build_dir/target-mips_24kc_musl-1.1.15/gpsd-3.15/ipkg-mips_24kc/libgps/usr/lib/
> total 100
> drwxr-xr-x 2 walter walter 4096 Dec 7 14:47 ./
> drwxr-xr-x 3 walter walter 4096 Dec 7 14:47 ../
> lrwxrwxrwx 1 walter walter 16 Dec 7 14:47 libgps.so.22->
> libgps.so.22.0.0*
> -rwxr-xr-x 1 walter walter 91616 Dec 7 14:47 libgps.so.22.0.0*
> (spam-protected):/srv2/lede/lede-20161124$
>
>
>
>
>
> On 21.11.2016 17:31, Ferry Huberts wrote:
>>
>>
>> On 21/11/16 17:22, Bastian Bittorf wrote:
>>> * Ferry Huberts <(spam-protected)> [21.11.2016 17:03]:
>>>> yes, that fix is on master.
>>>> I'll start a release
>>>
>>> what is still an issue:
>>> the 'make' process dies when 'pud' and/or 'pgraph' is enabled in the
>>> makefile:
>>>
>>> https://github.com/openwrt-routing/packages/blob/master/olsrd/Makefile
>>>
>>> It's OK to just remove it in line 169
>>> and to comment out the eval in line 296.
>>>
>>> pgraph is....gone - is'nt it?
>>
>>
>> no it's still there AFAICT
>>
>>> pud needs gps.h - what dependency should be selected then?
>>>
>>
>> gpsd(-dev)
>
>
>
--
Ferry Huberts
More information about the Olsr-dev
mailing list