[alsa-devel] Compiler errors in alsa-lib-1.0.22/test/*.c
Jaroslav Kysela
perex at perex.cz
Mon Jul 19 10:52:40 CEST 2010
On Sat, 17 Jul 2010, John Simpson wrote:
> On Sat, Jul 17, 2010 at 9:28 PM, John Simpson <john at swajime.com> wrote:
>> On Wed, Jul 14, 2010 at 1:56 AM, John Simpson <john at swajime.com> wrote:
>>> The makefile did not do anything in the test directory for some reason.
>>
>> Now that I've had another chance to try this, the makefile still does
>> not produce any executables:
>>
>
> ditto for Ubuntu Lucid:
>
> john at system76-pc:~$ wget
> ftp://ftp.alsa-project.org/pub/lib/alsa-lib-1.0.23.tar.bz2
> john at system76-pc:~$ bunzip2 alsa-lib-1.0.23.tar.bz2
> john at system76-pc:~$ tar -xf alsa-lib-1.0.23.tar
> john at system76-pc:~$ cd alsa-lib-1.0.23/
> john at system76-pc:~/alsa-lib-1.0.23$ ./configure
> ...
> Creating asoundlib.h...
> john at system76-pc:~/alsa-lib-1.0.23$ make
> ...
> Making all in test
> make[1]: Entering directory `/home/john/alsa-lib-1.0.23/test'
> Making all in .
> make[2]: Entering directory `/home/john/alsa-lib-1.0.23/test'
> make[2]: Nothing to be done for `all-am'.
> make[2]: Leaving directory `/home/john/alsa-lib-1.0.23/test'
> Making all in lsb
> make[2]: Entering directory `/home/john/alsa-lib-1.0.23/test/lsb'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory `/home/john/alsa-lib-1.0.23/test/lsb'
> make[1]: Leaving directory `/home/john/alsa-lib-1.0.23/test'
> ...
> john at system76-pc:~/alsa-lib-1.0.23$ sudo make install
> [sudo] password for john:
> ...
> Making install in test
> make[1]: Entering directory `/home/john/alsa-lib-1.0.23/test'
> Making install in .
> make[2]: Entering directory `/home/john/alsa-lib-1.0.23/test'
> make[3]: Entering directory `/home/john/alsa-lib-1.0.23/test'
> make[3]: Nothing to be done for `install-exec-am'.
> make[3]: Nothing to be done for `install-data-am'.
> make[3]: Leaving directory `/home/john/alsa-lib-1.0.23/test'
> make[2]: Leaving directory `/home/john/alsa-lib-1.0.23/test'
> ...
> john at system76-pc:~/alsa-lib-1.0.23$ ls test
> client_event_filter.c latency.c Makefile Makefile.in midifile.c
> midiloop.c oldapi.c pcm_min.c queue_timer.c seq.c
> seq-sender.c
> control.c lsb Makefile.am midifile.3 midifile.h
> namehint.c pcm.c playmidi1.c rawmidi.c seq-decoder.c
> timer.c
> john at system76-pc:~/alsa-lib-1.0.23$
>
> No executable test files. :-(
You must force compilation in test directory, for example:
cd alsa-lib/test
make pcm
Jaroslav
-----
Jaroslav Kysela <perex at perex.cz>
Linux Kernel Sound Maintainer
ALSA Project, Red Hat, Inc.
More information about the Alsa-devel
mailing list