Re: [newbie] C compiler cannot create executables

2000-07-08 Thread Dana

Most likely is that gcc was never installed.

Put in your installation disk and tell it you
want to do an upgrade in expert mode.
Go through and have it install the compiler.
Make sure you have it install all the development
libraries also.

And Bob's your uncle.

Dana

- Original Message -
From: Steven Cook <[EMAIL PROTECTED]>
To: Linux-Mandrake <[EMAIL PROTECTED]>
Sent: Friday, July 07, 2000 4:42 PM
Subject: [newbie] C compiler cannot create executables


> *This message was transferred with a trial version of CommuniGate(tm) Pro*
> Hi,
> This is my first post as I just subscribed, so I'm sorry if I'm going over
> old ground. I recently installed Mandrake 7.0 on a new disk in a PII
233Mhz
> machine. I am trying to learn how to install packages from a "tarball" but
> run into a problem when I try to run ./configure, it fails with the
> following error:-
>
> "checking whether C compiler (gcc) worksno
> configure: error: installation or configuration problem: C compiler cannot
> create executables"
>
> I looked in the configure log and found the following, however I have no
> idea what it's trying to tell me, am I missing a file (conftest or
> conftest.c)?
>
> "This file contains any messages produced by compilers while
> running configure, to aid debugging if configure makes a mistake.
>
> configure:562: checking for extra includes
> configure:593: checking for extra libs
> configure:692: checking host system type
> configure:713: checking target system type
> configure:731: checking build system type
> configure:790: checking for a BSD compatible install
> configure:847: checking for -p flag to install
> configure:870: checking whether build environment is sane
> configure:908: checking whether make sets ${MAKE}
> configure:954: checking for working aclocal
> configure:967: checking for working autoconf
> configure:980: checking for working automake
> configure:993: checking for working autoheader
> configure:1006: checking for working makeinfo
> configure:1031: checking for a BSD compatible install
> configure:1125: checking for a C-Compiler
> configure:1131: checking for gcc
> configure:1237: checking whether the C compiler (gcc  ) works
> configure:1253: gcc -o conftestconftest.c  1>&5
> /usr/bin/ld: cannot open crt1.o: No such file or directory
> collect2: ld returned 1 exit status
> configure: failed program was:
>
> #line 1248 "configure"
> #include "confdefs.h"
>
> main(){return(0);} "
> I'd really appreciate any help, I've already "verified" that gcc is
> installed correctly, but have no idea where to go from here!
> Thanks
> Steven Cook
>
>




Re: [newbie] C compiler cannot create executables

2000-07-07 Thread Victor Richardson

Please forgive my previous post, I accidentally sent it to the wrong message.

Victor

Steven Cook wrote:

> Hi,
> This is my first post as I just subscribed, so I'm sorry if I'm going over
> old ground. I recently installed Mandrake 7.0 on a new disk in a PII 233Mhz
> machine. I am trying to learn how to install packages from a "tarball" but
> run into a problem when I try to run ./configure, it fails with the
> following error:-
>
> "checking whether C compiler (gcc) worksno
> configure: error: installation or configuration problem: C compiler cannot
> create executables"
>
> I looked in the configure log and found the following, however I have no
> idea what it's trying to tell me, am I missing a file (conftest or
> conftest.c)?
>
> "This file contains any messages produced by compilers while
> running configure, to aid debugging if configure makes a mistake.
>
> configure:562: checking for extra includes
> configure:593: checking for extra libs
> configure:692: checking host system type
> configure:713: checking target system type
> configure:731: checking build system type
> configure:790: checking for a BSD compatible install
> configure:847: checking for -p flag to install
> configure:870: checking whether build environment is sane
> configure:908: checking whether make sets ${MAKE}
> configure:954: checking for working aclocal
> configure:967: checking for working autoconf
> configure:980: checking for working automake
> configure:993: checking for working autoheader
> configure:1006: checking for working makeinfo
> configure:1031: checking for a BSD compatible install
> configure:1125: checking for a C-Compiler
> configure:1131: checking for gcc
> configure:1237: checking whether the C compiler (gcc  ) works
> configure:1253: gcc -o conftestconftest.c  1>&5
> /usr/bin/ld: cannot open crt1.o: No such file or directory
> collect2: ld returned 1 exit status
> configure: failed program was:
>
> #line 1248 "configure"
> #include "confdefs.h"
>
> main(){return(0);} "
> I'd really appreciate any help, I've already "verified" that gcc is
> installed correctly, but have no idea where to go from here!
> Thanks
> Steven Cook




Re: [newbie] C compiler cannot create executables

2000-07-07 Thread Victor Richardson

Linux-Mandrake actually has extremely detailed documentation on practically everything
dealing with Mandrake, including compiling and installing new kernels.

The overall Reference guide is at:
 http://www.linux-mandrake.com/guides71/en/mdkrefguide/index.html

And the section specifically pertaining to kernels is at:
 http://www.linux-mandrake.com/guides71/en/mdkrefguide/compiling.html

If you are looking for in depth explanations of anything having to do with Linux, then
The Linux Documentation Project is what you are looking for. They maintain the Linux
HOWTO's, and more in depth books on Network Administration, security, etc. If you want
to compile a kernel or know exactly what goes on in kernel creation, video cards,
monitors, databases, etc. the Linux HOWTO'S are the best source. These documents are
extremely well written and are described in fashion that any beginner, novice, and
expert can find useful. Here are a couple of  mirrors for it :

 http://metalab.unc.edu/mdw/index.html
 http://www.linuxdoc.org/HOWTO/HOWTO-INDEX/howtos.html

For the HOWTO specifically dealing with kernel compilation and customization:

 http://metalab.unc.edu/mdw/HOWTO/Kernel-HOWTO.html
 http://www.linuxdoc.org/HOWTO/Kernel-HOWTO.html

I hope this helps (I'm doing my first new kernel tonight),

Victor

Steven Cook wrote:

> Hi,
> This is my first post as I just subscribed, so I'm sorry if I'm going over
> old ground. I recently installed Mandrake 7.0 on a new disk in a PII 233Mhz
> machine. I am trying to learn how to install packages from a "tarball" but
> run into a problem when I try to run ./configure, it fails with the
> following error:-
>
> "checking whether C compiler (gcc) worksno
> configure: error: installation or configuration problem: C compiler cannot
> create executables"
>
> I looked in the configure log and found the following, however I have no
> idea what it's trying to tell me, am I missing a file (conftest or
> conftest.c)?
>
> "This file contains any messages produced by compilers while
> running configure, to aid debugging if configure makes a mistake.
>
> configure:562: checking for extra includes
> configure:593: checking for extra libs
> configure:692: checking host system type
> configure:713: checking target system type
> configure:731: checking build system type
> configure:790: checking for a BSD compatible install
> configure:847: checking for -p flag to install
> configure:870: checking whether build environment is sane
> configure:908: checking whether make sets ${MAKE}
> configure:954: checking for working aclocal
> configure:967: checking for working autoconf
> configure:980: checking for working automake
> configure:993: checking for working autoheader
> configure:1006: checking for working makeinfo
> configure:1031: checking for a BSD compatible install
> configure:1125: checking for a C-Compiler
> configure:1131: checking for gcc
> configure:1237: checking whether the C compiler (gcc  ) works
> configure:1253: gcc -o conftestconftest.c  1>&5
> /usr/bin/ld: cannot open crt1.o: No such file or directory
> collect2: ld returned 1 exit status
> configure: failed program was:
>
> #line 1248 "configure"
> #include "confdefs.h"
>
> main(){return(0);} "
> I'd really appreciate any help, I've already "verified" that gcc is
> installed correctly, but have no idea where to go from here!
> Thanks
> Steven Cook




[newbie] C compiler cannot create executables

2000-07-07 Thread Steven Cook

Hi,
This is my first post as I just subscribed, so I'm sorry if I'm going over
old ground. I recently installed Mandrake 7.0 on a new disk in a PII 233Mhz
machine. I am trying to learn how to install packages from a "tarball" but
run into a problem when I try to run ./configure, it fails with the
following error:-

"checking whether C compiler (gcc) worksno
configure: error: installation or configuration problem: C compiler cannot
create executables"

I looked in the configure log and found the following, however I have no
idea what it's trying to tell me, am I missing a file (conftest or
conftest.c)?

"This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:562: checking for extra includes
configure:593: checking for extra libs
configure:692: checking host system type
configure:713: checking target system type
configure:731: checking build system type
configure:790: checking for a BSD compatible install
configure:847: checking for -p flag to install
configure:870: checking whether build environment is sane
configure:908: checking whether make sets ${MAKE}
configure:954: checking for working aclocal
configure:967: checking for working autoconf
configure:980: checking for working automake
configure:993: checking for working autoheader
configure:1006: checking for working makeinfo
configure:1031: checking for a BSD compatible install
configure:1125: checking for a C-Compiler
configure:1131: checking for gcc
configure:1237: checking whether the C compiler (gcc  ) works
configure:1253: gcc -o conftestconftest.c  1>&5
/usr/bin/ld: cannot open crt1.o: No such file or directory
collect2: ld returned 1 exit status
configure: failed program was:

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

main(){return(0);} "
I'd really appreciate any help, I've already "verified" that gcc is
installed correctly, but have no idea where to go from here!
Thanks
Steven Cook