another problem compiling l4linux - arm

Dennis Gessner d.gessner at sirrix.com
Tue Nov 6 17:04:05 CET 2007


Hello,

after some days trying to compile l4linux for arm, I reach the following
problem while compiling l4linux :
(I use the toolchain from
http://www.ertos.nicta.com.au/downloads/tools/arm-linux-3.4.4.tar.bz2.)

...
arch/l4/kernel/main.c:80:5: warning: #warning WARNING: L4FB enabled and
also CONFIG_SERIO_I8042 or CONFIG_SERIO_LIBPS2 or CONFIG_VGA_CONSOLE
arch/l4/kernel/main.c:81:5: #error WARNING: This is usually not wanted.
make[1]: *** [arch/l4/kernel/main.o] Error 1
make: *** [arch/l4/kernel] Error 2

-------
If I disable "VGA_CONSOLE", "L4FB" and "PARPORT"

in l4linux-kernel-config, I get the following error-message:

drivers/built-in.o(.text+0x48cdc): In function `scsi_dma_map':
/root/tudos/l4linux-2.6/include/asm-l4/arm-arch/asm/dma-mapping.h:281:
undefined reference to `consistent_sync'
drivers/built-in.o(.text+0x594b8): In function `ata_data_xfer':
/root/tudos/l4linux-2.6/drivers/ata/libata-core.c:4490: undefined
reference to `__raw_writesw'
drivers/built-in.o(.text+0x594c8):/root/tudos/l4linux-2.6/drivers/ata/libata-core.c:4492:
undefined reference to `__raw_readsw'
drivers/built-in.o(.text+0x5a6f0): In function `ata_qc_issue':
/root/tudos/l4linux-2.6/include/asm-l4/arm-arch/asm/dma-mapping.h:281:
undefined reference to `consistent_sync'
drivers/built-in.o(.text+0x5a800):/root/tudos/l4linux-2.6/include/asm-l4/arm-arch/asm/dma-mapping.h:168:
undefined reference to `consistent_sync'
drivers/built-in.o(.text+0x6a3c4): In function `usb_buffer_map_sg':
/root/tudos/l4linux-2.6/include/asm-l4/arm-arch/asm/dma-mapping.h:281:
undefined reference to `consistent_sync'
drivers/built-in.o(.text+0x6e084): In function `usb_hcd_submit_urb':
/root/tudos/l4linux-2.6/include/asm-l4/arm-arch/asm/dma-mapping.h:168:
undefined reference to `consistent_sync'
drivers/built-in.o(.text+0x6e0bc):/root/tudos/l4linux-2.6/include/asm-l4/arm-arch/asm/dma-mapping.h:168:
undefined reference to `consistent_sync'
sound/built-in.o(.text+0x1ca8): In function `copy_to_user_fromio':
/root/tudos/l4linux-2.6/sound/core/memory.c:47: undefined reference to
`_memcpy_fromio'
sound/built-in.o(.text+0x1d44): In function `copy_from_user_toio':
/root/tudos/l4linux-2.6/sound/core/memory.c:82: undefined reference to
`_memcpy_toio'
make: *** [.tmp_vmlinux1] Error 1

--------

I checked out fiasco, l4env and l4linux from svn today (revision 236 and
69 I think).
...
svn co -N http://svn.tudos.org/repos/tudos/trunk tudos
./repomgr co fiasco dice l4linux-2.6-env
svn co http://svn.tudos.org/repos/l4linux/trunk l4linux-2.6
...

I really don't know how to resolve this.
Help would be very welcome.

Thanks,
Dennis




More information about the l4-hackers mailing list