Compilation Error

Prabhat_Singh Prabhat_Singh at Satyam.com
Fri Dec 23 22:53:17 EST 2005


Hi all,

          I am building  linux-2.4.32 kernel using ELDK tool  for
MPC8248(MPC8272 family) based target board. After configuring kernel as
follow:

   1)Make xconfig ARCH=ppc

 

    Platform support:MPC8260 CPM support -y

                             MPC8272 family Support -y

 

Machine type : ADS8272

 

 

And after saving configuration ..

 

2)Make dep ARCH=ppc

3)Make bzImage ARCH=ppc

         Now  I am getting error like this..............

 

************************************************************************
**************************************

 

m /home/sibi/vpnporting/linux-2.4.32/include/linux/blk.h:4,

                 from m8260_setup.c:31:

/home/sibi/vpnporting/linux-2.4.32/include/asm/mpc8260.h:32:1: warning:
"PCI_DRAM_OFFSET" redefined

In file included from
/home/sibi/vpnporting/linux-2.4.32/include/asm/mpc8260.h:24,

                 from
/home/sibi/vpnporting/linux-2.4.32/include/asm/io.h:31,

                 from
/home/sibi/vpnporting/linux-2.4.32/include/linux/blkdev.h:11,

                 from
/home/sibi/vpnporting/linux-2.4.32/include/linux/blk.h:4,

                 from m8260_setup.c:31:

/home/sibi/vpnporting/linux-2.4.32/arch/ppc/platforms/pq2ads.h:85:1:
warning: this is the location of the previous
definitionm8260_setup.c:68: warning: `abort' was declared `extern' and
later `static'

m8260_setup.c: In function `abort':

m8260_setup.c:70: error: conflicting types for `xmon'

/home/sibi/vpnporting/linux-2.4.32/include/asm/system.h:49: error:
previous declaration of `xmon'

m8260_setup.c:70: warning: extern declaration of `xmon' doesn't match
global one

m8260_setup.c: In function `m8260_restart':

m8260_setup.c:129: warning: passing arg 1 of `m8260_gorom' makes pointer
from integer without a cast

m8260_setup.c: In function `m8260_show_percpuinfo':

m8260_setup.c:157: warning: int format, long unsigned int arg (arg 3)

m8260_setup.c:157: warning: int format, long unsigned int arg (arg 4)

m8260_setup.c:157: warning: int format, long unsigned int arg (arg 5)

m8260_setup.c: At top level:

m8260_setup.c:68: warning: `abort' defined but not used

make[1]: *** [m8260_setup.o] Error 1

make[1]: Leaving directory
`/home/sibi/vpnporting/linux-2.4.32/arch/ppc/kernel'

make: *** [_dir_arch/ppc/kernel] Error 2

 

 

 

 

 

If anyone encountered this type of problem please through light on this.

 

 

Thanks in advance 

 

Thanks & Regards

Prabhat Singh

SE

Satyam Computer Services Ltd.

 



DISCLAIMER:
This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20051223/65fd8427/attachment.htm 


More information about the Linuxppc-embedded mailing list