[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gpsd-users] Trying to cross-compile for arm

From: Jünger , Lukas
Subject: [gpsd-users] Trying to cross-compile for arm
Date: Wed, 27 Jul 2016 15:14:51 +0000


I'm trying to cross-compile gpsd for my Altera SoC-FPGA board. I setup the linaro compiler and the linaro sysroot, also I cross-compiled ncurses and added it to the sysroot and I created a

.scons-option-cache containing this:

libgpsmm = False
python = False
prefix = '/home/lukas/sysroot-linux-gnueabi/usr/'
target = 'arm-linux-gnueabihf'
sysroot = '/home/lukas/sysroot-linux-gnueabi'

Running scons I get the following error:


arm-linux-gnueabihf-gcc -o cgps --sysroot=/home/lukas/sysroot-linux-gnueabi -pthread cgps.o -L. -lgps_static -lm -lrt -lncurses -ltinfo
/home/lukas/gcc-linaro-5.1-2015.08-x86_64_arm-linux-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/5.1.1/../../../../arm-linux-gnueabihf/bin/ld: cannot find -ltinfo

Somehow ld doesn't find libtinfo I think. I created symbolic links in /lib of my sysroot like this: -> -> libncurses5.9

Did any of you cross-compile gpsd before or does anyone have an idea what I am doing wrong?

Thank you for your help.

Best regards,


reply via email to

[Prev in Thread] Current Thread [Next in Thread]