Linux Can´;t将rnx2rtkp从rtklib2.4.3b29交叉编译到raspberry pi3
使用Ubuntu 17.10和rtklib2.4.3b29。 我正在尝试交叉编译rnx2rtkp:Linux Can´;t将rnx2rtkp从rtklib2.4.3b29交叉编译到raspberry pi3,linux,ubuntu,cross-compiling,raspberry-pi3,Linux,Ubuntu,Cross Compiling,Raspberry Pi3,使用Ubuntu 17.10和rtklib2.4.3b29。 我正在尝试交叉编译rnx2rtkp: 'CC=arm-linux-gnueabihf-gcc make' 给我 error: '../../../lib/iers/gcc/iers.a: error adding symbols: File format not recognized'. 但当我安装gfortrans并交叉编译“iers.a”时,就像: 'F77= arm-linux-gnueabihf-gfortran mak
'CC=arm-linux-gnueabihf-gcc make'
给我
error: '../../../lib/iers/gcc/iers.a: error adding symbols: File format not recognized'.
但当我安装gfortrans并交叉编译“iers.a”时,就像:
'F77= arm-linux-gnueabihf-gfortran make'
它给了我同样的错误(两个'gfortran arm linux gnueabihf'都没有完成这项工作)。我用rtkrcv、str2str和convbin做了同样的工作(除了编译iers.a,因为其他模块不需要)。不知道这里有什么问题。去那里下载了cCompiler:
https://github.com/raspberrypi/tools/tree/master/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian
转到iers。文件夹:
'../../../lib/iers/gcc/iers.a
并输入makefile。在makefile中,我将:
F77=arm-linux-gnueabihf-gfortran
并执行makefile
然后,我返回rnx2rtkp文件夹并再次执行以下操作:
'CC=arm-linux-gnueabihf-gcc make'
它终于奏效了。
请注意,在第二次执行makefile之前,我做了makeclean