crt1.o problems (while ./configure)
I am quite a newbie in Linux. Two days ago I just installed Slackware 11. Before I had some practice with unix feeBSD.
So, a problem::confused:
I am trying to install squid 2.6, but.... configuring is unsuccessful with:
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
ok... config.log so config.log::cool:
(only as I think the main lines)
configure:2336: checking for C compiler default output file name
configure:2339: gcc -g conftest.c >&5
/usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../i486-slackware-linux/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
configure:2342: $? = 1
can not open crt1.o? I tried to find it anywhere else in my disks.... no luck. I have no crt1.o at all.:???:
as I understand it should be in /usr/lib/gcc/i486-slackware-linux/3.4.6 (because crtbegin.o for example sits there)
so a question: could I simply place crt1.o to this location? If Yes: how to download it, or could I get it from Slackware installation CDs?
should I reinstall any library utilities (glibc binutils or any like that)? or maebye same gcc must be reinstalled?
and one more thing... how to reinstall? apt-get is not working in slackware? or simply i do not know how to use it?... If I would download tar or smth like that.... will it install without configuring? Or maebye is there a possibility to install missing utilities out of slackware CD? (but only to select packages which I need).
So, thanks for helping in advance :rolleyes: