* Missing include/asm-mips/reg.h ?
@ 2004-09-07 16:49 Thomas Petazzoni
2004-09-07 19:00 ` Thiemo Seufer
2004-09-08 7:04 ` Thomas Petazzoni
0 siblings, 2 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2004-09-07 16:49 UTC (permalink / raw)
To: linux-mips
Hello,
While trying to compile uClibc, I get an error concerning Linux kernel
headers. The file include/asm-mips/user.h includes the file asm/reg.h,
but the file include/asm-mips/reg.h doesn't exist. So the EF_SIZE symbol
required by the definition of the user structure is not declared.
I checked the linux-mips CVS but couldn't find this file.
How should I proceed ?
Thanks,
Thomas
--
PETAZZONI Thomas - thomas.petazzoni@enix.org
http://thomas.enix.org - Jabber: kos_tom@sourcecode.de
KOS: http://kos.enix.org/ - Lolut: http://lolut.utbm.info
Fingerprint : 0BE1 4CF3 CEA4 AC9D CC6E 1624 F653 CB30 98D3 F7A7
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Missing include/asm-mips/reg.h ?
2004-09-07 16:49 Missing include/asm-mips/reg.h ? Thomas Petazzoni
@ 2004-09-07 19:00 ` Thiemo Seufer
2004-09-08 7:04 ` Thomas Petazzoni
1 sibling, 0 replies; 3+ messages in thread
From: Thiemo Seufer @ 2004-09-07 19:00 UTC (permalink / raw)
To: Thomas Petazzoni; +Cc: linux-mips
Thomas Petazzoni wrote:
> Hello,
>
> While trying to compile uClibc, I get an error concerning Linux kernel
> headers. The file include/asm-mips/user.h includes the file asm/reg.h,
> but the file include/asm-mips/reg.h doesn't exist. So the EF_SIZE symbol
> required by the definition of the user structure is not declared.
>
> I checked the linux-mips CVS but couldn't find this file.
>
> How should I proceed ?
Use configured headers. reg.h starts with:
#ifndef _ASM_REG_H
#define _ASM_REG_H
/*
* DO NOT MODIFY.
*
* This file was generated by arch/mips/Makefile
*
*/
Thiemo
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Missing include/asm-mips/reg.h ?
2004-09-07 16:49 Missing include/asm-mips/reg.h ? Thomas Petazzoni
2004-09-07 19:00 ` Thiemo Seufer
@ 2004-09-08 7:04 ` Thomas Petazzoni
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2004-09-08 7:04 UTC (permalink / raw)
To: linux-mips; +Cc: dank
Hello,
On Tue, Sep 07, 2004 at 06:49:03PM +0200, Thomas Petazzoni wrote :
> While trying to compile uClibc, I get an error concerning Linux kernel
> headers. The file include/asm-mips/user.h includes the file asm/reg.h,
> but the file include/asm-mips/reg.h doesn't exist. So the EF_SIZE symbol
> required by the definition of the user structure is not declared.
>
> I checked the linux-mips CVS but couldn't find this file.
I exchanged a couple of mails with Thiemo Seufer who tried to help solve
this problem. It appears that include/asm-mips/reg.h is automatically
generated at compile time, by the arch/mips/Makefile (prepare target).
(I use a 2.6.x kernel).
In fact, I'm trying to generate a cross-compilation chain for MIPS
(using Dan Kegel's crosstools). So, I need the kernel headers, but I'm
not able to compile the kernel since I'm generating the cross-compiler
itself.
When I try to generate the 'prepare' target in the main directory of
the kernel source tree, it starts compiling files in scripts/ using the
MIPS compiler (which isn't available at this time).
How can I generate this include/asm-mips/reg.h file (and possibly other
automatically generated includes) without starting kernel compilation ?
Of course, I provide a .config file to the kernel.
Thanks,
Thomas
--
PETAZZONI Thomas - thomas.petazzoni@enix.org
http://thomas.enix.org - Jabber: kos_tom@sourcecode.de
KOS: http://kos.enix.org/ - Lolut: http://lolut.utbm.info
Fingerprint : 0BE1 4CF3 CEA4 AC9D CC6E 1624 F653 CB30 98D3 F7A7
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-09-08 7:04 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-07 16:49 Missing include/asm-mips/reg.h ? Thomas Petazzoni
2004-09-07 19:00 ` Thiemo Seufer
2004-09-08 7:04 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox