LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-31-2005, 12:03 PM   #1
fretbrner
LQ Newbie
 
Registered: Jan 2005
Location: Newcastle, NSW
Distribution: Centos, Scientific
Posts: 25

Rep: Reputation: 0
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);}
 
Old 01-31-2005, 12:30 PM   #2
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,797

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
trouble compiling w/c++ eroica Linux - Software 4 03-09-2005 02:17 PM
trouble compiling raconfig beetlebug Linux - Wireless Networking 0 10-10-2004 11:04 AM
having trouble while compiling kernel.. The_eXXe Mandriva 12 09-02-2004 01:53 PM
Trouble compiling anything banZera Slackware 4 04-07-2004 10:19 AM
Trouble with compiling gamehack Debian 3 01-11-2004 08:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration