Problem with armv5tel and c + alsa+micro
Hi people,
I'm Dam and I'm new in this forum, I need to do a program that it can change the volume of microphone and use the architecture armv5tel with development C and library alsa.
But, my problem is when I compile the program in gcc not have problem ,f.e.:
gcc micro.c -o micro -lasound --> it's OK
but I compile with the architecture armv5tel :
armv5tel-redhat-linux-gnueabi-gcc -Wall micro.c -o micro -lasound Not compile because I've some problems.
1.-It's necessary the parameter -lasound, but can't use in armv5tel because I don't know how do it.
2.-If I compile any this parameter "-lasound" ,don't find the variables itself of alsa
3.-If I do another programm f.e. HelloWorld, and I compile to armv5tel.... I've the file compile to this architecture then I try in the machine where it has the architecture :
./hello
It saids bs ./hello not found, I can't undertand what happen!! because the machine is armv5tel.
I development in virtual machine with VirtualBox it's a Fedora 13 and use gcc and then armv5tel-redhat-linux-gnueabi-gcc, my IDE it's KATE :P
Can you help me, please? Thanks
|