On Thu, Sep 3, 2015 at 2:54 PM, Robert Willy <[email protected]> wrote: > Hi, > > 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 (similar to Beaglebone Black)?
Kinda seems obvious.... > Fatal error: Cross-compiling isn't supported... "Cross-compiling isn't supported...".... I guess you need to build on the platform. ;) Or find a cross-compile patch for alsa... Regards, -- Robert Nelson https://rcn-ee.com/ -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
