Re: linux-2.6.17.1: undefined reference to `online_page'

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

 



In-Reply-To: <[email protected]>

On Fri, 23 Jun 2006 10:01:33 +0200, Toralf Foerster wrote:

> I got the compile error :
> 
> ...
>   UPD     include/linux/compile.h
>   CC      init/version.o
>   LD      init/built-in.o
>   LD      .tmp_vmlinux1
> mm/built-in.o: In function `online_pages':
> : undefined reference to `online_page'
> make: *** [.tmp_vmlinux1] Error 1
> 
> with this config:

> CONFIG_X86_32=y

> CONFIG_NOHIGHMEM=y

> CONFIG_SPARSEMEM_MANUAL=y
> CONFIG_SPARSEMEM=y
> CONFIG_HAVE_MEMORY_PRESENT=y
> CONFIG_SPARSEMEM_STATIC=y
> CONFIG_MEMORY_HOTPLUG=y

Yes, that config is broken. mm/memory_hotplug.c::online_pages() calls
online_page() but without HIGHMEM that doesn't get built and no dummy
function gets defined.

-- 
Chuck
 "You can't read a newspaper if you can't read."  --George W. Bush
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux