Attempt to build kernel under fc11 x86_64 fails

Mr. Teo En Ming (Zhang Enming) space.time.universe at gmail.com
Mon Nov 16 06:25:01 UTC 2009


On Mon, Nov 16, 2009 at 2:06 PM, Reg Clemens <reg at dwf.com> wrote:
> I have just brought up 64bit fc11, done a 'yum update' to bring it up to
> date with the current changes, and am trying to build the 2.7.31.6 kernel.
>
> This is my first try at a 64bit OS, so I may be doing something stupid.
>
> I see a number of compile errors/warnings, but the most significant seem
> to be near the end of the build of the modules, where I see:
>
> ---
>
>  LD [M]  sound/synth/emux/snd-emux-synth.ko
>  LD [M]  sound/synth/snd-util-mem.ko
>  IHEX    firmware/acenic/tg1.bin
>  IHEX    firmware/acenic/tg2.bin
>  IHEX    firmware/adaptec/starfire_rx.bin
> /bin/sh: /usr/local/bin/objcopy: /lib/ld-linux.so.2: bad ELF interpreter: No
> such file or directory
> /bin/sh: /usr/local/bin/objcopy: /lib/ld-linux.so.2: bad ELF interpreter: No
> such file or directory
> make[1]: *** [firmware/acenic/tg1.bin] Error 126
> make[1]: *** Waiting for unfinished jobs....
> make[1]: *** [firmware/acenic/tg2.bin] Error 126
> /bin/sh: /usr/local/bin/objcopy: /lib/ld-linux.so.2: bad ELF interpreter: No
> such file or directory
> make[1]: *** [firmware/adaptec/starfire_rx.bin] Error 126
> make: *** [modules] Error 2
>  CHK     include/linux/version.h
>  CHK     include/linux/utsrelease.h
>
> ---
>
> And then when I try to do the 'make modules_install' I see
>
> ---
>
> <a number of INSTALL lines deleted>
>
>  INSTALL sound/synth/emux/snd-emux-synth.ko
>  INSTALL sound/synth/snd-util-mem.ko
>  IHEX    firmware/acenic/tg1.bin
> /bin/sh: /usr/local/bin/objcopy: /lib/ld-linux.so.2: bad ELF interpreter: No
> such file or directory
> make[1]: *** [firmware/acenic/tg1.bin] Error 126
> make: *** [_modinst_post] Error 2
>
> ---
>
> Since this is my first experience with 64bit Linux (Ive been running 32bit up
> till now)
> Im not sure what this is trying to tell me.  Is something missing from the
> install???
>
> Any help would be appreciated.
>
> ---
>
>                                        Reg.Clemens
>                                        clemens at dwf.com
>
>
> --
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
> Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
>

You've installed the 64-bit version of Fedora 11. So naturally the
glibc that was installed is also 64-bit.

Are you trying to compile a 32-bit kernel? Then you need to install
the 32-bit version of glibc.

Can you do a "rpm -qa | grep glibc"  and paste the output here?

When you install 32-bit glibc, the file ld-linux.so.2 will be
installed. Presently it is not.

Can you do a search for ld-linux.so.2 by using the following command?

# find / -name ld-linux.so.2




-- 
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical
Engineering)
Alma Maters:
(1) Singapore Polytechnic
(2) National University of Singapore
My Primary Blog: http://teo-en-ming-aka-zhang-enming.blogspot.com
My Secondary Blog: http://enmingteo.wordpress.com
My Youtube videos: http://www.youtube.com/user/enmingteo
Email: space.time.universe at gmail.com
Mobile Phone (Starhub Prepaid): +65-8369-2618
Street: Bedok Reservoir Road
Country: Singapore




More information about the fedora-list mailing list