LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   trouble compiling (https://www.linuxquestions.org/questions/slackware-14/trouble-compiling-284513/)

fretbrner 01-31-2005 12:03 PM

trouble compiling
 
I am having troubel installing programs that have I have to compile. It seems that you need glibc installed and I have done that, but still run into this error with crt1.o

Anyone run into something like this??

Always comes up with an error saying that c ompiler cannot create executables

This is what the config log says:

root@MONITOR:/source/nagios-1.2# vi config.log
reading config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:661: checking for a BSD compatible install
configure:719: checking for gcc
configure:832: checking whether the C compiler (gcc ) works
configure:848: gcc -o conftest conftest.c 1>&5
/usr/lib/gcc-lib/i486-slackware-linux/3.3.4/../../../../i486-slackware-linux/bin
/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
configure: failed program was:

#line 843 "configure"
#include "confdefs.h"

main(){return(0);}

keefaz 01-31-2005 12:30 PM

/usr/lib/crt1.o seems to be installed by glibc package, have you checked if crt1.o exists in
your system ?


All times are GMT -5. The time now is 01:22 AM.