Compilation error

3 messages, 3 authors, 2005-07-25 · open the first message on its own page

Compilation error

From: Susheel Raj <hidden>
Date: 2005-07-25 07:16:40

Hi David,

   I ams til trying to make Ethernet work :-(
 Last time i compiled the kernel without including
some files but now included everything in Bestcomm
directory.

I am getting the following error which I could figure
out what? could you help me ...

ppc_82xx-ld -T arch/ppc/vmlinux.lds -Ttext 0xc0000000
-Bstatic arch/ppc/kernel/head.o
arch/ppc/kernel/idle_6xx.o init/main.o init/version.o
init/do_mounts.o \
        --start-group \
        arch/ppc/kernel/kernel.o
arch/ppc/platforms/platform.o
arch/ppc/mm/mm.oarch/ppc/lib/lib.o kernel/kernel.o
mm/mm.o fs/fs.o ipc/ipc.o \
         drivers/char/char.o drivers/block/block.o
drivers/misc/misc.o drivers/net/net.o
drivers/ide/idedriver.o drivers/scsi/scsidrv.o
drivers/cdrom/driver.o drivers/sound/sounddrivers.o
drivers/pci/driver.o drivers/mtd/mtdlink.o
drivers/macintosh/macintosh.o drivers/video/video.o
drivers/usb/usbdrv.o drivers/media/media.o
arch/ppc/mgt_io/mgt_io.o drivers/mitron/mitron.o \
        net/network.o \
        /home/nuguru/linux_2_4_21_5200/lib/lib.a \
        --end-group \
        -o vmlinux
arch/ppc/mgt_io/mgt_io.o: In function
`mgt_sdma_fec_rx_task_setup':
arch/ppc/mgt_io/mgt_io.o(.text+0x3934): undefined
reference to `TaskSetup_TASK_FEC_RX'
arch/ppc/mgt_io/mgt_io.o(.text+0x3934): relocation
truncated to fit: R_PPC_REL24 TaskSetup_TASK_FEC_RX
arch/ppc/mgt_io/mgt_io.o: In function
`mgt_sdma_fec_tx_task_setup':
arch/ppc/mgt_io/mgt_io.o(.text+0x39cc): undefined
reference to `TaskSetup_TASK_FEC_TX'
arch/ppc/mgt_io/mgt_io.o(.text+0x39cc): relocation
truncated to fit: R_PPC_REL24 TaskSetup_TASK_FEC_TX
make: *** [vmlinux] Error 1
nuguru@SW-server:~/linux_2_4_21_5200$     


As you know mgt_io is nothing but 5xxx_io for you and
the rest is same. It complains while it is linking
everything. I dint find anything like
"askSetup_TASK_FEC_RX" used in
mgt_sdma_fec_rx_task_setup() -->
arch/ppc/mgt_io/sdma.c.

What could be wrong here????


		
____________________________________________________
Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 

Xilinx ML300 support in 2.6

From: Stefan Roese <sr@denx.de>
Date: 2005-07-25 08:20:30

Hi!

I am looking for Xilinx PPC4xx support (e.g. ML300) in 2.6. Please correct me 
if I am wrong, but I only found very basic Xilinx related stuff in the 
current 2.6er kernel (e.g. pic). Device drivers, especially serial, network 
and i2c don't seem to be implemented right now.

Is anybody working on porting the Xilinx PPC4xx support including the device 
drivers to 2.6 right now? Any infos or pointer are most welcome.

Best regards,
Stefan

porting a mm specific macro from 2.4 to 2.6

From: Vikas Aggarwal <hidden>
Date: 2005-07-25 15:32:15

Hi,

I am porting a linux driver written for 2.4.28 to kernel 2.6.10. Have
question regarding a MACRO in my old driver.

#define __vpa(va)
((pte_val(*pte_offset(pmd_offset(pgd_offset_k(va),(va)),(va))) &
PAGE_MASK) + (va & ~PAGE_MASK))
Will the above MACRO work as is for 2.6.10 kernel? If not can someone help
me in making 2.6.10 compatible.

I saw in 2.6.10 pte_offset_kernel is introduced and also googling around
showed the pte_offset should be replaced by pte_offset_kernel.

Also my compilation fails when that MACRO expanded complaining
 "invalid type argument of `unary *'

The Linux kernel runs on Freescale's  MPC8248(ppc arch).

thanks in advance.
-vikas aggarwal
MS CS
SUNY, albany
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help