Problems compiling Kernel

Sasha Tsykin stsykin at gmail.com
Wed Feb 1 20:19:43 UTC 2006


Bill Gillespie wrote:
> Hello All.  I am trying to compile a kernel (2.6.12)
> on a ubuntu fresh install.  After issuing the
> command "make zimage" it goes through the process
> but finishes with:
>
> "  LD      .tmp_vmlinux1
> drivers/built-in.o: In function `uncompress':
> cloop.c:(.text+0x79f07): undefined reference to `zlib_inflateReset'
> cloop.c:(.text+0x79f1b): undefined reference to `zlib_inflate'
> cloop.c:(.text+0x79f5e): undefined reference to `zlib_inflateEnd'
> cloop.c:(.text+0x79f76): undefined reference to `zlib_inflateInit_'
> drivers/built-in.o: In function `clo_set_file':
> cloop.c:(.text+0x7a90f): undefined reference to `zlib_inflate_workspacesize'
> cloop.c:(.text+0x7a943): undefined reference to `zlib_inflateInit_'
> cloop.c:(.text+0x7abdf): undefined reference to `zlib_inflate_workspacesize'
> drivers/built-in.o: In function `cloop_exit':
> cloop.c:(.exit.text+0x39e): undefined reference to `zlib_inflateEnd'
> cloop.c:(.exit.text+0x44a): undefined reference to `zlib_inflateEnd'
> make: *** [.tmp_vmlinux1] Error 1"
>
> Any suggestions are appreciated.
>
> Thanks, Bill
>
> --
> Bill Gillespie
> Richmond, BC Canada
>
>
>   
There's a good kernel compilation guide at 
http://www.ubuntuforums.org/showthread.php?t=85064. Hope his helps.

Sasha




More information about the ubuntu-users mailing list