Re: vmlinux Kernel ld error
On Thu, Jul 05, 2001 at 04:33:33PM -0700, John D. Davis wrote:
> I am currently trying to build the vmlinux kernel on an SGI Indy. I am
> using(from ftp://ftp.rfc822.org/pub/local/debian-mips/):
>
> binutils-20001007.tar.gz
> gcc-20001007.tar.gz
> make_3.79.1-1_mips.deb
>
> and
> libc6-dev_2.1.95-1_mips.deb
> for the /usr/include stuff
>
> libcg-2.2-8 is on the machine from base2_2.2.
> I am getting an ld error after I have done the configuration and make dep.
> This is the ld error:
>
> ld -static -G 0 -T arch/mips/ld.script arch/mips/kernel/head.o
> arch/mips/kernel/init_task.o init/main.o init/version.o \
> --start-group \
> arch/mips/kernel/kernel.o arch/mips/mm/mm.o kernel/kernel.o
> mm/mm.o fs/fs.o ipc/ipc.o arch/mips/math-emu/fpu_emulator.o
> arch/mips/sgi/kernel/ip22-kern.o \
> drivers/char/char.o drivers/block/block.o drivers/misc/misc.o
> drivers/net/net.o drivers/media/media.o drivers/scsi/scsidrv.o
> drivers/sgi/sgi.a drivers/video/video.o \
> net/network.o \
> arch/mips/lib/lib.a /home/johnd/linux/lib/lib.a
> arch/mips/arc/arclib.a \ --end-group \
> -o vmlinux
> mips-linux-ld: drivers/media/media.o: uses different e_flags (0x0) fields
> than previous modules (0x100)
> Bad value: failed to merge target specific data of file
> drivers/media/media.o
> make: *** [vmlinux] Error 1
>
> Is anyone familar with this error and a possible fix? I am using all of
> the standard config options except CD-ROM support. I don't have one for
> the machine.
> Thanks for your time.
> john davis
>
>
Hm,
I know the error the fix is to comment out the media stuff in the Makefiles.
--
Henning Heinold
Reply to: