This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How to install ALSA library onto AM3359 SK board?

Hi,

First of all, when I build ALSA example project following link:

processors.wiki.ti.com/.../Sitara_Linux_Audio_Sample_Application_Overview

I find that it may be lack the ALSA library on the SDK. Is it true (I need to download ALSA library)?


Then, I have downloaded ALSA lib (the latest stable release) from:

ftp://ftp.alsa-project.org/pub/lib/




There is a thread on install ALSA:
http://mailman.alsa-project.org/pipermail/alsa-devel/2011-February/036595.html


Hello alls:
Please help.
I also cross compiled alsa utils trhough CodeSourcery:

PATH=$PATH:/opt/arm-2007q1/bin
CC=arm-none-linux-gnueabi-gcc ./configure --host=i686-pc-linux-gnu \
      --target=arm-none-linux-gnueabi \
      --with-alsa-prefix=/usr/lib \
      --with-alsa-inc-prefix=/usr/include/alsa


After modifying the above command with the difference of my computer:

$ PATH=$PATH:/home/uj/ti-

processor-sdk-linux-am335x-evm-01.00.00.03/linux-devkit/sysroots/i686-arago-linux/usr/bin
uj@uj-MS:~/ti-processor-sdk-linux-am335x-evm-01.00.00.03/linux-devkit/alsa-lib$ CC=arm-linux-gnueabihf-gcc ./configure --host=i686-pc-linux-gnu \
>       --target=arm-linux-gnueabi \
>       --with-alsa-prefix=/home/u64rj/ti-processor-sdk-linux-am335x-evm-01.00.00.03/linux-devkit/alsa-lib/lib \
>       --with-alsa-inc-prefix=/home/u64rj/ti-processor-sdk-linux-am335x-evm-01.00.00.03/linux-devkit/alsa-lib/include/alsa
loading cache ./config.cache
checking for gcc... arm-linux-gnueabihf-gcc
checking whether the C compiler (arm-linux-gnueabihf-gcc  ) works... yes
checking whether the C compiler (arm-linux-gnueabihf-gcc  ) is a cross-compiler... yes
checking whether we are using GNU C... yes
checking whether arm-linux-gnueabihf-gcc accepts -g... yes
checking for ranlib... ranlib
checking for a BSD compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking how to run the C preprocessor... arm-linux-gnueabihf-gcc -E
checking for ANSI C header files... yes
checking for linux/sound.h... yes
checking for working const... yes
checking for inline... inline
checking whether byte ordering is bigendian... no
checking whether time.h and sys/time.h may both be included... yes
checking whether arm-linux-gnueabihf-gcc needs -traditional... no
checking for alsa-driver package... not supported
Fatal error: Cross-compiling isn't supported...

It has the fatal error. Could you help on spotting what is the problem on the library building on my Sitara SK board?

Thanks,
  • Excuse me,  I find that the needed library is not the latest, it is 1.0.29. After download it, I want to get the docxygen. When I build it following the README.1st:

    ~/alsa-lib-1.0.29

    $ make doc

    make: Nothing to be done for `doc'.

    What is wrong in building the help doc?

    Thanks,

  • Hi,
    Open the Makefile and see if any make rule is available for doing make for "doc"


    uj@uj-MS:~/ti-processor-sdk-linux-am335x-evm-01.00.00.03/linux-devkit/alsa-lib$ CC=arm-linux-gnueabihf-gcc ./configure --host=i686-pc-linux-gnu \
    > --target=arm-linux-gnueabi \
    > --with-alsa-prefix=/home/u64rj/ti-processor-sdk-linux-am335x-evm-01.00.00.03/linux-devkit/alsa-lib/lib \
    > --with-alsa-inc-prefix=/home/u64rj/ti-processor-sdk-linux-am335x-evm-01.00.00.03/linux-devkit/alsa-lib/include/alsa

    Try this.

    uj@uj-MS:~/ti-processor-sdk-linux-am335x-evm-01.00.00.03/linux-devkit/alsa-lib$ CC=arm-linux-gnueabihf-gcc
    uj@uj-MS:~/ti-processor-sdk-linux-am335x-evm-01.00.00.03/linux-devkit/alsa-lib$ ./configure --host=i686-pc-linux-gnu --target=arm-linux-gnueabihf --with-alsa-prefix=/home/u64rj/ti-processor-sdk-linux-am335x-evm-01.00.00.03/linux-devkit/alsa-lib/lib --with-alsa-inc-prefix=/home/u64rj/ti-processor-sdk-linux-am335x-evm-01.00.00.03/linux-devkit/alsa-lib/include/alsa
  • Thank you for the correction. Now it looks like problems still exist.

    ./configure --host=i686-pc-linux-gnu --target=arm-linux-gnueabihf --with-alsa-prefix=/home/u64rj/ti-processor-sdk-linux-am335x-evm-01.00.00.03/linux-devkit/sysroots/alsa-lib-1.0.29/lib --with-alsa-inc-prefix=/home/u64rj/ti-processor-sdk-linux-am335x-evm-01.00.00.03/linux-devkit/sysroots/alsa-lib-1.0.29/include/alsa

    configure: WARNING: unrecognized options: --with-alsa-prefix, --with-alsa-inc-prefix

    checking build system type... x86_64-unknown-linux-gnu

    checking host system type... i686-pc-linux-gnu

    checking for a BSD-compatible install... /usr/bin/install -c

    checking whether build environment is sane... yes

    checking for i686-pc-linux-gnu-strip... no

    checking for strip... strip

    checking for a thread-safe mkdir -p... /bin/mkdir -p

    checking for gawk... no

    checking for mawk... mawk

    checking whether make sets $(MAKE)... yes

    checking whether to enable maintainer-specific portions of Makefiles... yes

    checking whether make supports nested variables... yes

    checking for cross-compiler...

    checking for i686-pc-linux-gnu-gcc... no

    checking for gcc... 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... no

    checking for suffix of object files... o

    checking whether we are using the GNU C compiler... yes

    checking whether gcc accepts -g... yes

    checking for gcc option to accept ISO C89... none needed

    checking for style of include used by make... GNU

    checking dependency style of gcc... gcc3

    checking how to run the C preprocessor... gcc -E

    checking whether ln -s works... yes

    checking how to print strings... printf

    checking for a sed that does not truncate output... /bin/sed

    checking for grep that handles long lines and -e... /bin/grep

    checking for egrep... /bin/grep -E

    checking for fgrep... /bin/grep -F

    checking for ld used by gcc... /usr/bin/ld

    checking if the linker (/usr/bin/ld) is GNU ld... yes

    checking for BSD- or MS-compatible name lister (nm)... no

    checking for i686-pc-linux-gnu-dumpbin... no

    checking for i686-pc-linux-gnu-link... no

    checking for dumpbin... no

    checking for link... link -dump

    checking the name lister (nm) interface... BSD nm

    checking the maximum length of command line arguments... 1572864

    checking whether the shell understands some XSI constructs... yes

    checking whether the shell understands "+="... yes

    checking how to convert x86_64-unknown-linux-gnu file names to i686-pc-linux-gnu format... func_convert_file_noop

    checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop

    checking for /usr/bin/ld option to reload object files... -r

    checking for i686-pc-linux-gnu-objdump... no

    checking for objdump... objdump

    checking how to recognize dependent libraries... pass_all

    checking for i686-pc-linux-gnu-dlltool... no

    checking for dlltool... no

    checking how to associate runtime and link libraries... printf %s\n

    checking for i686-pc-linux-gnu-ar... no

    checking for ar... ar

    checking for archiver @FILE support... @

    checking for i686-pc-linux-gnu-strip... strip

    checking for i686-pc-linux-gnu-ranlib... no

    checking for ranlib... ranlib

    checking command to parse nm output from gcc object... ok

    checking for sysroot... no

    checking for i686-pc-linux-gnu-mt... no

    checking for mt... mt

    checking if mt is a manifest tool... no

    checking for ANSI C header files... yes

    checking for sys/types.h... yes

    checking for sys/stat.h... yes

    checking for stdlib.h... yes

    checking for string.h... yes

    checking for memory.h... yes

    checking for strings.h... yes

    checking for inttypes.h... yes

    checking for stdint.h... yes

    checking for unistd.h... yes

    checking for dlfcn.h... yes

    checking for objdir... .libs

    checking if gcc supports -fno-rtti -fno-exceptions... no

    checking for gcc option to produce PIC... -fPIC -DPIC

    checking if gcc PIC flag -fPIC -DPIC works... yes

    checking if gcc static flag -static works... yes

    checking if gcc supports -c -o file.o... yes

    checking if gcc supports -c -o file.o... (cached) yes

    checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes

    checking whether -lc should be explicitly linked in... no

    checking dynamic linker characteristics... GNU/Linux ld.so

    checking how to hardcode library paths into programs... immediate

    checking for shl_load... no

    checking for shl_load in -ldld... no

    checking for dlopen... no

    checking for dlopen in -ldl... yes

    checking whether a program can dlopen itself... yes

    checking whether a statically linked program can dlopen itself... no

    checking whether stripping libraries is possible... yes

    checking if libtool supports shared libraries... yes

    checking whether to build shared libraries... yes

    checking whether to build static libraries... no

    ./configure: line 11568: CC_NOUNDEFINED: command not found

    checking for ANSI C header files... (cached) yes

    checking for an ANSI C-conforming const... yes

    checking for inline... inline

    checking whether time.h and sys/time.h may both be included... yes

    checking whether gcc needs -traditional... no

    checking for uselocale... yes

    checking for library version... major 1 minor 0 subminor 29 extrastr  extraver 1000000

    checking for versioned symbols... yes

    checking for symbolic-functions... no

    checking for custom symbol prefixes...

    checking for debug... yes

    checking for debug assert... no

    checking for tmpdir... /tmp

    checking for softfloat... no

    checking for libdl... checking for dlsym in -ldl... yes

    checking for pthread... checking for pthread_join in -lpthread... yes

    checking for __thread... yes

    checking for librt... checking for clock_gettime in -lrt... yes

    checking wordexp.h usability... yes

    checking wordexp.h presence... yes

    checking for wordexp.h... yes

    checking endian.h usability... yes

    checking endian.h presence... yes

    checking for endian.h... yes

    checking sys/endian.h usability... no

    checking sys/endian.h presence... no

    checking for sys/endian.h... no

    checking for resmgr support... no

    checking for aload* support... yes

    checking for ALSA device file directory... /dev/snd/

    checking for aload* device file directory... /dev/

    ./configure: line 12642: python-config: command not found

    ./configure: line 12650: python-config: command not found

    Unable to determine python libraries! Probably python-config is not

    available on this system. Please, use --with-pythonlibs and

    --with-pythonincludes options. Python components are disabled in this build.

    checking whether GCC supports builtin atomic intrinsics... yes

    checking for max number of cards... 32

    checking that generated files are newer than configure... done

    configure: creating ./config.status

    config.status: creating Makefile

    config.status: creating doc/Makefile

    config.status: creating doc/pictures/Makefile

    config.status: creating doc/doxygen.cfg

    config.status: creating include/Makefile

    config.status: creating include/sound/Makefile

    config.status: creating src/Versions

    config.status: creating src/Makefile

    config.status: creating src/control/Makefile

    config.status: creating src/mixer/Makefile

    config.status: creating src/pcm/Makefile

    config.status: creating src/pcm/scopes/Makefile

    config.status: creating src/rawmidi/Makefile

    config.status: creating src/timer/Makefile

    config.status: creating src/hwdep/Makefile

    config.status: creating src/seq/Makefile

    config.status: creating src/ucm/Makefile

    config.status: creating src/alisp/Makefile

    config.status: creating src/conf/Makefile

    config.status: creating src/conf/alsa.conf.d/Makefile

    config.status: creating src/conf/cards/Makefile

    config.status: creating src/conf/pcm/Makefile

    config.status: creating src/conf/ucm/Makefile

    config.status: creating src/conf/ucm/DAISY-I2S/Makefile

    config.status: creating src/conf/ucm/PandaBoard/Makefile

    config.status: creating src/conf/ucm/PandaBoardES/Makefile

    config.status: creating src/conf/ucm/SDP4430/Makefile

    config.status: creating src/conf/ucm/tegraalc5632/Makefile

    config.status: creating src/conf/ucm/PAZ00/Makefile

    config.status: creating src/conf/ucm/GoogleNyan/Makefile

    config.status: creating modules/Makefile

    config.status: creating modules/mixer/Makefile

    config.status: creating modules/mixer/simple/Makefile

    config.status: creating alsalisp/Makefile

    config.status: creating aserver/Makefile

    config.status: creating test/Makefile

    config.status: creating test/lsb/Makefile

    config.status: creating utils/Makefile

    config.status: creating utils/alsa-lib.spec

    config.status: creating utils/alsa.pc

    config.status: creating include/config.h

    config.status: include/config.h is unchanged

    config.status: executing depfiles commands

    config.status: executing libtool commands

    configure: WARNING: unrecognized options: --with-alsa-prefix, --with-alsa-inc-prefix

    Creating asoundlib.h...

    For make, echo message is:

     

    $ make
    Making all in doc
    make[1]: Entering directory `/home/u64rj/ti-processor-sdk-linux-am335x-evm-01.00.00.03/linux-devkit/sysroots/alsa-lib-1.0.29/doc'
    Making all in pictures
    make[2]: Entering directory `/home/u64rj/ti-processor-sdk-linux-am335x-evm-01.00.00.03/linux-devkit/sysroots/alsa-lib-1.0.29/doc/pictures'
    make[2]: Nothing to be done for `all'.
    make[2]: Leaving directory `/home/u64rj/ti-processor-sdk-linux-am335x-evm-01.00.00.03/linux-devkit/sysroots/alsa-lib-1.0.29/doc/pictures'
    make[2]: Entering directory `/home/u64rj/ti-processor-sdk-linux-am335x-evm-01.00.00.03/linux-devkit/sysroots/alsa-lib-1.0.29/doc'
    make[2]: Nothing to be done for `all-am'.
    make[2]: Leaving directory `/home/u64rj/ti-processor-sdk-linux-am335x-evm-01.00.00.03/linux-devkit/sysroots/alsa-lib-1.0.29/doc'
    make[1]: Leaving directory `/home/u64rj/ti-processor-sdk-linux-am335x-evm-01.00.00.03/linux-devkit/sysroots/alsa-lib-1.0.29/doc'
    Making all in include
    make[1]: Entering directory `/home/u64rj/ti-processor-sdk-linux-am335x-evm-01.00.00.03/linux-devkit/sysroots/alsa-lib-1.0.29/include'
    make  all-recursive
    make[2]: Entering directory `/home/u64rj/ti-processor-sdk-linux-am335x-evm-01.00.00.03/linux-devkit/sysroots/alsa-lib-1.0.29/include'
    Making all in sound
    make[3]: Entering directory `/home/u64rj/ti-processor-sdk-linux-am335x-evm-01.00.00.03/linux-devkit/sysroots/alsa-lib-1.0.29/include/sound'
    make[3]: Nothing to be done for `all'.
    make[3]: Leaving directory `/home/u64rj/ti-processor-sdk-linux-am335x-evm-01.00.00.03/linux-devkit/sysroots/alsa-lib-1.0.29/include/sound'
    make[3]: Entering directory `/home/u64rj/ti-processor-sdk-linux-am335x-evm-01.00.00.03/linux-devkit/sysroots/alsa-lib-1.0.29/include'
    make[3]: Leaving directory `/home/u64rj/ti-processor-sdk-linux-am335x-evm-01.00.00.03/linux-devkit/sysroots/alsa-lib-1.0.29/include'
    make[2]: Leaving directory `/home/u64rj/ti-processor-sdk-linux-am335x-evm-01.00.00.03/linux-devkit/sysroots/alsa-lib-1.0.29/include'
    make[1]: Leaving directory `/home/u64rj/ti-processor-sdk-linux-am335x-evm-01.00.00.03/linux-devkit/sysroots/alsa-lib-1.0.29/include'
    Making all in src
    make[1]: Entering directory `/home/u64rj/ti-processor-sdk-linux-am335x-evm-01.00.00.03/linux-devkit/sysroots/alsa-lib-1.0.29/src'
    Making all in control
    make[2]: Entering directory `/home/u64rj/ti-processor-sdk-linux-am335x-evm-01.00.00.03/linux-devkit/sysroots/alsa-lib-1.0.29/src/control'
    make[2]: Nothing to be done for `all'.
    make[2]: Leaving directory `/home/u64rj/ti-processor-sdk-linux-am335x-evm-01.00.00.03/linux-devkit/sysroots/alsa-lib-1.0.29/src/control'
    Making all in mixer
    make[2]: Entering directory `/home/u64rj/ti-processor-sdk-linux-am335x-evm-01.00.00.03/linux-devkit/sysroots/alsa-lib-1.0.29/src/mixer'
      CC       simple_none.lo
      CC       simple_abst.lo
      CCLD     libmixer.la
    make[2]: Leaving directory `/home/u64rj/ti-processor-sdk-linux-am335x-evm-01.00.00.03/linux-devkit/sysroots/alsa-lib-1.0.29/src/mixer'
    Making all in pcm
    make[2]: Entering directory `/home/u64rj/ti-processor-sdk-linux-am335x-evm-01.00.00.03/linux-devkit/sysroots/alsa-lib-1.0.29/src/pcm'
    make[3]: Entering directory `/home/u64rj/ti-processor-sdk-linux-am335x-evm-01.00.00.03/linux-devkit/sysroots/alsa-lib-1.0.29/src/pcm'
    make[3]: Nothing to be done for `all-am'.
    make[3]: Leaving directory `/home/u64rj/ti-processor-sdk-linux-am335x-evm-01.00.00.03/linux-devkit/sysroots/alsa-lib-1.0.29/src/pcm'
    make[2]: Leaving directory `/home/u64rj/ti-processor-sdk-linux-am335x-evm-01.00.00.03/linux-devkit/sysroots/alsa-lib-1.0.29/src/pcm'
    Making all in timer
    make[2]: Entering directory `/home/u64rj/ti-processor-sdk-linux-am335x-evm-01.00.00.03/linux-devkit/sysroots/alsa-lib-1.0.29/src/timer'
    make[2]: Nothing to be done for `all'.
    make[2]: Leaving directory `/home/u64rj/ti-processor-sdk-linux-am335x-evm-01.00.00.03/linux-devkit/sysroots/alsa-lib-1.0.29/src/timer'
    Making all in rawmidi
    make[2]: Entering directory `/home/u64rj/ti-processor-sdk-linux-am335x-evm-01.00.00.03/linux-devkit/sysroots/alsa-lib-1.0.29/src/rawmidi'
    make[2]: Nothing to be done for `all'.
    make[2]: Leaving directory `/home/u64rj/ti-processor-sdk-linux-am335x-evm-01.00.00.03/linux-devkit/sysroots/alsa-lib-1.0.29/src/rawmidi'
    Making all in hwdep
    make[2]: Entering directory `/home/u64rj/ti-processor-sdk-linux-am335x-evm-01.00.00.03/linux-devkit/sysroots/alsa-lib-1.0.29/src/hwdep'
    make[2]: Nothing to be done for `all'.
    make[2]: Leaving directory `/home/u64rj/ti-processor-sdk-linux-am335x-evm-01.00.00.03/linux-devkit/sysroots/alsa-lib-1.0.29/src/hwdep'
    Making all in seq
    make[2]: Entering directory `/home/u64rj/ti-processor-sdk-linux-am335x-evm-01.00.00.03/linux-devkit/sysroots/alsa-lib-1.0.29/src/seq'
    make[2]: Nothing to be done for `all'.
    make[2]: Leaving directory `/home/u64rj/ti-processor-sdk-linux-am335x-evm-01.00.00.03/linux-devkit/sysroots/alsa-lib-1.0.29/src/seq'
    Making all in ucm
    make[2]: Entering directory `/home/u64rj/ti-processor-sdk-linux-am335x-evm-01.00.00.03/linux-devkit/sysroots/alsa-lib-1.0.29/src/ucm'
    make[2]: Nothing to be done for `all'.
    make[2]: Leaving directory `/home/u64rj/ti-processor-sdk-linux-am335x-evm-01.00.00.03/linux-devkit/sysroots/alsa-lib-1.0.29/src/ucm'
    Making all in alisp
    make[2]: Entering directory `/home/u64rj/ti-processor-sdk-linux-am335x-evm-01.00.00.03/linux-devkit/sysroots/alsa-lib-1.0.29/src/alisp'
    make[2]: Nothing to be done for `all'.
    make[2]: Leaving directory `/home/u64rj/ti-processor-sdk-linux-am335x-evm-01.00.00.03/linux-devkit/sysroots/alsa-lib-1.0.29/src/alisp'
    Making all in conf
    make[2]: Entering directory `/home/u64rj/ti-processor-sdk-linux-am335x-evm-01.00.00.03/linux-devkit/sysroots/alsa-lib-1.0.29/src/conf'
    Making all in cards
    make[3]: Entering directory `/home/u64rj/ti-processor-sdk-linux-am335x-evm-01.00.00.03/linux-devkit/sysroots/alsa-lib-1.0.29/src/conf/cards'
    make[3]: Nothing to be done for `all'.
    make[3]: Leaving directory `/home/u64rj/ti-processor-sdk-linux-am335x-evm-01.00.00.03/linux-devkit/sysroots/alsa-lib-1.0.29/src/conf/cards'
    Making all in pcm
    make[3]: Entering directory `/home/u64rj/ti-processor-sdk-linux-am335x-evm-01.00.00.03/linux-devkit/sysroots/alsa-lib-1.0.29/src/conf/pcm'
    make[3]: Nothing to be done for `all'.
    make[3]: Leaving directory `/home/u64rj/ti-processor-sdk-linux-am335x-evm-01.00.00.03/linux-devkit/sysroots/alsa-lib-1.0.29/src/conf/pcm'
    Making all in alsa.conf.d
    make[3]: Entering directory `/home/u64rj/ti-processor-sdk-linux-am335x-evm-01.00.00.03/linux-devkit/sysroots/alsa-lib-1.0.29/src/conf/alsa.conf.d'
    make[3]: Nothing to be done for `all'.
    make[3]: Leaving directory `/home/u64rj/ti-processor-sdk-linux-am335x-evm-01.00.00.03/linux-devkit/sysroots/alsa-lib-1.0.29/src/conf/alsa.conf.d'
    Making all in ucm
    make[3]: Entering directory `/home/u64rj/ti-processor-sdk-linux-am335x-evm-01.00.00.03/linux-devkit/sysroots/alsa-lib-1.0.29/src/conf/ucm'
    Making all in DAISY-I2S
    make[4]: Entering directory `/home/u64rj/ti-processor-sdk-linux-am335x-evm-01.00.00.03/linux-devkit/sysroots/alsa-lib-1.0.29/src/conf/ucm/DAISY-I2S'
    make[4]: Nothing to be done for `all'.
    make[4]: Leaving directory `/home/u64rj/ti-processor-sdk-linux-am335x-evm-01.00.00.03/linux-devkit/sysroots/alsa-lib-1.0.29/src/conf/ucm/DAISY-I2S'
    Making all in PandaBoard
    make[4]: Entering directory `/home/u64rj/ti-processor-sdk-linux-am335x-evm-01.00.00.03/linux-devkit/sysroots/alsa-lib-1.0.29/src/conf/ucm/PandaBoard'
    make[4]: Nothing to be done for `all'.
    make[4]: Leaving directory `/home/u64rj/ti-processor-sdk-linux-am335x-evm-01.00.00.03/linux-devkit/sysroots/alsa-lib-1.0.29/src/conf/ucm/PandaBoard'
    Making all in PandaBoardES
    make[4]: Entering directory `/home/u64rj/ti-processor-sdk-linux-am335x-evm-01.00.00.03/linux-devkit/sysroots/alsa-lib-1.0.29/src/conf/ucm/PandaBoardES'
    make[4]: Nothing to be done for `all'.
    make[4]: Leaving directory `/home/u64rj/ti-processor-sdk-linux-am335x-evm-01.00.00.03/linux-devkit/sysroots/alsa-lib-1.0.29/src/conf/ucm/PandaBoardES'
    Making all in SDP4430
    make[4]: Entering directory `/home/u64rj/ti-processor-sdk-linux-am335x-evm-01.00.00.03/linux-devkit/sysroots/alsa-lib-1.0.29/src/conf/ucm/SDP4430'
    make[4]: Nothing to be done for `all'.
    make[4]: Leaving directory `/home/u64rj/ti-processor-sdk-linux-am335x-evm-01.00.00.03/linux-devkit/sysroots/alsa-lib-1.0.29/src/conf/ucm/SDP4430'
    Making all in tegraalc5632
    make[4]: Entering directory `/home/u64rj/ti-processor-sdk-linux-am335x-evm-01.00.00.03/linux-devkit/sysroots/alsa-lib-1.0.29/src/conf/ucm/tegraalc5632'
    make[4]: Nothing to be done for `all'.
    make[4]: Leaving directory `/home/u64rj/ti-processor-sdk-linux-am335x-evm-01.00.00.03/linux-devkit/sysroots/alsa-lib-1.0.29/src/conf/ucm/tegraalc5632'
    Making all in PAZ00
    make[4]: Entering directory `/home/u64rj/ti-processor-sdk-linux-am335x-evm-01.00.00.03/linux-devkit/sysroots/alsa-lib-1.0.29/src/conf/ucm/PAZ00'
    make[4]: Nothing to be done for `all'.
    make[4]: Leaving directory `/home/u64rj/ti-processor-sdk-linux-am335x-evm-01.00.00.03/linux-devkit/sysroots/alsa-lib-1.0.29/src/conf/ucm/PAZ00'
    Making all in GoogleNyan
    make[4]: Entering directory `/home/u64rj/ti-processor-sdk-linux-am335x-evm-01.00.00.03/linux-devkit/sysroots/alsa-lib-1.0.29/src/conf/ucm/GoogleNyan'
    make[4]: Nothing to be done for `all'.
    make[4]: Leaving directory `/home/u64rj/ti-processor-sdk-linux-am335x-evm-01.00.00.03/linux-devkit/sysroots/alsa-lib-1.0.29/src/conf/ucm/GoogleNyan'
    make[4]: Entering directory `/home/u64rj/ti-processor-sdk-linux-am335x-evm-01.00.00.03/linux-devkit/sysroots/alsa-lib-1.0.29/src/conf/ucm'
    make[4]: Nothing to be done for `all-am'.
    make[4]: Leaving directory `/home/u64rj/ti-processor-sdk-linux-am335x-evm-01.00.00.03/linux-devkit/sysroots/alsa-lib-1.0.29/src/conf/ucm'
    make[3]: Leaving directory `/home/u64rj/ti-processor-sdk-linux-am335x-evm-01.00.00.03/linux-devkit/sysroots/alsa-lib-1.0.29/src/conf/ucm'
    make[3]: Entering directory `/home/u64rj/ti-processor-sdk-linux-am335x-evm-01.00.00.03/linux-devkit/sysroots/alsa-lib-1.0.29/src/conf'
    make[3]: Nothing to be done for `all-am'.
    make[3]: Leaving directory `/home/u64rj/ti-processor-sdk-linux-am335x-evm-01.00.00.03/linux-devkit/sysroots/alsa-lib-1.0.29/src/conf'
    make[2]: Leaving directory `/home/u64rj/ti-processor-sdk-linux-am335x-evm-01.00.00.03/linux-devkit/sysroots/alsa-lib-1.0.29/src/conf'
    make[2]: Entering directory `/home/u64rj/ti-processor-sdk-linux-am335x-evm-01.00.00.03/linux-devkit/sysroots/alsa-lib-1.0.29/src'
      CCLD     libasound.la
    /usr/bin/ld: .libs/conf.o: Relocations in generic ELF (EM: 40)
    .libs/conf.o: error adding symbols: File in wrong format
    collect2: error: ld returned 1 exit status
    make[2]: *** [libasound.la] Error 1
    make[2]: Leaving directory `/home/u64rj/ti-processor-sdk-linux-am335x-evm-01.00.00.03/linux-devkit/sysroots/alsa-lib-1.0.29/src'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/u64rj/ti-processor-sdk-linux-am335x-evm-01.00.00.03/linux-devkit/sysroots/alsa-lib-1.0.29/src'
    make: *** [all-recursive] Error 1
    u64rj@u64rj-MS-7696:~/ti-processor-sdk-linux-am335x-evm-01.00.00.03/linux-devkit/sysroots/alsa-lib-1.0.29$

    I don't know how to solve the problem:

    /usr/bin/ld: .libs/conf.o: Relocations in generic ELF (EM: 40)

     

    Could you give me further advice?

    Thanks,

     

  • Excuse me. It is OK now after a clean make. Thanks again.
  • Hi,

    configure: WARNING: unrecognized options: --with-alsa-prefix, --with-alsa-inc-prefix

    Please check this arguments "--with-alsa-prefix" for newer version and linaro toolchain.
    Try to findout the correct argument for alsa lib and include location.
  • Hi Jeff,
    Sounds good.
    Thanks for your update.