Skip to contentSkip to conversation

Problem with kernel 2.6.15's build target .tmp_vmlinux1

DISCUSSION David Relson 2 participants 2 messages Jan 11, 2006 – Jan 13, 2006

lore
Share & tools
lore
#0 lore raw

Greetings,

I've run into a problem building 2.6.15. Starting with my 2.6.14 .config file, I ran oldconfig to generate a .config for 2.6.15. Running "make" results in:

LD .tmp_vmlinux1
kernel/built-in.o: In function `do_exit':
: undefined reference to exit_io_context' mm/built-in.o: In function generic_write_checks':
: undefined reference to bdev_read_only' mm/built-in.o: In function __generic_file_aio_write_nolock':
: undefined reference to bdev_read_only' mm/built-in.o: In function __alloc_pages':
: undefined reference to blk_congestion_wait' mm/built-in.o: In function __alloc_pages':
: undefined reference to `blk_congestion_wait'

Makefile indicates that KALLSYMS is involved in building this target, so here are two combinations of KALLSYMS settings that result in the same problem:

CONFIG_KALLSYMS=y
# CONFIG_KALLSYMS is not set
# CONFIG_KALLSYMS is not set

CONFIG_KALLSYMS=y
# CONFIG_KALLSYMS_ALL is not set
CONFIG_KALLSYMS_EXTRA_PASS=y

Makefile mentions that the maintainers are working on problems with kallsyms, which is why I'm reporting this problem.

If you need any more info (such as a copy of .config), let me know.

Regards,

David

P.S. As I'm not subscribed to this list, please CC me for all replies.

#1 lore raw
Quoted 2 lines · David Relson

Greetings,

Hi David,

Quoted 4 lines

I've run into a problem building 2.6.15. Starting with my 2.6.14 .config file, I ran oldconfig to generate a .config for 2.6.15. Running "make" results in:

Quoted 12 lines

LD .tmp_vmlinux1
kernel/built-in.o: In function `do_exit':
: undefined reference to exit_io_context' mm/built-in.o: In function generic_write_checks':
: undefined reference to bdev_read_only' mm/built-in.o: In function __generic_file_aio_write_nolock':
: undefined reference to bdev_read_only' mm/built-in.o: In function __alloc_pages':
: undefined reference to blk_congestion_wait' mm/built-in.o: In function __alloc_pages':
: undefined reference to `blk_congestion_wait'
...

please send your .config .

Quoted 4 lines

Regards,

David
...

cu
Adrian

Signature · 4 lines
       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed