[uClibc]Can't build uClibc 0.9.10,0.9.11 on powerpc platform

Sehnert, William R SehneWR at LOUISVILLE.STORTEK.COM
Wed Apr 24 13:24:49 UTC 2002


My bad...

I had a corrupted header file in my linux base, nothing to do with uClibc.

Thanks for the help.
bill.

> -----Original Message-----
> From: Ed Brady [mailto:mailinglist at ebrady.net]
> Sent: Tuesday, April 23, 2002 10:00 PM
> To: Sehnert, William R; uclibc at uclibc.org
> Subject: Re: [uClibc]Can't build uClibc 0.9.10,0.9.11 on powerpc
> platform
> 
> 
> I have built it for the powerpc, have been happily running it 
> on an Motorola
> MBX board also.
> 
> Don't know if this will solve your problem or not, but I did 
> have to change
> the makefile in one area to get it to build correctly.
> 
> I got the info from another posting mailinglist posting...  (Possibly
> here...)
> 
> uClibc-0.9.11/ldso/Makefile:
> 
> change the following lines:
> 
> $(MAKE) -C $(LIBRARY_CACHE) ldso;
> $(MAKE) -C $(LIBRARY_CACHE) libdl;
> $(MAKE) -C $(LIBRARY_CACHE) util;
> 
> to read
> 
> $(MAKE) -C ldso LIBRARY_CACHE=$(LIBRARY_CACHE)
> $(MAKE) -C libdl LIBRARY_CACHE=$(LIBRARY_CACHE)
> $(MAKE) -C util LIBRARY_CACHE=$(LIBRARY_CACHE)
> 
> exporting LIBRARY_CACHE in the makefile may have the same affect as
> LIBRARY_CACHE=$(LIBRARY_CACHE).
> 
> This may be totally unrelated to your problem, but since I 
> have gotten it to
> build and run, I figured you might be interested.
> 
> Ed Brady
> ed at ebrady.net
> 
> 
> ----- Original Message -----
> From: "Sehnert, William R" <SehneWR at LOUISVILLE.STORTEK.COM>
> To: <uclibc at uclibc.org>
> Sent: Tuesday, April 23, 2002 7:39 PM
> Subject: [uClibc]Can't build uClibc 0.9.10,0.9.11 on powerpc platform
> 
> 
> >
> > I can't build uClibc version 0.9.10 and 0.9.11 for the 
> powerpc.  version
> > 0.9.9 does work.
> >
> > here is the compiler output
> > make -C  ldso;
> > make[2]: Entering directory 
> `/home/sehnewr/src/uClibc-0.9.11/ldso/ldso'
> > powerpc-linux-gcc -Wall -Os  -fno-builtin -nostdinc -pipe -nostdinc
> > -I../../include 
> -I/usr/local/lib/gcc-lib/powerpc-linux/2.95.2/include -I.
> > -D_LIBC  -DNDEBUG  -fPIC -DDL_TRACE -DUCLIBC_TARGET_PREFIX=\"/\"
> > -DUCLIBC_DEVEL_PREFIX=\"/usr/powerpc-linux-uclibc\"
> > -DUCLIBC_BUILD_DIR=\"/home/sehnewr/src/uClibc-0.9.11\" -I. 
> -I./powerpc
> > -I../libdl -c ldso.c -o ldso.o
> > ldso.c: In function `_dl_boot2':
> > ldso.c:596: warning: control reaches end of non-void function
> > In file included from ldso.c:1358:
> > readelflib1.c: In function `_dl_load_elf_shared_library':
> > readelflib1.c:412: `PROT_NONE' undeclared (first use in 
> this function)
> > readelflib1.c:412: (Each undeclared identifier is reported only once
> > readelflib1.c:412: for each function it appears in.)
> > make[2]: *** [ldso.o] Error 1
> >
> > Has anyone else built the powerpc version for 0.9.11?
> >
> > Bill
> > _______________________________________________
> > uClibc mailing list
> > uClibc at uclibc.org
> > http://uclibc.org/mailman/listinfo/uclibc
> >
> 
> 



More information about the uClibc mailing list