[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: C Compiler



At 15:15 -0500 5/25/04, Edwards, Thomas W. wrote:
I am attempting to install mysql , while compiling I get an error that
says C Compiler cannot create executables?  Does this error sound
familiar?

I put the log below, is there another file necessary for this or is it a
permissions issue.  Thanks.
From Config Log:

configure:2619: checking for C compiler default output
configure:2622: gcc     conftest.c  >&5
/usr/bin/ld: cannot open crt1.o: No such file or directory

Could it be that since it could not find this file it went boink? If so, the next question is where this file lurks. In this Ultra 1, we have:

papaya:/> locate crt1.o
/usr/lib/crt1.o
/usr/lib/gcrt1.o
/usr/lib/Mcrt1.o
/usr/lib64/crt1.o
/usr/lib64/gcrt1.o
/usr/lib64/Mcrt1.o
papaya:/>

So, I would be looking if it is in /usr/lib

collect2: ld returned 1 exit status
configure:2625: $? = 1
configure: failed program was:
| #line 2598 "configure"
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "mysql"
| #define VERSION "4.0.20"
| #define PROTOCOL_VERSION 10
| #define DOT_FRM_VERSION 6
| #define SYSTEM_TYPE "pc-linuxlibc1"
| #define MACHINE_TYPE "i686"
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:2664: error: C compiler cannot create executables
See `config.log' for more details.



Reply to: