|
Message
From: peter.horwood at firecron.com<peter.horwood@f...>
Date: Thu Jun 30 16:32:12 CEST 2005
Subject: [openrisc] UClibc issue for uClinux
Hi Can some one point me in the right direction, I am trying to build the uClinux but still haveing issue.
using gcc-295.3 as compiler on PC (set CC to control this) compiled the binutils compiled gcc-3.2.3 compiled gdb, ddd, or1ksim, jtag no issue's uclinux/uClinux-2.0.x makes OK
I had question over which uclib to use as it is not a stand alone directory
The following dir is not in the location as per how to's, uclinux/uC-libc
If you cd into and try to follow how to, it does not enable the creation of the link file as noexport dir.
Downloaded from cvs uClibc which I note is the version from linux branch place this at the same level as uclinux in build tree. generate the link file with edits shown and run make all install. This runs through and then opens a GUI config tool for uclibc. The target is not set for or32 here and you walk through the menu's settinmg big endian etc too. the Make continues and then errors out with the following :-
make[3]: Entering directory `/tmp/devone/or1k/uClibc/libc/misc/regex' "or32-uclinux-"gcc -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict- aliasing -Os -fno-builtin -nostdinc -D_LIBC -I../../../include -I. - I/opt/or32-uclinux/lib/gcc-lib/or32-uclinux/3.2.3/include -DNDEBUG - fPIC -c regex.c -o regex.o/tmp/cc7RjOTU.s: Assembler messages: /tmp/cc7RjOTU.s:4375: Error: operation combines symbols in different segments /tmp/cc7RjOTU.s:4384: Error: operation combines symbols in different segments /tmp/cc7RjOTU.s:4385: Error: operation combines symbols in different segments /tmp/cc7RjOTU.s:4386: Error: operation combines symbols in different segments /tmp/cc7RjOTU.s:4387: Error: operation combines symbols in different segments /tmp/cc7RjOTU.s:4395: Error: operation combines symbols in different segments /tmp/cc7RjOTU.s:4401: Error: operation combines symbols in different segments /tmp/cc7RjOTU.s:4402: Error: operation combines symbols in different segments /tmp/cc7RjOTU.s:4403: Error: operation combines symbols in different segments /tmp/cc7RjOTU.s:4404: Error: operation combines symbols in different segments /tmp/cc7RjOTU.s:5329: Error: operation combines symbols in different segments make[3]: *** [regex.o] Error 1 make[3]: Leaving directory `/tmp/devone/or1k/uClibc/libc/misc/regex' make[2]: *** [_dir_regex] Error 2 make[2]: Leaving directory `/tmp/devone/or1k/uClibc/libc/misc' make[1]: *** [_dir_misc] Error 2 make[1]: Leaving directory `/tmp/devone/or1k/uClibc/libc' make: *** [_dir_libc] Error 2 [root at localhost uClibc]#
Any help wopuld be great....
Peter
|
 |