* One more cross compile issue: alsa-utils
@ 2006-06-06 21:46 Lee Revell
2006-06-06 23:19 ` Lee Revell
0 siblings, 1 reply; 2+ messages in thread
From: Lee Revell @ 2006-06-06 21:46 UTC (permalink / raw)
To: alsa-devel
OK I have managed to cross compile alsa-lib 1.0.11 but now alsa-utils
complains about not being able to find the alsa-lib headers.
>From alsa-utils/config.log:
Invocation command line was
$ ./configure --host=ppc-linux
--prefix=/home/rlrevell/cross-compile/usr/local
--includedir=/home/rlrevell/cross-compile/usr/local/include
...
This is where it dies:
configure:5355: checking dependency style of powerpc-440-linux-gnu-gcc
configure:5445: result: gcc3
configure:5475: checking for a BSD-compatible install
configure:5530: result: /usr/bin/install -c
configure:5541: checking whether ln -s works
configure:5545: result: yes
configure:5583: checking for ALSA CFLAGS
configure:5589: result:
configure:5592: checking for ALSA LDFLAGS
configure:5601: result: -lasound -lm -ldl -lpthread
configure:5605: checking for libasound headers version >= 1.0.9
configure:5673: powerpc-440-linux-gnu-gcc -c -g -O2 conftest.c >&5
conftest.c:15:28: alsa/asoundlib.h: No such file or directory
conftest.c:36:9: #error not present
conftest.c:47:10: #error not present
configure:5679: $? = 1
configure: failed program was:
But, /home/rlrevell/cross-compile/usr/local/include/alsa/asoundlib.h
exists!!! Why does ./configure insist that it does not?
Lee
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: One more cross compile issue: alsa-utils
2006-06-06 21:46 One more cross compile issue: alsa-utils Lee Revell
@ 2006-06-06 23:19 ` Lee Revell
0 siblings, 0 replies; 2+ messages in thread
From: Lee Revell @ 2006-06-06 23:19 UTC (permalink / raw)
To: alsa-devel
On Tue, 2006-06-06 at 17:46 -0400, Lee Revell wrote:
> But, /home/rlrevell/cross-compile/usr/local/include/alsa/asoundlib.h
> exists!!! Why does ./configure insist that it does not?
Argh, I am an idiot. --includedir sets the install destination for
include files, not the place to look for them. I fixed it by setting
CPPFLAGS correctly.
Sorry for the noise.
Lee
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-06-06 23:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-06 21:46 One more cross compile issue: alsa-utils Lee Revell
2006-06-06 23:19 ` Lee Revell
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.