build error
hi all, first of all this is my 3rd lfs build im going to make. i made it 2 time on a slack (9.1 and 10.0) host. worked like a charm. but...
now im trying to compile it on an amd64 with ubuntu64 dapper on it gcc version is 4.0.3 (ubuntu's own version) when i set up my distro to function as a host for another lfs build (its an laptop btw) i get the following error Code:
/usr/bin/ld: skipping incompatible /usr/lib/../lib/libc.so when searching for -lc /proc/version = Linux version 2.6.15-25-amd64-generic (buildd@king) (gcc version 4.0.3 (Ubuntu 4.0.3-1ubuntu5)) #1 SMP PREEMPT Wed Jun 14 11:28:03 UTC 2006 for who's interested |
Incompatible libc...
I am guessing that the amd64 arch itself is your problem. Correct me if I'm wrong but at the moment LFS shouldn't work for amd64. I think the CLFS project is the one you need to be reading instead. |
ok ill try that one out.
thanks |
oke now im following clfs for x86_64 but when i try to build glibc i get the following error
Code:
make -r PARALLELMFLAGS="" CVSOPTS="" -C ../glibc-2.4 objdir=`pwd` all |
The same for me
Quote:
Hello there, I am doing the same thing and I had the same error, I am working on Debian, but that should not be the problem! There is somebody, who knows how to fix it? I tried to fix it being root but it did not work at all, I tried to make it all again and it still is not working! After all, is not so easy as the LFS book says! Ok, see you and I hope an answer like Yuri! |
rojoblandino:
I also wish you would see an answer like Youri. Please consider this while you await such a post. In the LFS book, there were awk scripts. It was my experience that mawk does not work, but gawk does. In accord with my experience I suggest that you try gawk anyway, in place of mawk when the script does not produce a favorable result. gawk is available from http://ftp.gnu.org/pub/gnu/gawk/ and its mirrors. Gerald |
i think you should use the gcc which lfslivecd provided。
may be new version gcc cause this problem。 |
Quote:
|
Hi!
I had this same problem using the x86 version of Ubuntu (7.04). I solved this problem by installing GAWK, as mawk was installed and it wasn't working right. On Ubuntu you can install gawk by simply doing Code:
sudo apt-get install gawk Emery |
I was using a vanilla installation of DSL, and installing gawk instead of mawk did the trick for me as well, with one gotcha: the mydsl package for awk installs to /opt/awk/bin. Setting up the PATH was not enough (even removing /usr/bin from path didn't help), and I found /usr/bin/{g,}awk hard coded into some spots for some dumb reason. So, to keep others from getting headaches, do this as well once you install gawk on DSL
(note: on DSL, /usr/bin/{g,}awk are just symlinks to mawk) # rm /usr/bin/{g,}awk # ln -s /opt/awk/bin/awk /usr/bin # ln -s /opt/awk/bin/gawk /usr/bin Why that was necessary is completely beyond me (and a little disappointing, as you can't get more unix than gnu's c compiler, and that being in the sources just makes me want to kick something), but it worked, so I'm not going to lose any more sleep over it |
thanks
Thanks installing gawk worked for me
|
Thanks, installing gawk also fixed this error for me, i did have to redo ../glibc-2.13/configure again before it worked.
|
i've already installed gawk but i still can't make it
|
should i remove mawk?
i installed both(mawk and gawk) |
Hi,
Quote:
Quote:
You don't mention which distro you are using, so the easiest way is probably to remove mawk (and check afterwards if awk now points to gawk). Hope this helps. |
i removed mawk and installed gawk and it worked
thank you for your help |
All times are GMT -5. The time now is 07:44 PM. |