[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Ltib] linker issue with ltib v5
From: |
Marc Titinger |
Subject: |
[Ltib] linker issue with ltib v5 |
Date: |
Mon, 14 Jan 2008 16:27:48 +0100 |
Hi,
I'm trying to run the ltib v5 release (Release tag = ltib-imx31ads-20071008) om my imx31litekit (logicpd). But when I recompile the second stage bootloader (that basically just feeds the boot parameters to the linux kernel and jumps to it), I get a weird "cannot find -lc" linker error I had'nt with v4 :
any ideas ? (sorry of this is a noob question).
thanks,
Marc.
>gcc loader_jffs2.c -I./include
loader_jffs2.c: In function 'setup_tags':
loader_jffs2.c:223: warning: passing argument 1 of 'setup_core_tag' makes pointer from integer without a cast
loader_jffs2.c: In function 'main':
loader_jffs2.c:250: warning: assignment makes pointer from integer without a cast
>ld -o loader_jffs2 loader_jffs2.o -static -T config.lds -lc
arm-none-linux-gnueabi-ld: cannot find -lc
the linker script looks like this :
ENTRY(main)
SECTIONS
{
. = 0x800d0000;
.text : { *(.text) }
. = 0x80200000;
.data : { *(.data)}
.bss : { *(.bss) }
__exidx_start = .;
.ARM.exidx : { *(.ARM.exidx* .gnu.linkonce.armexidx.*) }
__exidx_end = .;
}
- [Ltib] linker issue with ltib v5,
Marc Titinger <=