* [Buildroot] stdarg.h error
@ 2007-08-20 16:38 Emiliano Lopez
2007-08-20 17:39 ` Bernhard Fischer
0 siblings, 1 reply; 3+ messages in thread
From: Emiliano Lopez @ 2007-08-20 16:38 UTC (permalink / raw)
To: buildroot
Hi to all.
I am trying to port linux on a routerboard 532 [1].
Actually I am having problems to compile the kernel.
I am using buildroot-20050818 download from [2] because y need to
compile a kernel version 2.4.30 or 2.4.31.
I can't do the cross compilation of my kernel because an error stop the process.
I modified the Makefile:
kgcc -> gcc
ARCH := mips
CROSS_COMPILE = mipsel-linux-
Then I export the correct PATH (/usr/local/uclibc-0.9.28/mipsel/bin/)
and finally, inside the kernel directory : make vmlinux
But the following error stop the compilation:
_______________________________________________________________________
/home/emiliano/p3/linux-2.4.31/include/linux/kernel.h:10:20: stdarg.h:
No such file or directory
In file included from /home/emiliano/p3/linux-2.4.31/include/linux/wait.h:13,
from /home/emiliano/p3/linux-2.4.31/include/linux/fs.h:12,
from
/home/emiliano/p3/linux-2.4.31/include/linux/capability.h:17,
from /home/emiliano/p3/linux-2.4.31/include/linux/binfmts.h:5,
from /home/emiliano/p3/linux-2.4.31/include/linux/sched.h:9,
from offset.c:13:
/home/emiliano/p3/linux-2.4.31/include/linux/kernel.h:76: error: parse
error before "va_list"
/home/emiliano/p3/linux-2.4.31/include/linux/kernel.h:77: warning:
function declaration isn't a prototype
/home/emiliano/p3/linux-2.4.31/include/linux/kernel.h:80: error: parse
error before "va_list"
/home/emiliano/p3/linux-2.4.31/include/linux/kernel.h:81: warning:
function declaration isn't a prototype
/home/emiliano/p3/linux-2.4.31/include/linux/kernel.h:85: error: parse
error before "va_list"
/home/emiliano/p3/linux-2.4.31/include/linux/kernel.h:86: warning:
function declaration isn't a prototype
make[1]: *** [offset.s] Error 1
make[1]: Leaving directory `/home/emiliano/p3/linux-2.4.31/arch/mips/tools'
make: *** [_dir_arch/mips/tools] Error 2
----------------------------------------------------------------------------------------------------------------------------------------------------------------
I don't know where is the problem or the solution.
Please, I need help.
Thanks.
Emiliano
[1] http://www.routerboard.com/rb500.html
[2] http://free-electrons.com/community/tools/uclibc/
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] stdarg.h error
2007-08-20 16:38 [Buildroot] stdarg.h error Emiliano Lopez
@ 2007-08-20 17:39 ` Bernhard Fischer
[not found] ` <50f131690708201051j5092cb63u83bc0b27d488b9c@mail.gmail.com>
0 siblings, 1 reply; 3+ messages in thread
From: Bernhard Fischer @ 2007-08-20 17:39 UTC (permalink / raw)
To: buildroot
On Mon, Aug 20, 2007 at 01:38:08PM -0300, Emiliano Lopez wrote:
>Hi to all.
>I am trying to port linux on a routerboard 532 [1].
>Actually I am having problems to compile the kernel.
>
>I am using buildroot-20050818 download from [2] because y need to
>compile a kernel version 2.4.30 or 2.4.31.
Does a current buildroot with a current toolchain, current uclibc-0.9.29
and a current kernel work? If it does not, what error do you get (please
provide your br2.config and your uClibc.config in this case)
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] stdarg.h error
[not found] ` <50f131690708201051j5092cb63u83bc0b27d488b9c@mail.gmail.com>
@ 2007-08-20 18:08 ` Bernhard Fischer
0 siblings, 0 replies; 3+ messages in thread
From: Bernhard Fischer @ 2007-08-20 18:08 UTC (permalink / raw)
To: buildroot
On Mon, Aug 20, 2007 at 02:51:12PM -0300, Emiliano Lopez wrote:
>No, I didn't test with current versions because I need 2.4.31 kernel
>support for the routerboard 532.
It's a mips board and linux-2.6 has mips support.
I'd give it a try with a current, stable linux and if that fails, go to
the linux-mips folks and seek help there, fwiw.
>
>Thanks.
you're welcome and i hope that helps..
>
>Emiliano.-
>
>On 20/08/07, Bernhard Fischer <rep.dot.nop@gmail.com> wrote:
>> On Mon, Aug 20, 2007 at 01:38:08PM -0300, Emiliano Lopez wrote:
>> >Hi to all.
>> >I am trying to port linux on a routerboard 532 [1].
>> >Actually I am having problems to compile the kernel.
>> >
>> >I am using buildroot-20050818 download from [2] because y need to
>> >compile a kernel version 2.4.30 or 2.4.31.
>>
>> Does a current buildroot with a current toolchain, current uclibc-0.9.29
>> and a current kernel work? If it does not, what error do you get (please
>> provide your br2.config and your uClibc.config in this case)
>>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-08-20 18:08 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-20 16:38 [Buildroot] stdarg.h error Emiliano Lopez
2007-08-20 17:39 ` Bernhard Fischer
[not found] ` <50f131690708201051j5092cb63u83bc0b27d488b9c@mail.gmail.com>
2007-08-20 18:08 ` Bernhard Fischer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox