On my "unstable" debian box:

picton:~> dpkg -S crt1.o
libc6-dev: /usr/lib/gcrt1.o
libc6-dev: /usr/lib/crt1.o
libc6-dev: /usr/lib/Mcrt1.o

Do you have libc6-dev installed?

Well, it's already installed so dpkg -S is useful, but if you would go to
http://www.debian.org/distrib/packages and go to the "Search the
contents of packages" you could have found that too. (it's libc6-dev
for "stable" too).

As for the other compilation attempts - they are doomed because
you don't have a critical file for any compilation on your system (as far as
it
looks from the results of your test).

Hope this helps,

--Amos

> -----Original Message-----
> From: Eliran Gonen 
> [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, February 19, 2003 5:15 PM
> To: [EMAIL PROTECTED]
> Subject: sim-0.8.1 glibc and misc [long]
> 
> 
> [ quite LONG ]
> 
> Hello IGLUs!
> 
> I downloaded sim-0.8.1 source package (.tar.gz) and unpacked it.
> Then, moved into the new directory and typed as usual:
> 
> $ ./configure --disable-kde                   # --disable-kde 
> disable the use of the KDE libs as I have none
> 
> ... Few seconds and I got this error message:
> 
> checking for a BSD-compatible install... /usr/bin/install -c
> checking for -p flag to install... yes
> checking whether build environment is sane... yes
> checking for gawk... no
> checking for mawk... mawk
> 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.
> 
> So I fired my editor and noticed this on the config.log file:
> 
> 
> < config.log >
> configure:1773: checking for gawk
> configure:1802: result: no
> configure:1773: checking for mawk
> configure:1789: found /usr/bin/mawk
> configure:1799: result: mawk
> configure:1809: checking whether make sets $(MAKE)
> configure:1829: result: yes
> configure:2187: checking for style of include used by make
> configure:2215: result: GNU
> configure:2343: checking for gcc
> configure:2359: found /usr/bin/gcc
> configure:2369: result: gcc
> configure:2613: checking for C compiler version
> configure:2616: gcc --version </dev/null >&5
> 2.95.4
> configure:2619: $? = 0
> configure:2621: gcc -v </dev/null >&5
> Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.4/specs
> gcc version 2.95.4 20011002 (Debian prerelease)
> configure:2624: $? = 0
> configure:2626: gcc -V </dev/null >&5
> gcc: argument to `-V' is missing
> configure:2629: $? = 1
> configure:2653: checking for C compiler default output
> configure:2656: gcc     conftest.c  >&5
> /usr/bin/ld: cannot open crt1.o: No such file or directory
> collect2: ld returned 1 exit status
> configure:2659: $? = 1
> configure: failed program was:
> | #line 2632 "configure"
> | /* confdefs.h.  */
> |
> | #define PACKAGE_NAME ""
> | #define PACKAGE_TARNAME ""
> | #define PACKAGE_VERSION ""
> | #define PACKAGE_STRING ""
> | #define PACKAGE_BUGREPORT ""
> | #define PACKAGE "sim"
> | #define VERSION "0.8.1"
> | /* end confdefs.h.  */
> |
> | int
> | main ()
> | {
> |
> |   ;
> |   return 0;
> | }
> configure:2698: error: C compiler cannot create executables
> See `config.log' for more details.
> </ config.log >
> 
> After googling for:
> /usr/bin/ld: cannot open crt1.o: No such file or directory
> 
> I saw the problem was that I have no glibc-devel!
> As root: $ apt-get install glibc || $ apt-get install glibc-devel
> returned nothing (well actually: "No installation candidates").
> 
> So I just went gnu.org and got the glibc source package.
> 
> $ ./configure
> [..sniped..]
> checking version of gcc... 2.95.4, bad
> checking for gnumake... no
> checking for gmake... no
> checking for make... make
> checking version of make... 3.79.1, ok
> configure: error:
> *** These critical programs are missing or too old: gcc
> *** Check the INSTALL file for required versions.
> 
> Then I tried compiling make:
> 
> $ ./configure
> checking for C compiler default output... configure: error: C 
> compiler cannot create executables
> 
> And then gcc-3.2.2:
> 
> $ ./configure
> 
> /usr/bin/ld: cannot open crt1.o: No such file or directory
> collect2: ld returned 1 exit status
> *** The command 'gcc -o conftest -g -O2   conftest.c' failed.
> *** You must set the environment variable CC to a working compiler.
> 
> Again, the crt1/glibc-devel problem.
> 
> I'm runing debian woody on an i686, kernel 2.4.18
> 
> If you got that far, do you know how to solve this ?
> 
> Thanks ALOT!
> -- 
>       <A HREF="http://www.rootshell.be/~eg";>Eliran Gonen</A>
> 
> =================================================================
> To unsubscribe, send mail to [EMAIL PROTECTED] with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail [EMAIL PROTECTED]
> 
> 
> 
> ---------- Your email is protected by Mailshell ---------- 
> As you requested, this email was forwarded to you by Mailshell.
> Mailshell will forward your replies to this email and keep your
> private email address safe.
> 
> To unsubscribe safely and easily using Mailshell or to stop 
> forwarding:
> http://www.mailshell.com/control.html?a=blshp8bbumg87yq1j9157q
v2pz6_58z35eg0

Wouldn't you rather have amos.shapira.com as your personal domain?
http://rd.mailshell.com/ad465
Earn up to $3 for each of your friends who signs up with Mailshell!
http://rd.mailshell.com/sp5

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to