Menu

#80 trunk head bfin-uclinux toolchain fails to find snd_ctl_open when build alsa utils

master head
closed
nobody
None
middle
none
BF537
2014-08-29
2014-08-28
panmingquan
No

trunk head bfin-uclinux toolchain fails to find snd_ctl_open when building alsa utils.

...
configure:6980: result: yes
configure:7019: checking for ALSA CFLAGS
configure:7025: result:
configure:7028: checking for ALSA LDFLAGS
configure:7037: result: -lasound -lm -ldl -lpthread
configure:7042: checking for libasound headers version >= 1.0.24
configure:7104: /home/test/workspace/src/kernel/label/BF609-EZKIT-FLAT/output/host/usr/bin/bfin-uclinux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -Os -Wl,-elf2flt -DNOMMU -DuClinux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5
configure:7104: $? = 0
configure:7105: result: found.
configure:7124: checking for snd_ctl_open in -lasound
configure:7149: /home/test/workspace/src/kernel/label/BF609-EZKIT-FLAT/output/host/usr/bin/bfin-uclinux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -Os -Wl,-elf2flt -DNOMMU -DuClinux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -elf2flt --static conftest.c -lasound -lasound -lm -ldl -lpthread >&5
/home/test/workspace/src/kernel/label/BF609-EZKIT-FLAT/output/host/usr/bfin-buildroot-uclinux-uclibc/sysroot/usr/lib/libasound.a(pcm_dmix.o): In function `_snd_pcm_dmix_start_timer':
pcm_dmix.c:(.text+0x53a): warning:
/opt/uClinux.2014_Jul_29_13_54/bfin-uclinux/bfin-uclinux/bin/ld.real: cannot find -ldl
collect2: ld returned 1 exit status
configure:7149: $? = 1
configure: failed program was:
| / confdefs.h /
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "alsa-utils"
| #define VERSION "1.0.26"
| / end confdefs.h. /
|
| / Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply.
/
| #ifdef __cplusplus
| extern "C"
| #endif
| char snd_ctl_open ();
| int
| main ()
| {
| return snd_ctl_open ();
| ;
| return 0;
| }
configure:7158: result: no
configure:7168: error: No linkable libasound was found.

Discussion

  • panmingquan

    panmingquan - 2014-08-28

    checking whether NLS is requested... no
    checking for msgfmt... /home/test/workspace/src/kernel/label/BF609-EZKIT-FLAT/output/host/usr/bin/msgfmt
    checking for gmsgfmt... /home/test/workspace/src/kernel/label/BF609-EZKIT-FLAT/output/host/usr/bin/msgfmt
    checking for xgettext... /home/test/workspace/src/kernel/label/BF609-EZKIT-FLAT/output/host/usr/bin/xgettext
    checking for msgmerge... /home/test/workspace/src/kernel/label/BF609-EZKIT-FLAT/output/host/usr/bin/msgmerge
    checking for style of include used by make... GNU
    checking for bfin-buildroot-uclinux-uclibc-gcc... /home/test/workspace/src/kernel/label/BF609-EZKIT-FLAT/output/host/usr/bin/bfin-uclinux-gcc
    checking whether the C compiler works... yes
    checking for C compiler default output file name... a.out
    checking for suffix of executables...
    checking whether we are cross compiling... yes
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether /home/test/workspace/src/kernel/label/BF609-EZKIT-FLAT/output/host/usr/bin/bfin-uclinux-gcc accepts -g... yes
    checking for /home/test/workspace/src/kernel/label/BF609-EZKIT-FLAT/output/host/usr/bin/bfin-uclinux-gcc option to accept ISO C89... none needed
    checking dependency style of /home/test/workspace/src/kernel/label/BF609-EZKIT-FLAT/output/host/usr/bin/bfin-uclinux-gcc... gcc3
    checking build system type... i686-pc-linux-gnu
    checking host system type... bfin-buildroot-uclinux-uclibc
    checking for ld used by GCC... /home/test/workspace/src/kernel/label/BF609-EZKIT-FLAT/output/host/usr/bin/bfin-uclinux-ld
    checking if the linker (/home/test/workspace/src/kernel/label/BF609-EZKIT-FLAT/output/host/usr/bin/bfin-uclinux-ld) is GNU ld... yes
    checking for shared library run path origin... done
    checking how to run the C preprocessor... /home/test/workspace/src/kernel/label/BF609-EZKIT-FLAT/output/host/usr/bin/bfin-uclinux-cpp
    checking for grep that handles long lines and -e... /bin/grep
    checking for egrep... /bin/grep -E
    checking for CFPreferencesCopyAppValue... no
    checking for CFLocaleCopyCurrent... no
    checking whether to use NLS... no
    checking for bfin-buildroot-uclinux-uclibc-gcc... (cached) /home/test/workspace/src/kernel/label/BF609-EZKIT-FLAT/output/host/usr/bin/bfin-uclinux-gcc
    checking whether we are using the GNU C compiler... (cached) yes
    checking whether /home/test/workspace/src/kernel/label/BF609-EZKIT-FLAT/output/host/usr/bin/bfin-uclinux-gcc accepts -g... (cached) yes
    checking for /home/test/workspace/src/kernel/label/BF609-EZKIT-FLAT/output/host/usr/bin/bfin-uclinux-gcc option to accept ISO C89... (cached) none needed
    checking dependency style of /home/test/workspace/src/kernel/label/BF609-EZKIT-FLAT/output/host/usr/bin/bfin-uclinux-gcc... (cached) gcc3
    checking whether ln -s works... yes
    checking for a sed that does not truncate output... /bin/sed
    checking pkg-config is at least version 0.9.0... yes
    checking for ALSA CFLAGS...
    checking for ALSA LDFLAGS... -lasound -lm -ldl -lpthread
    checking for libasound headers version >= 1.0.24... found.
    checking for snd_ctl_open in -lasound... no
    configure: error: No linkable libasound was found.
    make: *** [/home/test/workspace/src/kernel/label/BF609-EZKIT-FLAT/output/build/alsa-utils-1.0.26/.stamp_configured] Error 1
    test@linux88-bf609-flat:~/workspace/src/kernel/label/BF609-EZKIT-FLAT$

     
  • panmingquan

    panmingquan - 2014-08-29

    Since alsa utils is not supported to be built into flat format.
    So close this issue.

     
  • panmingquan

    panmingquan - 2014-08-29
    • status: open --> closed
     

Log in to post a comment.