* RE: glibc patch question and error help for building ppc cross compiler
@ 1999-12-27 2:58 Nguyen Xuan Hoang
0 siblings, 0 replies; 3+ messages in thread
From: Nguyen Xuan Hoang @ 1999-12-27 2:58 UTC (permalink / raw)
To: 'Gould, Rick', linuxppc-embedded@lists.linuxppc.org,
mmporter@home.com
Hi,
I did follow that sequence and I can compile successfully. But I always have to manually set the path to /usr/local/bin:
PATH=/usr/local/bin:$PATH
after finishing binutils,gcc,kernel..This's not written in the guide.
Hope this can help
Hoang
-----Original Message-----
From: Gould, Rick [SMTP:RGould@placethecall.com]
Sent: Tuesday, June 27, 2000 6:16 AM
To: linuxppc-embedded@lists.linuxppc.org; mmporter@home.com
Subject: glibc patch question and error help for building ppc cross compiler
I'm trying to build a cross-development tool chain for building under Red
Hat Linux 6.2 on an x86 platform targeting a Brignt Star Engineering MPC-823
PowerPC-based board. I've run into an error, and have a glibc patch
question.
Section 6 of "The Linux for PowerPC Embedded Systems HOWTO" at
http://members.xoom.com/greyhams/linux/PowerPC-Embedded-HOWTO-6.html points
to "Cross Development for Linux/PPC" at
http://members.home.net/mmporter/linux/cross/ with instructions on building
the cross compiler tool chain. I downloaded binutils-2.10.0.9,
gcc-core-2.95.2, glibc-2.1.3, glibc-crypt-2.1, glibc-linuxthreads-2.1.3, and
the glibc patch at
http://members.home.net/mmporter/linux/cross/glibc-2.1.3-ctype.patch. I've
followed all the steps successfully up to the glibc make step. After much
compiling, the compilation of sysdeps/generic/uname.c fails with
"config-name.h, No such file or directory":
make[2]: Entering directory `/usr/local/glibc-2.1.3/posix'
powerpc-linux-gcc ../sysdeps/generic/uname.c -c -O -Wall -Winline
-Wstrict-prototypes -Wwrite-strings -g -I../include -I.
-I/usr/local/glibc-2.1.3/build/posix -I.. -I../libio
-I/usr/local/glibc-2.1.3/build -I../sysdeps/powerpc/elf
-I../crypt/sysdeps/unix -I../linuxthreads/sysdeps/unix/sysv/linux
-I../linuxthreads/sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv
-I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/powerpc
-I../sysdeps/unix/sysv/linux/powerpc -I../sysdeps/unix/sysv/linux
-I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman
-I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix
-I../sysdeps/posix -I../sysdeps/powerpc -I../sysdeps/wordsize-32
-I../sysdeps/ieee754 -I../sysdeps/libm-ieee754 -I../sysdeps/generic/elf
-I../sysdeps/generic -nostdinc -isystem
/usr/local/lib/gcc-lib/powerpc-linux/2.95.2/include -isystem
/usr/local/powerpc-linux/include -D_LIBC_REENTRANT -include
./include/libc-symbols.h -o /usr/local/glibc-2.1.3/build/posix/uname.o
./sysdeps/generic/uname.c:25: config-name.h: No such file or directory
make[2]: *** [/usr/local/glibc-2.1.3/build/posix/uname.o] Error 1
make[2]: Leaving directory `/usr/local/glibc-2.1.3/posix'
make[1]: *** [posix/subdir_lib] Error 2
make[1]: Leaving directory `/usr/local/glibc-2.1.3'
make: *** [all] Error 2
---------------------------------------
Any help in resolving this would be greatly appreciated!
As to the glibc patch question, I thought I'd better get it clarified in
case it is the source of my problem. The instructions I'm following above
apply one patch, but is this the same as the patches described in Section 12
of the HOWTO at
http://members.xoom.com/greyhams/linux/PowerPC-Embedded-HOWTO-12.html? This
points to the patch descriptions at
http://lists.linuxppc.org/listarcs/linuxppc-embedded/199909/msg00000.html,
and also include different configure parameters than do the other
instructions I'm following.
---------------------------------------
Thanks for any help. I am new to the GNU/Linux world, so I apologize ahead
of time if there is an obvious answer staring me in the face that I should
realize!
Rick Gould
Integrated Data Communications
rgould@PlaceTheCall.com
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
* glibc patch question and error help for building ppc cross compil er
@ 2000-06-26 22:16 Gould, Rick
2000-06-26 22:57 ` glibc patch question and error help for building ppc cross compiler Dan Malek
0 siblings, 1 reply; 3+ messages in thread
From: Gould, Rick @ 2000-06-26 22:16 UTC (permalink / raw)
To: linuxppc-embedded, mmporter
I'm trying to build a cross-development tool chain for building under Red
Hat Linux 6.2 on an x86 platform targeting a Brignt Star Engineering MPC-823
PowerPC-based board. I've run into an error, and have a glibc patch
question.
Section 6 of "The Linux for PowerPC Embedded Systems HOWTO" at
http://members.xoom.com/greyhams/linux/PowerPC-Embedded-HOWTO-6.html points
to "Cross Development for Linux/PPC" at
http://members.home.net/mmporter/linux/cross/ with instructions on building
the cross compiler tool chain. I downloaded binutils-2.10.0.9,
gcc-core-2.95.2, glibc-2.1.3, glibc-crypt-2.1, glibc-linuxthreads-2.1.3, and
the glibc patch at
http://members.home.net/mmporter/linux/cross/glibc-2.1.3-ctype.patch. I've
followed all the steps successfully up to the glibc make step. After much
compiling, the compilation of sysdeps/generic/uname.c fails with
"config-name.h, No such file or directory":
make[2]: Entering directory `/usr/local/glibc-2.1.3/posix'
powerpc-linux-gcc ../sysdeps/generic/uname.c -c -O -Wall -Winline
-Wstrict-prototypes -Wwrite-strings -g -I../include -I.
-I/usr/local/glibc-2.1.3/build/posix -I.. -I../libio
-I/usr/local/glibc-2.1.3/build -I../sysdeps/powerpc/elf
-I../crypt/sysdeps/unix -I../linuxthreads/sysdeps/unix/sysv/linux
-I../linuxthreads/sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv
-I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/powerpc
-I../sysdeps/unix/sysv/linux/powerpc -I../sysdeps/unix/sysv/linux
-I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman
-I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix
-I../sysdeps/posix -I../sysdeps/powerpc -I../sysdeps/wordsize-32
-I../sysdeps/ieee754 -I../sysdeps/libm-ieee754 -I../sysdeps/generic/elf
-I../sysdeps/generic -nostdinc -isystem
/usr/local/lib/gcc-lib/powerpc-linux/2.95.2/include -isystem
/usr/local/powerpc-linux/include -D_LIBC_REENTRANT -include
../include/libc-symbols.h -o /usr/local/glibc-2.1.3/build/posix/uname.o
../sysdeps/generic/uname.c:25: config-name.h: No such file or directory
make[2]: *** [/usr/local/glibc-2.1.3/build/posix/uname.o] Error 1
make[2]: Leaving directory `/usr/local/glibc-2.1.3/posix'
make[1]: *** [posix/subdir_lib] Error 2
make[1]: Leaving directory `/usr/local/glibc-2.1.3'
make: *** [all] Error 2
---------------------------------------
Any help in resolving this would be greatly appreciated!
As to the glibc patch question, I thought I'd better get it clarified in
case it is the source of my problem. The instructions I'm following above
apply one patch, but is this the same as the patches described in Section 12
of the HOWTO at
http://members.xoom.com/greyhams/linux/PowerPC-Embedded-HOWTO-12.html? This
points to the patch descriptions at
http://lists.linuxppc.org/listarcs/linuxppc-embedded/199909/msg00000.html,
and also include different configure parameters than do the other
instructions I'm following.
---------------------------------------
Thanks for any help. I am new to the GNU/Linux world, so I apologize ahead
of time if there is an obvious answer staring me in the face that I should
realize!
Rick Gould
Integrated Data Communications
rgould@PlaceTheCall.com
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: glibc patch question and error help for building ppc cross compiler
2000-06-26 22:16 glibc patch question and error help for building ppc cross compil er Gould, Rick
@ 2000-06-26 22:57 ` Dan Malek
0 siblings, 0 replies; 3+ messages in thread
From: Dan Malek @ 2000-06-26 22:57 UTC (permalink / raw)
To: Gould, Rick; +Cc: linuxppc-embedded, mmporter
Gould, Rick wrote:
>
> I'm trying to build a cross-development tool chain for building under Red
> Hat Linux 6.2 on an x86 platform targeting a Brignt Star Engineering MPC-823
> PowerPC-based board.
Unless you really want to build the tools yourself, you can download
the 8xx CDK from MontaVista (www.mvista.com). It has the tools,
libraries, applications, and NFS diskless image for cross development
on that host environment. The BSE-IP is supported in that package,
you just need to manually configure it (use the EP RPX-Lite as a
starting point).
-- Dan
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2000-06-26 22:57 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-06-26 22:16 glibc patch question and error help for building ppc cross compil er Gould, Rick
2000-06-26 22:57 ` glibc patch question and error help for building ppc cross compiler Dan Malek
-- strict thread matches above, loose matches on Subject: below --
1999-12-27 2:58 Nguyen Xuan Hoang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).