Skip to contentSkip to conversation

What happened to include/asm-ppc??

DISCUSSION [email protected] 4 participants 6 messages Feb 16, 2007

lore
Share & tools
lore
#0 lore raw

I'm using lastest ELDK (4.1) with Linux 2.6.19.2.
After upgrading from ELDK 4.0 I can't get any of
my user apps to build. The problem is that many
of the headers that were in include/asm-ppc are
now gone. For example, posix_types.h and sigcontext.h.
All the other arches seem to have a full complement
of header files in their asm directories. Can someone give me a clue?? Thanks!

#1 lore raw

They're probably in include/asm-powerpc/

You'll need both, since there are still some files in asm-ppc that are needed by the asm-powerpc stuff.

Quoted 13 lines · On Feb 16, 2007, at 14:25, <[email protected]> <[email protected]>…

I'm using lastest ELDK (4.1) with Linux 2.6.19.2.
After upgrading from ELDK 4.0 I can't get any of
my user apps to build. The problem is that many
of the headers that were in include/asm-ppc are
now gone. For example, posix_types.h and sigcontext.h.
All the other arches seem to have a full complement
of header files in their asm directories. Can someone give me a clue?? Thanks!

_______________________________________________
Linuxppc-embedded mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded

#2 lore raw
Quoted 5 lines · Andy Fleming

=20
They're probably in include/asm-powerpc/
=20
You'll need both, since there are still some files in asm-ppc that =A0 are needed by the asm-powerpc stuff.

That shouldn't be the case, the headers from asm-powerpc should be sufficient for all 32 and 64 bit user apps, if not then you should really report that as a bug.

	Arnd <><
#3 lore raw
Quoted 10 lines · Arnd Bergmann
Quoted 5 lines · Andy Fleming

They're probably in include/asm-powerpc/

You'll need both, since there are still some files in asm-ppc that are needed by the asm-powerpc stuff.

That shouldn't be the case, the headers from asm-powerpc should be sufficient for all 32 and 64 bit user apps, if not then you should really report that as a bug.

I might be wrong. But last I heard, there's a link between arch/powerpc/include/asm and include/asm-ppc

And visa-versa.

Quoted 2 lines
	Arnd <><
#4 lore raw
In reply to Arnd Bergmann
Quoted 3 lines · Arnd Bergmann

That shouldn't be the case, the headers from asm-powerpc should be sufficient for all 32 and 64 bit user apps, if not then you should really report that as a bug.

I thought applications weren't supposed to include kernel header files?

Signature · 2 lines
Timur Tabi
Linux Kernel Developer @ Freescale
#5 lore raw
Quoted 6 lines · Timur Tabi
Quoted 3 lines

That shouldn't be the case, the headers from asm-powerpc should be sufficient for all 32 and 64 bit user apps, if not then you should really report that as a bug.

I thought applications weren't supposed to include kernel header files?

Right, but glibc depends on them. We now have a mechanism of installing a subset of the kernel headers with 'make headers_install' in order to be used by glibc. This currently will install a set of the asm-powerpc files, but we got rid of all user dependencies on asm-ppc headers.

	Arnd <><