Re: [lfs-support] error when trying to cross compile glibc-2.19

2014-04-23 Thread marian
Thanks all. Indeed changing the target name, was the solution to be able to build. Marian On Apr 19, 2014, at 12:42 AM, mar...@byteanywhere.com wrote: Thanks all for the replays. I am trying to create a cross compiler using the steps for building LFS when the temporary tools are build.

Re: [lfs-support] error when trying to cross compile glibc-2.19

2014-04-19 Thread marian
One update is that step 5 when building glibc, the compilation fails due to errno.h rpc_main.c:37:19: fatal error: errno.h: No such file or directory #include errno.h Hi Thanks all for the replays. I am trying to create a cross compiler using the steps for building LFS when the

Re: [lfs-support] error when trying to cross compile glibc-2.19

2014-04-19 Thread marian
This is the gcc compile error configure:8604: checking whether the C compiler works configure:8626: /home/marian/kits/crosstool-0.43/build/x86_64-unknown-linux-gnu/build-gcc/./prev-gcc/xgcc -B/home/marian/kits/crosstool-0.43/build/x86_64-unknown-linux-gnu/build-gcc/./prev-gcc/

Re: [lfs-support] error when trying to cross compile glibc-2.19

2014-04-19 Thread Armin K.
On 19.4.2014 7:42, mar...@byteanywhere.com wrote: Hi Thanks all for the replays. I am trying to create a cross compiler using the steps for building LFS when the temporary tools are build. Those steps should allow me to use the cross compiler, but obviously i am not doing something

Re: [lfs-support] error when trying to cross compile glibc-2.19

2014-04-19 Thread Pierre Labastie
Le 19/04/2014 07:42, mar...@byteanywhere.com a écrit : I have a symlink between: ls -ld /tools lrwxrwxrwx 1 root root 47 Apr 17 08:08 /tools - /home/marian/crosstool/x86_64-unknown-linux-gnu/ export PREFIX=/home/marian/crosstool/x86_64-unknown-linux-gnu export

Re: [lfs-support] error when trying to cross compile glibc-2.19

2014-04-19 Thread William Harrington
On Apr 19, 2014, at 12:42 AM, mar...@byteanywhere.com wrote: Thanks all for the replays. I am trying to create a cross compiler using the steps for building LFS when the temporary tools are build. I suggest you look at how we do that in CLFS at http://cross-lfs.org/view/git/index.html

[lfs-support] error when trying to cross compile glibc-2.19

2014-04-18 Thread marian
Hi, I am getting the following error trying to build LFS 5.7 x86_64-unknown-linux-gnu-gcc -D_RPC_THREAD_SAFE_ -D_GNU_SOURCE -DIS_IN_build -include /home/marian/kits/crosstool-0.43/build/x86_64-unknown-linux-gnu/glibc-build/config.h rpc_main.c \ -o

Re: [lfs-support] error when trying to cross compile glibc-2.19

2014-04-18 Thread Ken Moffat
On Fri, Apr 18, 2014 at 10:37:48PM +0300, mar...@byteanywhere.com wrote: Hi, I am getting the following error trying to build LFS 5.7 For anybody confused by '5.7', that is section 5.7 not the LFS version ;-) With glibc-2.19 you are either using LFS-7.5 or a recent version of the

Re: [lfs-support] error when trying to cross compile glibc-2.19

2014-04-18 Thread William Harrington
On Apr 18, 2014, at 2:37 PM, mar...@byteanywhere.com wrote: /home/marian/kits/crosstool-0.43/build/x86_64-unknown-linux-gnu/ glibc-build/sunrpc/cross-rpc_main.o -MMD -MP -MF /home/marian/kits/crosstool-0.43/build/x86_64-unknown-linux-gnu/ glibc-build/sunrpc/cross-rpc_main.o.dt -MT

Re: [lfs-support] error when trying to cross compile glibc-2.19

2014-04-18 Thread marian
Hi Thanks all for the replays. I am trying to create a cross compiler using the steps for building LFS when the temporary tools are build. Those steps should allow me to use the cross compiler, but obviously i am not doing something correctly. I just used the path from cross-tools