Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ld.lld default version symbol snd_dlopen@@ALSA_1.1.6 must be defined #433

Open
trcrsired opened this issue Jan 5, 2025 · 1 comment
Open

Comments

@trcrsired
Copy link

clang: warning: argument unused during compilation: '--unwindlib=libunwind' [-Wunused-command-line-argument]
  CCLD     libasound.la
ld.lld: error: seq/.libs/libseq.a(seq.o at 50494) <inline asm>:1:1: default version symbol snd_dlopen@@ALSA_1.1.6 must be defined
.symver __snd_dlopen, snd_dlopen@@ALSA_1.1.6
^


ld.lld: error: pcm/.libs/libpcm.a(pcm_direct.o at 2925704) <inline asm>:1:1: default version symbol snd_pcm_hw_params_set_format_first@@ALSA_0.9.0rc4 must be defined
.symver __snd_pcm_hw_params_set_format_first, snd_pcm_hw_params_set_format_first@@ALSA_0.9.0rc4
^


ld.lld: error: pcm/.libs/libpcm.a(pcm_direct.o at 2925704) <inline asm>:2:1: default version symbol snd_pcm_hw_params_set_channels_near@@ALSA_0.9.0rc4 must be defined
.symver __snd_pcm_hw_params_set_channels_near, snd_pcm_hw_params_set_channels_near@@ALSA_0.9.0rc4
^


ld.lld: error: pcm/.libs/libpcm.a(pcm_direct.o at 2925704) <inline asm>:3:1: default version symbol snd_pcm_hw_params_set_rate_near@@ALSA_0.9.0rc4 must be defined
.symver __snd_pcm_hw_params_set_rate_near, snd_pcm_hw_params_set_rate_near@@ALSA_0.9.0rc4
^


ld.lld: error: pcm/.libs/libpcm.a(pcm_direct.o at 2925704) <inline asm>:4:1: default version symbol snd_pcm_hw_params_set_period_time_near@@ALSA_0.9.0rc4 must be defined
.symver __snd_pcm_hw_params_set_period_time_near, snd_pcm_hw_params_set_period_time_near@@ALSA_0.9.0rc4
^


ld.lld: error: pcm/.libs/libpcm.a(pcm_direct.o at 2925704) <inline asm>:5:1: default version symbol snd_pcm_hw_params_set_period_size_near@@ALSA_0.9.0rc4 must be defined
.symver __snd_pcm_hw_params_set_period_size_near, snd_pcm_hw_params_set_period_size_near@@ALSA_0.9.0rc4
^


ld.lld: error: pcm/.libs/libpcm.a(pcm_direct.o at 2925704) <inline asm>:6:1: default version symbol snd_pcm_hw_params_set_periods_near@@ALSA_0.9.0rc4 must be defined
.symver __snd_pcm_hw_params_set_periods_near, snd_pcm_hw_params_set_periods_near@@ALSA_0.9.0rc4
^


ld.lld: error: pcm/.libs/libpcm.a(pcm_direct.o at 2925704) <inline asm>:7:1: default version symbol snd_pcm_hw_params_set_buffer_time_near@@ALSA_0.9.0rc4 must be defined
.symver __snd_pcm_hw_params_set_buffer_time_near, snd_pcm_hw_params_set_buffer_time_near@@ALSA_0.9.0rc4
^


ld.lld: error: pcm/.libs/libpcm.a(pcm_direct.o at 2925704) <inline asm>:8:1: default version symbol snd_pcm_hw_params_set_buffer_size_near@@ALSA_0.9.0rc4 must be defined
.symver __snd_pcm_hw_params_set_buffer_size_near, snd_pcm_hw_params_set_buffer_size_near@@ALSA_0.9.0rc4
^


ld.lld: error: pcm/.libs/libpcm.a(pcm_direct.o at 2925704) <inline asm>:9:1: default version symbol snd_timer_params_set_filter@@ALSA_0.9.0 must be defined
.symver __snd_timer_params_set_filter, snd_timer_params_set_filter@@ALSA_0.9.0
^


ld.lld: error: .libs/conf.o <inline asm>:1:1: default version symbol snd_dlopen@@ALSA_1.1.6 must be defined
.symver __snd_dlopen, snd_dlopen@@ALSA_1.1.6
^


ld.lld: error: pcm/.libs/libpcm.a(pcm_hw.o at 720480) <inline asm>:1:1: default version symbol snd_timer_params_set_filter@@ALSA_0.9.0 must be defined
.symver __snd_timer_params_set_filter, snd_timer_params_set_filter@@ALSA_0.9.0
^


ld.lld: error: pcm/.libs/libpcm.a(pcm_params.o at 544772) <inline asm>:1:1: default version symbol snd_pcm_hw_params_get_access@@ALSA_0.9.0rc4 must be defined
.symver __snd_pcm_hw_params_get_access, snd_pcm_hw_params_get_access@@ALSA_0.9.0rc4
^


ld.lld: error: pcm/.libs/libpcm.a(pcm_params.o at 544772) <inline asm>:2:1: default version symbol snd_pcm_hw_params_get_format@@ALSA_0.9.0rc4 must be defined
.symver __snd_pcm_hw_params_get_format, snd_pcm_hw_params_get_format@@ALSA_0.9.0rc4
^


ld.lld: error: pcm/.libs/libpcm.a(pcm_params.o at 544772) <inline asm>:3:1: default version symbol snd_pcm_hw_params_get_subformat@@ALSA_0.9.0rc4 must be defined
.symver __snd_pcm_hw_params_get_subformat, snd_pcm_hw_params_get_subformat@@ALSA_0.9.0rc4
^


ld.lld: error: pcm/.libs/libpcm.a(pcm_params.o at 544772) <inline asm>:4:1: default version symbol snd_pcm_hw_params_get_channels@@ALSA_0.9.0rc4 must be defined
.symver __snd_pcm_hw_params_get_channels, snd_pcm_hw_params_get_channels@@ALSA_0.9.0rc4
^


ld.lld: error: pcm/.libs/libpcm.a(pcm_params.o at 544772) <inline asm>:5:1: default version symbol snd_pcm_hw_params_get_rate@@ALSA_0.9.0rc4 must be defined
.symver __snd_pcm_hw_params_get_rate, snd_pcm_hw_params_get_rate@@ALSA_0.9.0rc4
^


ld.lld: error: pcm/.libs/libpcm.a(pcm_params.o at 544772) <inline asm>:6:1: default version symbol snd_pcm_hw_params_get_period_time@@ALSA_0.9.0rc4 must be defined
.symver __snd_pcm_hw_params_get_period_time, snd_pcm_hw_params_get_period_time@@ALSA_0.9.0rc4
^


ld.lld: error: pcm/.libs/libpcm.a(pcm_params.o at 544772) <inline asm>:7:1: default version symbol snd_pcm_hw_params_get_period_size@@ALSA_0.9.0rc4 must be defined
.symver __snd_pcm_hw_params_get_period_size, snd_pcm_hw_params_get_period_size@@ALSA_0.9.0rc4
^


ld.lld: error: pcm/.libs/libpcm.a(pcm_params.o at 544772) <inline asm>:8:1: default version symbol snd_pcm_hw_params_get_buffer_size@@ALSA_0.9.0rc4 must be defined
.symver __snd_pcm_hw_params_get_buffer_size, snd_pcm_hw_params_get_buffer_size@@ALSA_0.9.0rc4
^


ld.lld: error: too many errors emitted, stopping now (use --error-limit=0 to see all errors)
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [Makefile:506: libasound.la] Error 1
make[3]: Leaving directory '/home/csrg/toolchains_build/toolchainbuildscripts/wine/.wineartifacts/aarch64-linux-gnu/alsa-lib/src'
make[2]: *** [Makefile:567: all-recursive] Error 1
make[2]: Leaving directory '/home/csrg/toolchains_build/toolchainbuildscripts/wine/.wineartifacts/aarch64-linux-gnu/alsa-lib/src'
make[1]: *** [Makefile:436: all] Error 2
make[1]: Leaving directory '/home/csrg/toolchains_build/toolchainbuildscripts/wine/.wineartifacts/aarch64-linux-gnu/alsa-lib/src'
make: *** [Makefile:414: all-recursive] Error 1
alsa-lib build failure
@trcrsired trcrsired changed the title default version symbol snd_dlopen@@ALSA_1.1.6 must be defined ld.lld default version symbol snd_dlopen@@ALSA_1.1.6 must be defined Jan 5, 2025
@perexg
Copy link
Member

perexg commented Feb 1, 2025

Cannot reproduce with clang version 19.1.7:

$ CC=clang ./configure 
$ make
$ nm src/.libs/libasound.so | grep snd_dlopen
0000000000010b40 T snd_dlopen@ALSA_0.9
0000000000010a80 T snd_dlopen@@ALSA_1.1.6
$ clang --version
clang version 19.1.7 (Fedora 19.1.7-1.fc41)
Target: x86_64-redhat-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
Configuration file: /etc/clang/x86_64-redhat-linux-gnu-clang.cfg

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants