All of lore.kernel.org
 help / color / mirror / Atom feed
* autoconf.h error cross compiling
@ 2006-06-06 20:20 Lee Revell
  2006-06-06 21:04 ` Lee Revell
  2006-06-07  9:54 ` Takashi Iwai
  0 siblings, 2 replies; 3+ messages in thread
From: Lee Revell @ 2006-06-06 20:20 UTC (permalink / raw)
  To: alsa-devel

I am trying to cross compile alsa-lib 1.0.11 for a PPC 440 embedded
system.  The build fails with this error:

Making all in instr
mkdir .libs
 powerpc-440-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../include
-I../../include -D__ppc__ -g -O2 -MT fm.lo -MD -MP -MF .deps/fm.Tp
o -c fm.c  -fPIC -DPIC -o .libs/fm.o
 powerpc-440-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../include
-I../../include -D__ppc__ -g -O2 -MT simple.lo -MD -MP -MF .deps/s
imple.Tpo -c simple.c  -fPIC -DPIC -o .libs/simple.o
 powerpc-440-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../include
-I../../include -D__ppc__ -g -O2 -MT iwffff.lo -MD -MP -MF .deps/i
wffff.Tpo -c iwffff.c  -fPIC -DPIC -o .libs/iwffff.o
In file included
from /opt/crosstool/gcc-3.4.2-glibc-2.3.2/powerpc-440-linux-gnu/lib/gcc/powerpc-440-linux-gnu/3.4.2/../../../../powe
rpc-440-linux-gnu/sys-include/asm/types.h:40,
                 from ../../include/sound/ainstr_iw.h:29,
                 from iwffff.c:47:
/opt/crosstool/gcc-3.4.2-glibc-2.3.2/powerpc-440-linux-gnu/lib/gcc/powerpc-440-linux-gnu/3.4.2/../../../../powerpc-440-linux-gnu/sys-
include/linux/config.h:4:28: linux/autoconf.h: No such file or directory
make[2]: *** [iwffff.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1

Why is it looking for autoconf.h?  AFAICT that is a kernel header.  Do I
merely have to copy it into the powerpc-440-linux-gnu/sys-include/linux/
directory?

Is the bug in my toolchain or alsa-lib?

Lee

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: autoconf.h error cross compiling
  2006-06-06 20:20 autoconf.h error cross compiling Lee Revell
@ 2006-06-06 21:04 ` Lee Revell
  2006-06-07  9:54 ` Takashi Iwai
  1 sibling, 0 replies; 3+ messages in thread
From: Lee Revell @ 2006-06-06 21:04 UTC (permalink / raw)
  To: alsa-devel

On Tue, 2006-06-06 at 16:20 -0400, Lee Revell wrote:
> Why is it looking for autoconf.h?  AFAICT that is a kernel header.  Do
> I merely have to copy it into the
> powerpc-440-linux-gnu/sys-include/linux/
> directory? 

Never mind I resolved this by creating a symlink.

Lee

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: autoconf.h error cross compiling
  2006-06-06 20:20 autoconf.h error cross compiling Lee Revell
  2006-06-06 21:04 ` Lee Revell
@ 2006-06-07  9:54 ` Takashi Iwai
  1 sibling, 0 replies; 3+ messages in thread
From: Takashi Iwai @ 2006-06-07  9:54 UTC (permalink / raw)
  To: Lee Revell; +Cc: alsa-devel

At Tue, 06 Jun 2006 16:20:09 -0400,
Lee Revell wrote:
> 
> I am trying to cross compile alsa-lib 1.0.11 for a PPC 440 embedded
> system.  The build fails with this error:
> 
> Making all in instr
> mkdir .libs
>  powerpc-440-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../include
> -I../../include -D__ppc__ -g -O2 -MT fm.lo -MD -MP -MF .deps/fm.Tp
> o -c fm.c  -fPIC -DPIC -o .libs/fm.o
>  powerpc-440-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../include
> -I../../include -D__ppc__ -g -O2 -MT simple.lo -MD -MP -MF .deps/s
> imple.Tpo -c simple.c  -fPIC -DPIC -o .libs/simple.o
>  powerpc-440-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../include
> -I../../include -D__ppc__ -g -O2 -MT iwffff.lo -MD -MP -MF .deps/i
> wffff.Tpo -c iwffff.c  -fPIC -DPIC -o .libs/iwffff.o
> In file included
> from /opt/crosstool/gcc-3.4.2-glibc-2.3.2/powerpc-440-linux-gnu/lib/gcc/powerpc-440-linux-gnu/3.4.2/../../../../powe
> rpc-440-linux-gnu/sys-include/asm/types.h:40,
>                  from ../../include/sound/ainstr_iw.h:29,
>                  from iwffff.c:47:
> /opt/crosstool/gcc-3.4.2-glibc-2.3.2/powerpc-440-linux-gnu/lib/gcc/powerpc-440-linux-gnu/3.4.2/../../../../powerpc-440-linux-gnu/sys-
> include/linux/config.h:4:28: linux/autoconf.h: No such file or directory
> make[2]: *** [iwffff.lo] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all-recursive] Error 1
> 
> Why is it looking for autoconf.h?  AFAICT that is a kernel header.  Do I
> merely have to copy it into the powerpc-440-linux-gnu/sys-include/linux/
> directory?
> 
> Is the bug in my toolchain or alsa-lib?

alsa-lib doesn't include any kernel headers (directly), so it's very
likely a problem of toolchain.


Takashi

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-06-07  9:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-06 20:20 autoconf.h error cross compiling Lee Revell
2006-06-06 21:04 ` Lee Revell
2006-06-07  9:54 ` Takashi Iwai

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.