LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 02-29-2012, 10:23 AM   #1
dlopezsk
LQ Newbie
 
Registered: Feb 2012
Posts: 4

Rep: Reputation: Disabled
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
 
Old 02-29-2012, 10:24 AM   #2
dlopezsk
LQ Newbie
 
Registered: Feb 2012
Posts: 4

Original Poster
Rep: Reputation: Disabled
P.S.

Not use QEMU

Hi ,

How can compile a file arm-gp2x-linux-gcc with alsa library???

Last edited by dlopezsk; 03-02-2012 at 04:24 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Micro Core Linux - Wireless connectivity problem Dave_A Linux - Networking 3 04-17-2011 03:32 PM
People who call it M$ or Micro$oft or Micro$loth lowpro2k3 General 48 12-24-2007 12:19 AM
Problem mounting micro sd Ozonecy Linux - Hardware 2 12-13-2007 06:05 AM
LXer: Imation 4GB Micro Hard Drive: Still Micro on the Outside, More Giga on the Inside LXer Syndicated Linux News 0 12-28-2005 06:16 PM
Creative zen micro problem... pAn1k Linux - Laptop and Netbook 3 02-19-2005 03:58 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 04:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration