Re: Errors in application building

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

 



On 7/3/07, Lee Revell <rlrevell@xxxxxxxxxxx> wrote:
>
> On 7/3/07, Paul Kavan <pkavan@xxxxxxxxx> wrote:
> > grhuser@pcL7:$ arm-linux-gcc -Wall -o grh_audio grh_audio.c
>
> You need to add -lasound to the gcc command line.
>
> Lee
>

Thanks Lee. I was digging and just found that. When I tried, I lose all the
other errors, still keep the warnings, but get a new error. The compile
attempts looks like this:

 arm-linux-gcc -lasound -Wall -o grh_audio grh_audio.c
grh_audio.c: In function 'grh_capture':
grh_audio.c:112: warning: pointer targets in passing argument 3 of
'snd_pcm_hw_params_set_rate_near' differ in signedness
grh_audio.c: In function 'grh_playback':
grh_audio.c:207: warning: pointer targets in passing argument 3 of
'snd_pcm_hw_params_set_rate_near' differ in signedness
/home/grhuser/buildroot/build_arm/staging_dir/lib/gcc/arm-linux-uclibc/4.1.2/../../../../arm-linux-uclibc/bin/ld:
cannot find -lasound
collect2: ld returned 1 exit status

I guess I am not sure where lasound ought to be....do you know what file
name I should be looking for and where it should be located for proper
compiling?


-- 
***************************************
Paul David Kavan
Project Engineer
GRH Electronics, Inc.
402-734-4900
pkavan@xxxxxxxxx
***************************************
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux