Cross compilation problem

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

 



Hi, i'm trying to cross-compile the alsa lib 1.0.13 with cris-gcc but I found an
error. Anybody can help me?

Configure params:
./configure --build=`./config.guess` --host=cris --prefix=$AXIS_TOP_DIR/target/cris-axis-linux-gnu/ CFLAGS="-isystem $AXIS_TOP_DIR/target/cris-axis-linux-gnu/include -mlinux -mno-mul-bug-workaround -mpdebug" LDFLAGS="-isystem $AXIS_TOP_DIR/target/cris-axis-linux-gnu/include -mlinux -mno-mul-bug-workaround -mpdebug -L$AXIS_TOP_DIR/target/cris-axis-linux-gnu/lib -Wl,-rpath-link,$AXIS_TOP_DIR/target/cris-axis-linux-gnu/lib"


The make error:
[....]
make[1]: Entering directory `/home/tiziano/projects/alsa-lib-1.0.13/aserver'
if cris-gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../src/pcm    -isystem /home/tiziano/projects/foxlinux/devboard-R2_01/target/cris-axis-linux-gnu/include -mlinux -mno-mul-bug-workaround -mpdebug -MT aserver.o -MD -MP -MF ".deps/aserver.Tpo" -c -o aserver.o aserver.c; \
        then mv -f ".deps/aserver.Tpo" ".deps/aserver.Po"; else rm -f ".deps/aserver.Tpo"; exit 1; fi
/bin/sh ../libtool --tag=CC --mode=link cris-gcc  -isystem /home/tiziano/projects/foxlinux/devboard-R2_01/target/cris-axis-linux-gnu/include -mlinux -mno-mul-bug-workaround -mpdebug  -isystem /home/tiziano/projects/foxlinux/devboard-R2_01/target/cris-axis-linux-gnu/include -mlinux -mno-mul-bug-workaround -mpdebug -L/home/tiziano/projects/foxlinux/devboard-R2_01/target/cris-axis-linux-gnu/lib -Wl,-rpath-link,/home/tiziano/projects/foxlinux/devboard-R2_01/target/cris-axis-linux-gnu/lib -o aserver  aserver.o ../src/libasound.la
mkdir .libs
cris-gcc -isystem /home/tiziano/projects/foxlinux/devboard-R2_01/target/cris-axis-linux-gnu/include -mlinux -mno-mul-bug-workaround -mpdebug -isystem /home/tiziano/projects/foxlinux/devboard-R2_01/target/cris-axis-linux-gnu/include -mlinux -mno-mul-bug-workaround -mpdebug -Wl,-rpath-link -Wl,/home/tiziano/projects/foxlinux/devboard-R2_01/target/cris-axis-linux-gnu/lib -o aserver aserver.o  -L/home/tiziano/projects/foxlinux/devboard-R2_01/target/cris-axis-linux-gnu/lib ../src/.libs/libasound.a -lm -ldl -lpthread
aserver.o: In function `pcm_shm_cmd':
aserver.o(.text+0x12f4): undefined reference to `snd_pcm_forward'
../src/.libs/libasound.a(pcm_direct.o): In function `snd_pcm_direct_set_timer_params':
pcm_direct.o(.text+0x31b4): undefined reference to `snd_timer_params_set_filter'
../src/.libs/libasound.a(pcm_rate.o): In function `snd_pcm_rate_move_applptr':
pcm_rate.o(.text+0x43b8): undefined reference to `snd_pcm_forward'
collect2: ld returned 1 exit status


Someone know why this undefined references?

Thanks.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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