problem to build alsa shared library for arm platform

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

 



Hi All,

 we want to use alsa library for arm platform.
  while configuration we specified option for shared library.
  but its alwaye creating static library after compilation.
  when we build the test application pcm_min.c we got the
  following error.

   /usr/lib_alsa/libasound.a(pcm_ladspa.o)(.text+0x194): In function
`snd_pcm_ladspa_free_plugins':
/home/susovan/alsa/lib/alsa-lib-1.0.14rc4/src/pcm/pcm_ladspa.c:188:
undefined reference to `dlclose'
/usr/lib_alsa/libasound.a(pcm_ladspa.o)(.text+0xd28): In function
`snd_pcm_ladspa_connect_controls':
/home/susovan/alsa/lib/alsa-lib-1.0.14rc4/src/pcm/pcm_ladspa.c:515:
undefined reference to `log'
/usr/lib_alsa/libasound.a(pcm_ladspa.o)(.text+0xd50):/home/susovan/alsa/lib/
alsa-lib-1.0.14rc4/src/pcm/pcm_ladspa.c:515: undefined reference to `log'
/usr/lib_alsa/libasound.a(pcm_ladspa.o)(.text+0xd74):/home/susovan/alsa/lib/
alsa-lib-1.0.14rc4/src/pcm/pcm_ladspa.c:536: undefined reference to `exp'
/usr/lib_alsa/libasound.a(pcm_ladspa.o)(.text+0xd9c):/home/susovan/alsa/lib/
alsa-lib-1.0.14rc4/src/pcm/pcm_ladspa.c:526: undefined reference to `sqrtf'
/usr/lib_alsa/libasound.a(pcm_ladspa.o)(.text+0xdac):/home/susovan/alsa/lib/
alsa-lib-1.0.14rc4/src/pcm/pcm_ladspa.c:536: undefined reference to `log'
/usr/lib_alsa/libasound.a(pcm_ladspa.o)(.text+0xdd4):/home/susovan/alsa/lib/
alsa-lib-1.0.14rc4/src/pcm/pcm_ladspa.c:536: undefined reference to `log'
/usr/lib_alsa/libasound.a(pcm_ladspa.o)(.text+0x1fac): In function
`snd_pcm_ladspa_check_file':
/home/susovan/alsa/lib/alsa-lib-1.0.14rc4/src/pcm/pcm_ladspa.c:1087:
undefined reference to `dlopen'
/usr/lib_alsa/libasound.a(pcm_ladspa.o)(.text+0x1fc0):/home/susovan/alsa/lib
/alsa-lib-1.0.14rc4/src/pcm/pcm_ladspa.c:1089: undefined reference to
`dlsym'
/usr/lib_alsa/libasound.a(pcm_ladspa.o)(.text+0x20b8):/home/susovan/alsa/lib
/alsa-lib-1.0.14rc4/src/pcm/pcm_ladspa.c:1132: undefined reference to
`dlclose'
/usr/lib_alsa/libasound.a(pcm_ladspa.o)(.text+0x20e0):/home/susovan/alsa/lib
/alsa-lib-1.0.14rc4/src/pcm/pcm_ladspa.c:1124: undefined reference to
`dlclose'
/usr/lib_alsa/libasound.a(dlmisc.o)(.text+0xc): In function `snd_dlopen':
/home/susovan/alsa/lib/alsa-lib-1.0.14rc4/src/dlmisc.c:64: undefined
reference to `dlopen'
/usr/lib_alsa/libasound.a(dlmisc.o)(.text+0x24): In function `snd_dlclose':
/home/susovan/alsa/lib/alsa-lib-1.0.14rc4/src/dlmisc.c:85: undefined
reference to `dlclose'
/usr/lib_alsa/libasound.a(dlmisc.o)(.text+0xa8): In function
`snd_dlsym_verify':
/home/susovan/alsa/lib/alsa-lib-1.0.14rc4/src/dlmisc.c:115: undefined
reference to `dlsym'
/usr/lib_alsa/libasound.a(dlmisc.o)(.text+0x144): In function `snd_dlsym':
/home/susovan/alsa/lib/alsa-lib-1.0.14rc4/src/dlmisc.c:161: undefined
reference to `dlsym'
/usr/lib_alsa/libasound.a(pcm_meter.o)(.text+0x74c): In function
`snd_pcm_meter_avail_update':
/home/susovan/alsa/lib/alsa-lib-1.0.14rc4/src/pcm/pcm_meter.c:106: undefined
reference to `pthread_mutex_trylock'
/usr/lib_alsa/libasound.a(pcm_meter.o)(.text+0xa54): In function
`snd_pcm_meter_hw_params':
/home/susovan/alsa/lib/alsa-lib-1.0.14rc4/src/pcm/pcm_meter.c:470: undefined
reference to `pthread_create'
/usr/lib_alsa/libasound.a(pcm_meter.o)(.text+0xaec): In function
`snd_pcm_meter_hw_free':
/home/susovan/alsa/lib/alsa-lib-1.0.14rc4/src/pcm/pcm_meter.c:483: undefined
reference to `pthread_join'
/usr/lib_alsa/libasound.a(pcm_meter.o)(.text+0xf84): In function
`snd_pcm_meter_add_scope_conf':
/home/susovan/alsa/lib/alsa-lib-1.0.14rc4/src/pcm/pcm_meter.c:664: undefined
reference to `dlsym'
/usr/lib_alsa/libasound.a(pcm_route.o)(.text+0x12c8): In function
`snd_pcm_route_convert1_many':
/home/susovan/alsa/lib/alsa-lib-1.0.14rc4/src/pcm/pcm_route.c:453: undefined
reference to `rint'
/usr/lib_alsa/libasound.a(pcm_share.o)(.text+0x1dd0): In function
`snd_pcm_share_close':
/home/susovan/alsa/lib/alsa-lib-1.0.14rc4/src/pcm/pcm_share.c:1243:
undefined reference to `pthread_join'
/usr/lib_alsa/libasound.a(pcm_share.o)(.text+0x21b8): In function
`snd_pcm_share_open':
/home/susovan/alsa/lib/alsa-lib-1.0.14rc4/src/pcm/pcm_share.c:1474:
undefined reference to `pthread_create'
/usr/lib_alsa/libasound.a(pcm_softvol.o)(.text+0x18a4): In function
`softvol_load_control':
/home/susovan/alsa/lib/alsa-lib-1.0.14rc4/src/pcm/pcm_softvol.c:665:
undefined reference to `pow'


we tried with the following releases-
        1)alsa-lib-1.0.14
        2) alsa-lib-1.0.14a
        3)alsa-lib-1.0.14rc4
But when we tried to build alsa library for x68 platform we did not face
this problem.

Can any one help me to understand and solve this problem?

Thank you

Susovan Ghosh
Engineer (D&D )
PRDE
Ph No:-998667320
Bangalore-560048


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user

[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux