lkml.org 
[lkml]   [2004]   [Jan]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject2.6.2-rc1-mm3 compile error (kgdb)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hi,

i was about to compile 2.6.2-rc1-mm3 with kgdb and stuff enabled
(.config attached), but this error occured:

evil@sheep:/data/MP3/scratch/kernel/linux-2.6-mm$ make bzImage modules
make[1]: `arch/ppc/kernel/asm-offsets.s' is up to date.
~ CHK include/linux/compile.h
~ UPD include/linux/compile.h
~ CC init/version.o
~ LD init/built-in.o
~ GEN .version
~ CHK include/linux/compile.h
~ UPD include/linux/compile.h
~ CC init/version.o
~ LD init/built-in.o
~ LD .tmp_vmlinux1
arch/ppc/kernel/built-in.o(.text+0x947c): In function `getpacket':
arch/ppc/kernel/ppc-stub.c:350: undefined reference to `getDebugChar'
arch/ppc/kernel/built-in.o(.text+0x9494):arch/ppc/kernel/ppc-stub.c:359:
undefined reference to `getDebugChar'
arch/ppc/kernel/built-in.o(.text+0x9504):arch/ppc/kernel/ppc-stub.c:373:
undefined reference to `getDebugChar'
arch/ppc/kernel/built-in.o(.text+0x9514):arch/ppc/kernel/ppc-stub.c:374:
undefined reference to `getDebugChar'
arch/ppc/kernel/built-in.o(.text+0x9538):arch/ppc/kernel/ppc-stub.c:376:
undefined reference to `putDebugChar'
arch/ppc/kernel/built-in.o(.text+0x9544):arch/ppc/kernel/ppc-stub.c:378:
undefined reference to `putDebugChar'
arch/ppc/kernel/built-in.o(.text+0x9558):arch/ppc/kernel/ppc-stub.c:381:
undefined reference to `putDebugChar'
arch/ppc/kernel/built-in.o(.text+0x9560):arch/ppc/kernel/ppc-stub.c:382:
undefined reference to `putDebugChar'
arch/ppc/kernel/built-in.o(.text+0x95bc): In function `putpacket':
arch/ppc/kernel/ppc-stub.c:402: undefined reference to `putDebugChar'
arch/ppc/kernel/built-in.o(.text+0x95d4):arch/ppc/kernel/ppc-stub.c:412:
more undefined references to `putDebugChar' follow
arch/ppc/kernel/built-in.o(.text+0x95f0): In function `putpacket':
arch/ppc/kernel/ppc-stub.c:415: undefined reference to `getDebugChar'
arch/ppc/kernel/built-in.o(.text+0x961c):arch/ppc/kernel/ppc-stub.c:407:
undefined reference to `putDebugChar'
arch/ppc/kernel/built-in.o(.text+0x9810): In function `handle_exception':
arch/ppc/kernel/ppc-stub.c:589: undefined reference to `kgdb_interruptible'
arch/ppc/kernel/built-in.o(.text+0x9c78):arch/ppc/kernel/ppc-stub.c:781:
undefined reference to `kgdb_interruptible'
arch/ppc/kernel/built-in.o(.init.text+0x82c): In function `setup_arch':
arch/ppc/kernel/setup.c:651: undefined reference to `kgdb_map_scc'
arch/ppc/platforms/built-in.o(.init.text+0x9ac): In function
`pmac_setup_arch':
arch/ppc/platforms/pmac_setup.c:301: undefined reference to `zs_kgdb_hook'
drivers/built-in.o(.text+0x2d200): In function `eth_getDebugChar':
drivers/net/kgdb_eth.c:55: undefined reference to `netpoll_poll'
drivers/built-in.o(.text+0x2d2a8): In function `eth_flushDebugChar':
drivers/net/kgdb_eth.c:66: undefined reference to `netpoll_send_udp'
drivers/built-in.o(.text+0x2d2fc): In function `rx_hook':
drivers/net/kgdb_eth.c:85: undefined reference to `netpoll_trap'
drivers/built-in.o(.text+0x2d3ac):drivers/net/kgdb_eth.c:90: undefined
reference to `kgdb_schedule_breakpoint'
drivers/built-in.o(.text+0x2d3d0):drivers/net/kgdb_eth.c:86: undefined
reference to `kgdb_schedule_breakpoint'
drivers/built-in.o(.text+0x2d3f0): In function `option_setup':
drivers/net/kgdb_eth.c:106: undefined reference to `netpoll_parse_options'
drivers/built-in.o(.text+0x2d440): In function `init_kgdboe':
drivers/net/kgdb_eth.c:129: undefined reference to `netpoll_setup'
make: *** [.tmp_vmlinux1] Error 1

this is on Debian/unstable (PPC32) (PReP),
gcc-Version 3.3.3 20031229 (prerelease)
GNU ld version 2.14.90.0.7 20031029 Debian GNU/Linux
~ Supported emulations:
~ elf32ppclinux
~ elf32ppc
~ elf32ppcsim
~ elf64ppc
glibc Version: 2.3.2.ds1-10

this setup happily compiles other vanilla/slightly patched 2.[4|6].x
kernels with no problems.

Thanks,
Christian.
- --
BOFH excuse #430:

Mouse has out-of-cheese-error
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFAE8mS+A7rjkF8z0wRAg4tAJ4oZB4ehBcwvsKAVJynAtNUrJXrmwCeL5v4
2GhQAuSmL9WbNZTBiHgPRRU=
=N9Fs
-----END PGP SIGNATURE-----

cat .config | grep ^C > ~/config-mm3.txt

CONFIG_MMU=y
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
CONFIG_HAVE_DEC_LOCK=y
CONFIG_PPC=y
CONFIG_PPC32=y
CONFIG_GENERIC_NVRAM=y
CONFIG_EXPERIMENTAL=y
CONFIG_CLEAN_COMPILE=y
CONFIG_BROKEN_ON_SMP=y
CONFIG_SWAP=y
CONFIG_SYSVIPC=y
CONFIG_BSD_PROCESS_ACCT=y
CONFIG_SYSCTL=y
CONFIG_LOG_BUF_SHIFT=14
CONFIG_KALLSYMS=y
CONFIG_FUTEX=y
CONFIG_EPOLL=y
CONFIG_IOSCHED_NOOP=y
CONFIG_IOSCHED_AS=y
CONFIG_IOSCHED_DEADLINE=y
CONFIG_IOSCHED_CFQ=y
CONFIG_MODULES=y
CONFIG_MODULE_UNLOAD=y
CONFIG_OBSOLETE_MODPARM=y
CONFIG_KMOD=y
CONFIG_6xx=y
CONFIG_PPC_STD_MMU=y
CONFIG_PPC_MULTIPLATFORM=y
CONFIG_PPC_CHRP=y
CONFIG_PPC_PMAC=y
CONFIG_PPC_PREP=y
CONFIG_PPC_OF=y
CONFIG_PPCBUG_NVRAM=y
CONFIG_KERNEL_ELF=y
CONFIG_BINFMT_ELF=y
CONFIG_CMDLINE_BOOL=y
CONFIG_CMDLINE="console=ttyS0,9600 console=tty0 root=/dev/sda5"
CONFIG_GENERIC_ISA_DMA=y
CONFIG_PCI=y
CONFIG_PCI_DOMAINS=y
CONFIG_HIGHMEM_START=0xfe000000
CONFIG_LOWMEM_SIZE=0x30000000
CONFIG_KERNEL_START=0xc0000000
CONFIG_TASK_SIZE=0x80000000
CONFIG_BOOT_LOAD=0x00800000
CONFIG_SCSI=y
CONFIG_BLK_DEV_SD=y
CONFIG_MAX_SD_DISKS=256
CONFIG_SCSI_SYM53C8XX_2=y
CONFIG_SCSI_SYM53C8XX_DMA_ADDRESSING_MODE=0
CONFIG_SCSI_SYM53C8XX_DEFAULT_TAGS=16
CONFIG_SCSI_SYM53C8XX_MAX_TAGS=64
CONFIG_SCSI_QLA2XXX_CONFIG=y
CONFIG_NET=y
CONFIG_PACKET=y
CONFIG_PACKET_MMAP=y
CONFIG_UNIX=y
CONFIG_INET=y
CONFIG_IPV6_SCTP__=y
CONFIG_NETDEVICES=y
CONFIG_NET_ETHERNET=y
CONFIG_MII=y
CONFIG_NET_VENDOR_3COM=y
CONFIG_VORTEX=m
CONFIG_NET_TULIP=y
CONFIG_DE2104X=m
CONFIG_TULIP=m
CONFIG_INPUT=y
CONFIG_INPUT_MOUSEDEV=y
CONFIG_INPUT_MOUSEDEV_PSAUX=y
CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
CONFIG_SOUND_GAMEPORT=y
CONFIG_SERIO=y
CONFIG_INPUT_KEYBOARD=y
CONFIG_KEYBOARD_ATKBD=y
CONFIG_VT=y
CONFIG_VT_CONSOLE=y
CONFIG_HW_CONSOLE=y
CONFIG_UNIX98_PTYS=y
CONFIG_UNIX98_PTY_COUNT=256
CONFIG_VGA_CONSOLE=y
CONFIG_DUMMY_CONSOLE=y
CONFIG_EXT2_FS=y
CONFIG_EXT3_FS=y
CONFIG_JBD=y
CONFIG_PROC_FS=y
CONFIG_PROC_KCORE=y
CONFIG_SYSFS=y
CONFIG_DEVPTS_FS=y
CONFIG_RAMFS=y
CONFIG_MSDOS_PARTITION=y
CONFIG_CRC32=m
CONFIG_DEBUG_KERNEL=y
CONFIG_MAGIC_SYSRQ=y
CONFIG_KGDB=y
CONFIG_KGDB_TTYS1=y
CONFIG_DEBUG_INFO=y
CONFIG_BOOTX_TEXT=y
\
 
 \ /
  Last update: 2005-03-22 14:00    [W:0.277 / U:0.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site