gpt4 book ai didi

compilation - 编译错误: hidden symbol `__aeabi_uidiv'

转载 作者:行者123 更新时间:2023-12-02 10:54:18 25 4
gpt4 key购买 nike

我尝试在RaspberryPi上编译FingerJetFXOSE,但始终失败,并显示以下输出/错误:

pi@raspberrypi ~/work/iso_conv/FingerJetFXOSE-master $ make
make -C src/libFRFXLL
make[1]: Entering directory '/home/pi/work/iso_conv/FingerJetFXOSE-master/src/libFRFXLL'
make -C src/libFRFXLL
make[2]: Entering directory '/home/pi/work/iso_conv/FingerJetFXOSE-master/src/libFRFXLL/src/libFRFXLL'
g++ -O2 -I../algorithm -I../../include -I../../src/include -I../../../ExternalDependencies/STL/STLport-5.2.1/stlport -fno-exceptions -fno-rtti -fno-stack-protector -fPIC -DFRFXLL_MAJOR=5 -DFRFXLL_MINOR=2 -DFRFXLL_REVISION=0 -DFRFXLL_BUILD=0 -c -o FRFXLLCreateFeatureSetInPlaceFromRaw.o FRFXLLCreateFeatureSetInPlaceFromRaw.cpp
ar rv ../../lib/libFRFXLL.a FRFXLLCreateFeatureSetInPlaceFromRaw.o
ar: creating ../../lib/libFRFXLL.a
a - FRFXLLCreateFeatureSetInPlaceFromRaw.o
g++ -O2 -I../algorithm -I../../include -I../../src/include -I../../../ExternalDependencies/STL/STLport-5.2.1/stlport -fno-exceptions -fno-rtti -fno-stack-protector -fPIC -DFRFXLL_MAJOR=5 -DFRFXLL_MINOR=2 -DFRFXLL_REVISION=0 -DFRFXLL_BUILD=0 -c -o FRFXLLCreateContext.o FRFXLLCreateContext.cpp
ar rv ../../lib/libFRFXLL.a FRFXLLCreateContext.o
a - FRFXLLCreateContext.o
g++ -O2 -I../algorithm -I../../include -I../../src/include -I../../../ExternalDependencies/STL/STLport-5.2.1/stlport -fno-exceptions -fno-rtti -fno-stack-protector -fPIC -DFRFXLL_MAJOR=5 -DFRFXLL_MINOR=2 -DFRFXLL_REVISION=0 -DFRFXLL_BUILD=0 -c -o FRFXLLCreateFeatureSetInPlace.o FRFXLLCreateFeatureSetInPlace.cpp

ar rv ../../lib/libFRFXLL.a FRFXLLCreateFeatureSetInPlace.o
a - FRFXLLCreateFeatureSetInPlace.o
g++ -O2 -I../algorithm -I../../include -I../../src/include -I../../../ExternalDependencies/STL/STLport-5.2.1/stlport -fno-exceptions -fno-rtti -fno-stack-protector -fPIC -DFRFXLL_MAJOR=5 -DFRFXLL_MINOR=2 -DFRFXLL_REVISION=0 -DFRFXLL_BUILD=0 -c -o FRFXLLGetLibraryVersion.o FRFXLLGetLibraryVersion.cpp
ar rv ../../lib/libFRFXLL.a FRFXLLGetLibraryVersion.o
a - FRFXLLGetLibraryVersion.o
g++ -O2 -I../algorithm -I../../include -I../../src/include -I../../../ExternalDependencies/STL/STLport-5.2.1/stlport -fno-exceptions -fno-rtti -fno-stack-protector -fPIC -DFRFXLL_MAJOR=5 -DFRFXLL_MINOR=2 -DFRFXLL_REVISION=0 -DFRFXLL_BUILD=0 -c -o FRFXLLExport.o FRFXLLExport.cpp
ar rv ../../lib/libFRFXLL.a FRFXLLExport.o
a - FRFXLLExport.o
g++ -O2 -I../algorithm -I../../include -I../../src/include -I../../../ExternalDependencies/STL/STLport-5.2.1/stlport -fno-exceptions -fno-rtti -fno-stack-protector -fPIC -DFRFXLL_MAJOR=5 -DFRFXLL_MINOR=2 -DFRFXLL_REVISION=0 -DFRFXLL_BUILD=0 -c -o FRFXLLCreateFeatureSet.o FRFXLLCreateFeatureSet.cpp
ar rv ../../lib/libFRFXLL.a FRFXLLCreateFeatureSet.o
a - FRFXLLCreateFeatureSet.o
g++ -O2 -I../algorithm -I../../include -I../../src/include -I../../../ExternalDependencies/STL/STLport-5.2.1/stlport -fno-exceptions -fno-rtti -fno-stack-protector -fPIC -DFRFXLL_MAJOR=5 -DFRFXLL_MINOR=2 -DFRFXLL_REVISION=0 -DFRFXLL_BUILD=0 -c -o FRFXLLDuplicateHandle.o FRFXLLDuplicateHandle.cpp
ar rv ../../lib/libFRFXLL.a FRFXLLDuplicateHandle.o
a - FRFXLLDuplicateHandle.o
g++ -O2 -I../algorithm -I../../include -I../../src/include -I../../../ExternalDependencies/STL/STLport-5.2.1/stlport -fno-exceptions -fno-rtti -fno-stack-protector -fPIC -DFRFXLL_MAJOR=5 -DFRFXLL_MINOR=2 -DFRFXLL_REVISION=0 -DFRFXLL_BUILD=0 -c -o FRFXLLCreateLibraryContext.o FRFXLLCreateLibraryContext.cpp
ar rv ../../lib/libFRFXLL.a FRFXLLCreateLibraryContext.o
a - FRFXLLCreateLibraryContext.o
g++ -O2 -I../algorithm -I../../include -I../../src/include -I../../../ExternalDependencies/STL/STLport-5.2.1/stlport -fno-exceptions -fno-rtti -fno-stack-protector -fPIC -DFRFXLL_MAJOR=5 -DFRFXLL_MINOR=2 -DFRFXLL_REVISION=0 -DFRFXLL_BUILD=0 -c -o FRFXLLCreateFeatureSetFromRaw.o FRFXLLCreateFeatureSetFromRaw.cpp
ar rv ../../lib/libFRFXLL.a FRFXLLCreateFeatureSetFromRaw.o
a - FRFXLLCreateFeatureSetFromRaw.o
rm FRFXLLCreateContext.o FRFXLLCreateFeatureSetInPlaceFromRaw.o FRFXLLDuplicateHandle.o FRFXLLCreateLibraryContext.o FRFXLLCreateFeatureSet.o FRFXLLGetLibraryVersion.o FRFXLLCreateFeatureSetInPlace.o FRFXLLCreateFeatureSetFromRaw.o FRFXLLExport.o
make[2]: Leaving directory '/home/pi/work/iso_conv/FingerJetFXOSE-master/src/libFRFXLL/src/libFRFXLL'
make[1]: Leaving directory '/home/pi/work/iso_conv/FingerJetFXOSE-master/src/libFRFXLL'
make -C src/libfjfx
make[1]: Entering directory '/home/pi/work/iso_conv/FingerJetFXOSE-master/src/libfjfx'
g++ -O2 -Wl,--strip-all -I../../include -I../libFRFXLL/include -fno-exceptions -fno-rtti -fno-stack-protector -fPIC -shared -nodefaultlibs -Wl,--version-script=fjfx.vers -Wl,-soname,libfjfx.so.5 -L../libFRFXLL/lib -Wl,--whole-archive -lFRFXLL fjfx.cpp -o ../../lib/libfjfx.so.5.2.0
‘../../lib/libfjfx.so.5’ -> ‘libfjfx.so.5.2.0’
‘../../lib/libfjfx.so’ -> ‘libfjfx.so.5’
make[1]: Leaving directory '/home/pi/work/iso_conv/FingerJetFXOSE-master/src/libfjfx'
make -C samples/fjfxSample
make[1]: Entering directory '/home/pi/work/iso_conv/FingerJetFXOSE-master/samples/fjfxSample'
cc fjfxSample.c -g -O0 -I../../include -L../../lib -lfjfx -o ../../bin/fjfxSample
/usr/bin/ld: ../../bin/fjfxSample: hidden symbol `__aeabi_uidiv' in /usr/lib/gcc/arm-linux-gnueabihf/4.9/libgcc.a(_udivsi3.o) is referenced by DSO
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
Makefile:66: recipe for target '../../bin/fjfxSample' failed
make[1]: *** [../../bin/fjfxSample] Error 1
make[1]: Leaving directory '/home/pi/work/iso_conv/FingerJetFXOSE-master/samples/fjfxSample'
Makefile:50: recipe for target 'samples/fjfxSample' failed
make: *** [samples/fjfxSample] Error 2
pi@raspberrypi ~/work/iso_conv/FingerJetFXOSE-master $

不幸的是,我无法修复此错误。我认为这只是小事,但我的修复没有用。

感谢您的任何帮助

最佳答案

如果我用以下命令编译它,它将起作用:

make CC=g++

关于compilation - 编译错误: hidden symbol `__aeabi_uidiv' ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37147982/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com