gcc ld cannon find -lc
Well, I got all the way to ch 5.7 in the version 6.3 book without any errors, and now I am getting the error:
/mnt/lfs/tools/bin/../lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lc. THis happens when i try to run gcc dummy.c. |
Hi,
Shouldn't that be: cc dummy.c? From the 6.3 book: Quote:
Hope this helps. |
it is, i tried both.
|
Hi,
How about the other tips given in the Caution box? Tried any of those? Are you 100% sure all the commands where copy/pasted (typed???) correctly and none where forgotten? Please give more information, its a bit hard to guess what you have tried already. |
everything appears to be right, except that path is /tools/bin:/bin/usr/bin, as it says to set it to in ch 4.4.
|
i cant copy and paste the commands, but i double checked, and they were typed right
|
Hi,
Quote:
|
srry, mistype on my end, thats what it is
|
Hi,
Quote:
|
All times are GMT -5. The time now is 11:39 PM. |