[uClibc] build failed on big-endian mips and gcc3.3

Song Wang wsonguci at yahoo.com
Mon Jun 30 23:54:49 UTC 2003


Hi,

I tried to build uclibc-0.9.19 on big-endian
mips and gcc3.3, I got the following build error

Any idea? Thanks.

make -C ldso;
make[2]: Entering directory
`/usr/src/redhat/BUILD/uClibc-0.9.19/ldso/ldso'
echo "const char *_dl_progname=\""ld-uClibc.so.0"\";"
> ldso.h
echo "#include \"mips/elfinterp.c\"" >> ldso.h
mips-uclibc-gcc  -Wall -Wstrict-prototypes
-Wno-trigraphs -fno-strict-aliasing  -Os    
-fno-builtin -nostdinc -D_LIBC -I../../include -I.
-I/opt/toolchains/uclibc-crosstools-1.0.1/lib/gcc-lib/mips-linux/3.3/include
-DNDEBUG -msoft-float -fPIC -I. -I./mips -I../libdl -c
mips/resolve.S -o mips/resolve.o
mips-uclibc-strip -x -R .note -R .comment
mips/resolve.o
mips-uclibc-gcc  -Wall -Wstrict-prototypes
-Wno-trigraphs -fno-strict-aliasing  -Os    
-fno-builtin -nostdinc -D_LIBC -I../../include -I.
-I/opt/toolchains/uclibc-crosstools-1.0.1/lib/gcc-lib/mips-linux/3.3/include
-DNDEBUG -msoft-float -fPIC
-DUCLIBC_TARGET_PREFIX=\"/\"
-DUCLIBC_DEVEL_PREFIX=\""/usr/mips-linux-uclibc"\"
-DUCLIBC_BUILD_DIR=\"/usr/src/redhat/BUILD/uClibc-0.9.19\"
-I. -I./mips -I../libdl -c ldso.c -o ldso.o
In file included from ldso.c:159:
mips/boot1_arch.h:6:5: missing terminating " character
In file included from ldso.c:159:
mips/boot1_arch.h:7: error: request for member `text'
in something not a structure or union
mips/boot1_arch.h:8: error: parse error before
"_dl_boot"
mips/boot1_arch.h:11:20: invalid suffix "f" on integer
constant
mips/boot1_arch.h:35:1: missing terminating "
character
In file included from ldso.h:2,
                 from ldso.c:160:
mips/elfinterp.c: In function
`_dl_parse_relocation_information':
mips/elfinterp.c:133: error: `_dl_progname' undeclared
(first use in this function)
mips/elfinterp.c:133: error: (Each undeclared
identifier is reported only once
mips/elfinterp.c:133: error: for each function it
appears in.)
ldso.c:438:2: warning: #warning "Debugging threads on
mips won't work till someone fixes this..."
ldso.c: In function `_dl_boot2':
ldso.c:598: error: `_dl_progname' undeclared (first
use in this function)
ldso.c: In function `_dl_get_ready_to_run':
ldso.c:937: error: `_dl_progname' undeclared (first
use in this function)
ldso.c: In function `_dl_fixup':
ldso.c:1319: error: `_dl_progname' undeclared (first
use in this function)
In file included from ldso.c:1377:
readelflib1.c: In function
`_dl_load_elf_shared_library':
readelflib1.c:381: error: `_dl_progname' undeclared
(first use in this function)In file included from
ldso.c:1377:
readelflib1.c: In function `_dl_malloc':
readelflib1.c:778: error: `_dl_progname' undeclared
(first use in this function)make[2]: *** [ldso.o]
Error 1


__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com



More information about the uClibc mailing list