[Olsr-dev] olsrd-v1 / crashes on LEDE

Ferry Huberts (spam-protected)
Thu Sep 1 15:52:54 CEST 2016



On 01/09/16 15:47, Bastian Bittorf wrote:
> * Ferry Huberts <(spam-protected)> [01.09.2016 15:38]:
>> do try the branches and let me know
>
> ok, i switched to git-master/HEAD and it works fine.
> i remember that i send a patch to the github-openwrt-routing
> for that long ago, but it was refused because of better
> use "stable" versions 8-)
>
> only 1 issue: pud does not compile because of missing gps.h:


yes, I recently changed pud to use gpsd directly but you need its 
headers (obviously) to compile pud

I did not check whether those are available on LEDE, sorry.

you can try to go back in the commit until before the pud changes 
because IIRC the shutdown changes were before those.

>
> [...]
> In file included from src/configuration.h:50:0,
>                  from src/pudOlsrdPlugin.h:50,
>                  from src/pudOlsrdPlugin.c:46:
> src/gpsdclient.h:49:17: fatal error: gps.h: No such file or directory
> compilation terminated.
> In file included from src/configuration.h:50:0,
>                  from src/networkInterfaces.c:50:
> src/gpsdclient.h:49:17: fatal error: gps.h: No such file or directory
> compilation terminated.
> In file included from src/configuration.h:50:0,
>                  from src/configuration.c:46:
> src/gpsdclient.h:49:17: fatal error: gps.h: No such file or directory
> compilation terminated.
> make[5]: Entering directory
> '/home/bastian/ledebot/lede-staging/staging/build_dir/target-mips_24kc_musl-1.1.15/olsrd-master/lib/pud/nmealib'
> [CC] src/sentence.c
> [CC] src/gprmc.c
> [CC] src/gpgsa.c
> [CC] src/util.c
> [CC] src/nmath.c
> [CC] src/parser.c
> [CC] src/generator.c
> [CC] src/context.c
> [CC] src/gpgsv.c
> [CC] src/validate.c
> [CC] src/info.c
> [CC] src/gpvtg.c
> [CC] src/gpgga.c
> [AR] lib/libnmea.a
> [LD] lib/libnmea.so
> make[5]: Leaving directory
> '/home/bastian/ledebot/lede-staging/staging/build_dir/target-mips_24kc_musl-1.1.15/olsrd-master/lib/pud/nmealib'
> make[5]: Entering directory
> '/home/bastian/ledebot/lede-staging/staging/build_dir/target-mips_24kc_musl-1.1.15/olsrd-master/lib/pud/wireformat'
> [CC] src/nodeIdConversion.c
> [CC] src/wireFormat.c
> [LD] lib/libOlsrdPudWireFormat.so
> make[5]: Leaving directory
> '/home/bastian/ledebot/lede-staging/staging/build_dir/target-mips_24kc_musl-1.1.15/olsrd-master/lib/pud/wireformat'
> [CC] src/posAvg.c
> [CC] src/networkInterfaces.c
> In file included from src/configuration.h:50:0,
>                  from src/networkInterfaces.c:50:
> src/gpsdclient.h:49:17: fatal error: gps.h: No such file or directory
> [...]
>
> bye, bastian
>

-- 
Ferry Huberts



More information about the Olsr-dev mailing list