我有
conan 3.10.6
这是所有其他信息
Profile build:
[settings]
arch=x86_64
build_type=Release
compiler=gcc
compiler.cppstd=gnu17
compiler.libcxx=libstdc++11
compiler.version=11
os=Linux
[conf]
tools.system.package_manager:mode=install
tools.system.package_manager:sudo=True
我尝试安装SDL2。所以我的 Conanfile.txt 很简单
[requires]
sdl/2.26.5
[generators]
CMakeDeps
CMakeToolchain
我做经典的
conan install . --output-folder=build --build=missing
。
一切都很好,直到柯南尝试安装所需的库Audiopulse,并在这里停止并出现此错误
CCLD librtp.la
/usr/bin/ld: /home/etienne/.conan2/p/mpg120f2357dca7957/p/lib/libmpg123.a(libmpg123_la-libmpg123.o): in function `mpg123_eq_change':
libmpg123.c:(.text+0xe6d): undefined reference to `__exp_finite'
/usr/bin/ld: libmpg123.c:(.text+0x1045): undefined reference to `__exp_finite'
/usr/bin/ld: libmpg123.c:(.text+0x1220): undefined reference to `__exp_finite'
/usr/bin/ld: /home/etienne/.conan2/p/mpg120f2357dca7957/p/lib/libmpg123.a(libmpg123_la-frame.o): in function `INT123_do_rva':
frame.c:(.text+0x18ee): undefined reference to `__exp_finite'
/usr/bin/ld: /home/etienne/.conan2/p/mpg120f2357dca7957/p/lib/libmpg123.a(libmpg123_la-frame.o): in function `mpg123_volume_change_db':
frame.c:(.text+0x1a8a): undefined reference to `__exp_finite'
/usr/bin/ld: /home/etienne/.conan2/p/mpg120f2357dca7957/p/lib/libmpg123.a(libmpg123_la-tabinit.o): in function `INT123_make_conv16to8_table':
tabinit.c:(.text+0xfab): undefined reference to `__log_finite'
/usr/bin/ld: tabinit.c:(.text+0x1009): undefined reference to `__log_finite'
/usr/bin/ld: /home/etienne/.conan2/p/mpg120f2357dca7957/p/lib/libmpg123.a(libmpg123_la-layer3.o): in function `INT123_init_layer3_gainpow2_mmx':
layer3.c:(.text+0x3fdb): undefined reference to `__exp2_finite'
/usr/bin/ld: /home/etienne/.conan2/p/mpg120f2357dca7957/p/lib/libmpg123.a(libmpg123_la-layer3.o): in function `INT123_init_layer3_gainpow2':
layer3.c:(.text+0x402b): undefined reference to `__exp2_finite'
/usr/bin/ld: /home/etienne/.conan2/p/mpg120f2357dca7957/p/lib/libmpg123.a(libmpg123_la-libmpg123.o): in function `mpg123_eq_change':
libmpg123.c:(.text+0xe6d): undefined reference to `__exp_finite'
/usr/bin/ld: libmpg123.c:(.text+0x1045): undefined reference to `__exp_finite'
/usr/bin/ld: libmpg123.c:(.text+0x1220): undefined reference to `__exp_finite'
/usr/bin/ld: /home/etienne/.conan2/p/mpg120f2357dca7957/p/lib/libmpg123.a(libmpg123_la-frame.o): in function `INT123_do_rva':
frame.c:(.text+0x18ee): undefined reference to `__exp_finite'
/usr/bin/ld: /home/etienne/.conan2/p/mpg120f2357dca7957/p/lib/libmpg123.a(libmpg123_la-frame.o): in function `mpg123_volume_change_db':
frame.c:(.text+0x1a8a): undefined reference to `__exp_finite'
/usr/bin/ld: /home/etienne/.conan2/p/mpg120f2357dca7957/p/lib/libmpg123.a(libmpg123_la-tabinit.o): in function `INT123_make_conv16to8_table':
tabinit.c:(.text+0xfab): undefined reference to `__log_finite'
/usr/bin/ld: tabinit.c:(.text+0x1009): undefined reference to `__log_finite'
/usr/bin/ld: /home/etienne/.conan2/p/mpg120f2357dca7957/p/lib/libmpg123.a(libmpg123_la-layer3.o): in function `INT123_init_layer3_gainpow2_mmx':
layer3.c:(.text+0x3fdb): undefined reference to `__exp2_finite'
/usr/bin/ld: /home/etienne/.conan2/p/mpg120f2357dca7957/p/lib/libmpg123.a(libmpg123_la-layer3.o): in function `INT123_init_layer3_gainpow2':
layer3.c:(.text+0x402b): undefined reference to `__exp2_finite'
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:7149 : pacat] Erreur 1
make[3]: *** Attente des tâches non terminées....
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:7167 : pactl] Erreur 1
ar: `u' modifier ignored since `D' is the default (see `U')
ar: `u' modifier ignored since `D' is the default (see `U')
ar: `u' modifier ignored since `D' is the default (see `U')
ar: `u' modifier ignored since `D' is the default (see `U')
ar: `u' modifier ignored since `D' is the default (see `U')
ar: `u' modifier ignored since `D' is the default (see `U')
make[3] : on quitte le répertoire « /home/etienne/.conan2/p/b/pulsec07d56d7019eb/b/build-release/src »
make[2]: *** [Makefile:5348 : all] Erreur 2
make[2] : on quitte le répertoire « /home/etienne/.conan2/p/b/pulsec07d56d7019eb/b/build-release/src »
make[1]: *** [Makefile:828 : all-recursive] Erreur 1
make[1] : on quitte le répertoire « /home/etienne/.conan2/p/b/pulsec07d56d7019eb/b/build-release »
make: *** [Makefile:643 : all] Erreur 2
pulseaudio/13.0: ERROR:
Package '8cbe13a46946620a9a894d9f1850dca80d619f0b' build failed
pulseaudio/13.0: WARN: Build folder /home/etienne/.conan2/p/b/pulsec07d56d7019eb/b/build-release
*********************************************************
Recipe 'pulseaudio/13.0' cannot build its binary
It is possible that this recipe is not Conan 2.0 ready
If the recipe comes from ConanCenter check: https://conan.io/cci-v2.html
If it is your recipe, check if it is updated to 2.0
*********************************************************
ERROR: pulseaudio/13.0: Error in build() method, line 128
autotools.make()
ConanException: Error 2 while executing
这是日志的最后部分,但这里是完整日志,但错误似乎在最后。
预先感谢您的帮助,
我尝试仅安装 Audiopulse,并使用 conan 服务器上建议的三个不同版本,但效果相同。