Re: a question on an error of building 2.6.24.2
- From: Peter Teoh <htmldeveloper@xxxxxxxxx>
- Date: Tue, 26 Feb 2008 06:31:48 -0800 (PST)
On Feb 15, 4:35 pm, jyliu.li...@xxxxxxxxx wrote:
Hi there,
I am using a cross-compiler gcc 4.1.2 and glibc 2.3.6 to build
2.6.24.2 for an adder875 board. At the end of building, the ld gives
the following error messages:
LD init/built-in.o
LD vmlinux
`.exit.data' referenced in section `.exit.text' of drivers/built-in.o:
defined in discarded section `.exit.data' of drivers/built-in.o
`.exit.data' referenced in section `.exit.text' of drivers/built-in.o:
defined in discarded section `.exit.data' of drivers/built-in.o
`.exit.data' referenced in section `.exit.text' of drivers/built-in.o:
defined in discarded section `.exit.data' of drivers/built-in.o
`.exit.data' referenced in section `.exit.text' of drivers/built-in.o:
defined in discarded section `.exit.data' of drivers/built-in.o
make: *** [vmlinux] Error 1
Is it gcc problem, or something else?
Thanks.
Jingyu
Did u do a "make mrproper" before u do the make?
Ok the proper sequence:
move the .config to a tmp directory.
make mrproper (which will delete .config if u did not move it away)
then make menuconfig (or oldconfig, or allyesconfig etc...depends on
you)...and finally make.
.
- References:
- a question on an error of building 2.6.24.2
- From: jyliu . linux
- a question on an error of building 2.6.24.2
- Prev by Date: Re: User-space controlled raw ethernet - Is this the way to go?
- Next by Date: c++, java, cobol, know more
- Previous by thread: a question on an error of building 2.6.24.2
- Next by thread: LSM, SECURITY_NETWORK (register_security, mod_reg_security) on 2.6.24.2
- Index(es):
Relevant Pages
|