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

Re: Compiling 2.6.16 kernel for ppc



Adam Done wrote:

>I have been trying today to compile a vanilla 2.6.16 kernel direct from
>kernel.org and every time I get the same errors at the very end.
>
>    if [ -r System.map -a -x /sbin/depmod ]; then /sbin/depmod -ae -F
>    System.map -b /usr/src/linux/ debian/tmp-image -r 2.6.16.ppc.pb1; fi
>    WARNING:
>    /usr/src/linux/debian/tmp-image/lib/modules/2.6.16.ppc.pb1/kernel/arch/ppc/platforms/c
>    hrp_nvram.ko needs unknown symbol call_rtas
>    make[2]: Leaving directory `/usr/src/linux-2.6.16'
>    test ! -e debian/tmp-image/lib/modules/2.6.16.ppc.pb1/source
>    ||                        \
>       mv debian/tmp-image/lib/modules/2.6.16.ppc.pb1/source
>    ./debian/source-link
>    test ! -e debian/tmp-image/lib/modules/2.6.16.ppc.pb1/build
>    ||                         \
>       mv debian/tmp-image/lib/modules/2.6.16.ppc.pb1/build
>    ./debian/build-link
>    depmod -q -FSystem.map -b debian/tmp-image 2.6.16.ppc.pb1;
>    test ! -e ./debian/source-link
>    ||                                              \
>       mv ./debian/source-link
>    debian/tmp-image/lib/modules/2.6.16.ppc.pb1/source
>    test ! -e  ./debian/build-link
>    ||                                              \
>       mv  ./debian/build-link
>    debian/tmp-image/lib/modules/2.6.16.ppc.pb1/build
>    cp vmlinux debian/tmp-image/boot/vmlinux-2.6.16.ppc.pb1
>    chmod 644 debian/tmp-image/boot/vmlinux-2.6.16.ppc.pb1;
>    cp arch/ppc/boot/images/vmlinux.coff  
>    debian/tmp-image/boot/vmlinux.coff-2.6.16.ppc.pb1
>    cp: cannot stat `arch/ppc/boot/images/vmlinux.coff': No such file or
>    directory
>    make[1]: *** [real_stamp_image] Error 1
>    make[1]: Leaving directory `/usr/src/linux-2.6.16'
>    make: *** [kernel-image-deb] Error 2
>
>
>
>vmlinux.coff is not located anywhere in any directory
>
>-adam
>
>
>  
>
I am experiencing something out of the norm.  When I use xconfig and
configure the kernel and then apply

make-kpkg --append-to-version .ppc.pb1 -rev Custom.1 kernel_image

ALL of my ppc settings are empty and I am promoted using the oldconfig
method for every ppc setting.  Then once compiling the kernel and at the
end I get the error (above) my .config file is altered with the ppc
settings all blank.  I  even tried to chmod .config just only readable
but I am still promoted asking me for the ppc settings.  Upon looking at
the .config file even with

-rw-r--r--   1 root root  38K Mar 20 23:00 .config

I am still left with a changed .config with all the ppc settings and mac
settings blank.

I don't know if this is any way related to the above issue with the
errors at the end of the compile but it is sure annoying to have to
reenter all my ppc/mac settings on each compile and xconfig.

-Adam




Reply to: