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

Re: gcc problem - can't create executable



"James W. Thompson, II" <jwthompson2@cox.net> writes:

> I am trying to build the mono runtime environment and get the
> message that the C compiler can't create executables...I have
> attached the configuration log file in case that will help any one
> in figuring out what may be going amiss...
>
> [ ... ]
>
> configure:2513: checking for C compiler default output
> configure:2516: gcc   -DGC_LINUX_THREADS -DMONO_USE_EXC_TABLES -D_GNU_SOURCE -D_REENTRANT -fexceptions  conftest.c  >&5
> /usr/bin/ld: cannot open crt1.o: No such file or directory
               ^^^^^^^^^^^^^^^^^^

Hmmm... let's see where crt1.o lives:

  $ dpkg -S crt1.o
  libc6-dev: /usr/lib/Scrt1.o
  libc6-dev: /usr/lib/Mcrt1.o
  libc6-dev: /usr/lib/gcrt1.o
  libc6-dev: /usr/lib/crt1.o

Methinks you should install libc6-dev.

Lucas



Reply to: