linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Error in compiling 2.4.18 kernel for PPC
@ 2003-04-29  5:52 gopi
  2003-04-29 10:20 ` Omanakuttan
  0 siblings, 1 reply; 2+ messages in thread
From: gopi @ 2003-04-29  5:52 UTC (permalink / raw)
  To: linuxppc-embedded; +Cc: anil


  We are trying to compile kernel 2.4.18 for ppc(&mbxboard) with
gcc(cross compiler version 2.95.2)

Compilation breaks with the following error.
-----------------------------------------------
In file included from /opt/hardhat/devkit/ppc/8xx/lib/gcc-lib/powerpc-hardhat-linux/2.95.2/../../../../powerpc-hardhat-linux/include/linux/mm.h:4,
                 from /opt/hardhat/devkit/ppc/8xx/lib/gcc-lib/powerpc-hardhat-linux/2.95.2/../../../../powerpc-hardhat-linux/include/asm/pgtable.h:7,
                 from head_8xx.S:33:
/opt/hardhat/devkit/ppc/8xx/lib/gcc-lib/powerpc-hardhat-linux/2.95.2/../../../../powerpc-hardhat-linux/include/linux/sched.h:30: warning: `CLONE_VM' redefined
ppc_defs.h:72: warning: this is the location of the previous definition
/opt/hardhat/devkit/ppc/8xx/lib/gcc-lib/powerpc-hardhat-linux/2.95.2/../../../../powerpc-hardhat-linux/include/asm/ptrace.h: Assembler messages:
/opt/hardhat/devkit/ppc/8xx/lib/gcc-lib/powerpc-hardhat-linux/2.95.2/../../../../powerpc-hardhat-linux/include/asm/ptrace.h:21: Error: Unrecognized opcode: `struct'
/opt/hardhat/devkit/ppc/8xx/lib/gcc-lib/powerpc-hardhat-linux/2.95.2/../../../../powerpc-hardhat-linux/include/asm/ptrace.h:22: Error: Unrecognized opcode: `unsigned'
/opt/hardhat/devkit/ppc/8xx/lib/gcc-lib/powerpc-hardhat-linux/2.95.2/../../../../powerpc-hardhat-linux/include/asm/ptrace.h:23: Error: Unrecognized opcode: `unsigned'
/opt/hardhat/devkit/ppc/8xx/lib/gcc-lib/powerpc-hardhat-linux/2.95.2/../../../../powerpc-hardhat-linux/include/asm/ptrace.h:24: Error: Unrecognized opcode: `unsigned'
/opt/hardhat/devkit/ppc/8xx/lib/gcc-lib/powerpc-hardhat-linux/2.95.2/../../../../powerpc-hardhat-linux/include/asm/ptrace.h:25: Error: Unrecognized opcode: `unsigned'
-----------------------------------------------

What could be the problem?

Also, are there any patches to be applied to get this working for 860T?

thanx in advance.


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

* Re: Error in compiling 2.4.18 kernel for PPC
  2003-04-29  5:52 Error in compiling 2.4.18 kernel for PPC gopi
@ 2003-04-29 10:20 ` Omanakuttan
  0 siblings, 0 replies; 2+ messages in thread
From: Omanakuttan @ 2003-04-29 10:20 UTC (permalink / raw)
  To: gopi; +Cc: linuxppc-embedded, anil


Seems like you did not do an mrproper before starting cross compilation.
try that.

On Tue, 2003-04-29 at 11:22, gopi@india.tejasnetworks.com wrote:
>
>   We are trying to compile kernel 2.4.18 for ppc(&mbxboard) with
> gcc(cross compiler version 2.95.2)
>
> Compilation breaks with the following error.
> -----------------------------------------------
> In file included from /opt/hardhat/devkit/ppc/8xx/lib/gcc-lib/powerpc-hardhat-linux/2.95.2/../../../../powerpc-hardhat-linux/include/linux/mm.h:4,
>                  from /opt/hardhat/devkit/ppc/8xx/lib/gcc-lib/powerpc-hardhat-linux/2.95.2/../../../../powerpc-hardhat-linux/include/asm/pgtable.h:7,


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

end of thread, other threads:[~2003-04-29 10:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-29  5:52 Error in compiling 2.4.18 kernel for PPC gopi
2003-04-29 10:20 ` Omanakuttan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).