[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Compilation Errors - 2.6.19
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160
> Hi,
>
> I am trying to compile linux 2.6.19. But keep getting following errors.
> I tried several compiler options to get rid of the problem, as described
> in the mailing list, but could not. Any directions would be really
> helpful, Thanks in advance.
>
> arch/mips/kernel/head.o(.init.text+0x3c): In function `kernel_entry':
> arch/mips/kernel/head.S: relocation truncated to fit: R_MIPS_GPREL16
> against `fw_arg0'
> arch/mips/kernel/head.o(.init.text+0x40):arch/mips/kernel/head.S:
> relocation truncated to fit: R_MIPS_GPREL16 against `fw_arg1'
> arch/mips/kernel/head.o(.init.text+0x44):arch/mips/kernel/head.S:
> relocation truncated to fit: R_MIPS_GPREL16 against `fw_arg2'
> arch/mips/kernel/head.o(.init.text+0x48):arch/mips/kernel/head.S:
> relocation truncated to fit: R_MIPS_GPREL16 against `fw_arg3'
>
> arch/mips/kernel/built-in.o(.text+0x87c): In function `handle_int':
> : undefined reference to `plat_irq_dispatch'
> arch/mips/kernel/built-in.o(.text+0x87c): In function `handle_int':
> : relocation truncated to fit: R_MIPS_26 against `plat_irq_dispatch'
> arch/mips/kernel/built-in.o(.text+0x1ddc): In function `allocate_irqno':
> : undefined reference to `find_next_zero_bit'
> arch/mips/kernel/built-in.o(.text+0x1ddc): In function `allocate_irqno':
> : relocation truncated to fit: R_MIPS_26 against `find_next_zero_bit'
> arch/mips/kernel/built-in.o(.init.text+0x13c4): In function
> `setup_arch':
> ......
> ......
> ......
>
>
> Regards,
> Mansoor Aftab.
Have you tried adding "-G 0"?
Kristof
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFFnqgbUEZ9DhGwDugRAxhJAJwJWu1w4ce8aFvU+XTEPFybUaw+lgCfUzYc
zNaAJzsTB+fRODa6GMzeeUc=
=61JH
-----END PGP SIGNATURE-----
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/