[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Error 1 in kernel compilation on U1

Hi all. I'm trying to compile a kernel 2.4.32 on a SUN U1 with a debian
sarge. I've just received the U1 so the system is new and it's the first
attempting to compile kernel.
About the end of compilation I receive:

make[2]: Entering directory
make[2]: Nothing to be done for `all_targets'.
make[2]: Leaving directory
make[1]: Leaving directory
ld -m elf64_sparc -T arch/sparc64/vmlinux.lds arch/sparc64/kernel/head.o
arch/sparc64/kernel/init_task.o init/main.o init/version.o init/do_mounts.o
        --start-group \
        arch/sparc64/kernel/kernel.o arch/sparc64/mm/mm.o kernel/kernel.o
mm/mm.o fs/fs.o ipc/ipc.o arch/sparc64/math-emu/math-emu.o \
         drivers/char/char.o drivers/block/block.o drivers/misc/misc.o
drivers/net/net.o drivers/char/drm/drm.o drivers/scsi/scsidrv.o
drivers/cdrom/driver.o drivers/sbus/sbus_all.o drivers/video/video.o
drivers/media/media.o drivers/input/inputdrv.o \
        net/network.o \
/usr/local/src/linux-2.4.32/arch/sparc64/lib/lib.a \
        --end-group \
        -o vmlinux
drivers/input/inputdrv.o(.text+0xc00): In function `emulate_raw':
: undefined reference to `handle_scancode'
drivers/input/inputdrv.o(.text+0xc58): In function `emulate_raw':
: undefined reference to `handle_scancode'
drivers/input/inputdrv.o(.text+0xc64): In function `emulate_raw':
: undefined reference to `handle_scancode'
drivers/input/inputdrv.o(.text+0xc74): In function `emulate_raw':
: undefined reference to `handle_scancode'
drivers/input/inputdrv.o(.text+0xcbc): In function `emulate_raw':
: undefined reference to `handle_scancode'
drivers/input/inputdrv.o(.text+0xcd4): more undefined references to
`handle_scancode' follow
drivers/input/inputdrv.o(.text.init+0x98): In function `keybdev_init':
: undefined reference to `kbd_ledfunc'
drivers/input/inputdrv.o(.text.init+0xa0): In function `keybdev_init':
: undefined reference to `kbd_refresh_leds'
drivers/input/inputdrv.o(.text.init+0xa4): In function `keybdev_init':
: undefined reference to `kbd_ledfunc'
make: *** [vmlinux] Error 1

ultra2:/usr/local/src/linux-2.4.32# dpkg -l|grep make
ii  make           3.80-9    
ii  makedev        2.3.1-77 
ultra2:/usr/local/src/linux-2.4.32# dpkg -l|grep gcc 
ii  gcc            3.3.5-3        
ii  gcc-3.3        3.3.5-13      
ii  gcc-3.3-base   3.3.5-13       
ii  lib64gcc1      3.4.3-13   
ii  libgcc1        3.4.3-13   
ultra2:/usr/local/src/linux-2.4.32# dpkg -l|grep cpp
ii  cpp            3.3.5-3   
ii  cpp-3.3        3.3.5-13  
ultra2:/usr/local/src/linux-2.4.32# dpkg -l|grep g++
ii  g++            3.3.5-3   
ii  g++-3.3        3.3.5-13  

I apologize for the long message....
Can someone tell me anything?
Antonio Madesani

Reply to: