2006-01-11 00:35:35

by David Relson

[permalink] [raw]
Subject: Problem with kernel 2.6.15's build target .tmp_vmlinux1


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.


2006-01-13 14:01:31

by Adrian Bunk

[permalink] [raw]
Subject: Re: Problem with kernel 2.6.15's build target .tmp_vmlinux1

On Tue, Jan 10, 2006 at 07:35:34PM -0500, David Relson wrote:
>
> Greetings,

Hi David,

> 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'
>...

please send your .config .

> Regards,
>
> David
>...

cu
Adrian

--

"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