ERROR:
/home/ant/project/or1k/uclinux/uClinux-2.0.x/include/asm/board.h:63: Error: junk at end of line, first unrecognized character is `/'
SOLUTION:
include/asm/board.h: only /* */ comments are allowed. // comments should be removed
ERROR:
head.S:231: Error: junk at end of line, first unrecognized character is `,'
SOLUTION:
arch/or32/kernel/head.S: remove last coma from the line 231: .section .romvec, "ax",
ERROR:
/home/ant/project/or1k/uclinux/uClinux-2.0.x/include/linux/skbuff.h:424: error: label at end of compound statement
SOLUTION:
in include/linux/skbuff.h, at the lines 423 and 410, add ; after head
ERROR:
sched.c:440: error: label at end of compound statement:
SOLUTION:
in kernel/sched.c, at line 439 add ; after case TASK_RUNNING:
ERROR:
tcp_input.c:2349: error: label at end of compound statement
SOLUTION
in net/ipv4/tcp_input.c, at line 2347 add ; after default:
ERROR:
udp.c:202: error: label at end of compound statement
SOLUTION:
in net/ipv4/udp.c, at line 201 add ; after next:
ERROR:
filemap.c:775: error: label at end of compound statement
SOLUTION:
in mmnommu/filemap.c, at line 773 add ; after case 0:
ERROR:
or32-uclinux-ld -T arch/or32/board/rom.ld arch/or32/kernel/head.o init/main.o init/version.o \
arch/or32/kernel/kernel.o arch/or32/mm/mm.o arch/or32/board/board.o kernel/kernel.o fs/fs.o ipc/ipc.o net/network.a mmnommu/mm.o \
fs/filesystems.a \
drivers/block/block.a drivers/char/char.a drivers/net/net.a \
/home/ant/project/or1k/uclinux/uClinux-2.0.x/lib/lib.a arch/or32
/lib/lib.a /opt/or32-uclinux/lib/gcc/or32-uclinux/3.4.4/libgcc.a -o linuxor32-uclinux-ld: error: no memory region specified for loadable section `.rodata.str1.1'
make: *** [linux] Error 1
SOLUTION:
in arch/or32/board/rom.ld add entry for .rodata.str1.1 and .rodata.cst4 similar to that for .rodata. as follows:
.rodata.str1.1 :
{
*(.rodata.str1.1)
__etext = . ;
} > flash
.rodata.cst4 :
{
*(.rodata.cst4)
__etext = . ;
} > flash
With these modifications the application compiled and linked successfully.
1 comment:
Do you have a /or1k/uclibc ?
"caterpillar@hanmail.net"
Post a Comment