[uClibc]RE: Help: Simple newbie build problem

James Don JDon at spacebridge.com
Wed Jan 8 00:16:11 UTC 2003


I got uClibc to build once I removed the PIC support from the config ... and
pointed the build to my correct kernel source ;-)

Is it importanted to build with " --enable-shared" ?

Jim

-----Original Message-----
From: James Don 
Sent: Tuesday, January 07, 2003 6:54 PM
To: 'uclibc at uclibc.org'
Subject: RE: Help: Simple newbie build problem

Ok I think I know what this problem is ... I think it has to do with the way
I built my compiler ... I believe it has to do with the fact I did not build
gcc with the " --enable-shared" option ...

Any one know for sure?

I will keep reading ...

Jim



-----Original Message-----
From: James Don 
Sent: Tuesday, January 07, 2003 6:31 PM
To: 'uclibc at uclibc.org'
Subject: Help: Simple newbie build problem

Hello,

Just hoping to find some help with a simple build problem I an having with
uClib.

First off here's some facts:
1.) I have built cross compilers 2.95.3 ... powerpc-linux-gcc with newlib
... etc
2.) I have build bootloader and kernel for embedded board ...
3.) Now I am building uClibc ... I changed the rules.mak file to have the
right CROSS=powerpc-linux- ...

Now here's my problem:
1.) I do this make defconfig
2.) Then I do this make
3.) Then I see this:
	powerpc-linux-ld: cannot open
/home/jgdon/ppcgcc/lib/gcc-lib/powerpc-     
	linux/2.95.3/pic/crtbeginS.o: No such file or directory
	make[1]: *** [shared] Error 1
	make[1]: Leaving directory `/home/jgdon/ppcUClibc/uClibc
0.9.16/libpthread' 

I have found the file crtbeginS.o in home/jgdon/ppcgcc/lib/gcc-lib/powerpc-
linux/2.95.3/ ... or one directory back of where my build is looking ...

Any advice would be much appreciated,
Jim





More information about the uClibc mailing list