LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   A Problem About Compiler In Slackware Linux... (https://www.linuxquestions.org/questions/linux-software-2/a-problem-about-compiler-in-slackware-linux-156456/)

ShoCkwave 03-11-2004 05:27 PM

A Problem About Compiler In Slackware Linux...
 
Hi,
I am trying to compile applications but i get error while configuration.
Can anyone help me with this problem of Slackware Linux 9.1

Here is the error;

Quote:

root@ShoCkwave:~/kxicq/kxicq2# pwd
/root/kxicq/kxicq2

root@ShoCkwave:~/kxicq/kxicq2# ./configure
checking build system type... i686-pc-linux-gnulibc1
checking host system type... i686-pc-linux-gnulibc1
checking target system type... i686-pc-linux-gnulibc1
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking for -p flag to install... yes
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output... configure: error: C compiler cannot create executables
See `config.log' for more details.

root@ShoCkwave:~/kxicq/kxicq2#

I Would be glad if someone can help me how can i solve this problem.
Thanks.

TheOneAndOnlySM 03-11-2004 05:38 PM

does this happen with all programs you try to compile?
what does the config.log say?

make sure you have all your gcc tools installed from the slackware cd

ShoCkwave 03-11-2004 05:51 PM

Yes, I can send the config.log here. It is too long.
I will just copy paste here the last parts of it.
And i will supply you with a link to the original file.

http://www.ug.bcc.bilkent.edu.tr/~baslak/config.txt (You can see if you want to check the whole file here...)

Yes it gives error with some other programs. I re-installed linux for this and I use reiser file system. But this didnt solved my problem.

Here is the last parts of the problem.

Quote:

....
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target='i686-pc-linux-gnulibc1'
target_alias=''
target_cpu='i686'
target_os='linux-gnulibc1'
target_vendor='pc'
x_includes='NONE'
x_libraries='NONE'

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE "kxicq2"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define VERSION "0.7.8"

configure: exit 77
Thanks.

ShoCkwave 03-12-2004 12:51 AM

Any other ideas?

It still remains unconfigured and i am still workin on it.

ShoCkwave 03-12-2004 12:01 PM

Still no one?

lyle_s 03-13-2004 12:24 PM

Line 90 of your config.log:

/usr/lib/gcc-lib/i486-slackware-linux/3.2.3/../../../../i486-slackware-linux/bin/ld: cannot open crt1.o: No such file or directory

crt1.o appears to be part of glibc. Make sure you have the glibc package installed and try again. The glibc package is in the l/ series.

Lyle


All times are GMT -5. The time now is 03:10 PM.