gcc giving error _main (multiply defined) /usr/lib/crt0.o

gcc giving error _main (multiply defined) /usr/lib/crt0.o

Post by Gre » Mon, 08 Aug 1994 09:14:21



I was using the gcc compiler that came with yggdrasil summer '94
edition and it was working fine...  Compiled a few simple programs,
then I started getting the following error each time I try to compile
ANYTHING:

/usr/lib/crt0.o: Definition of symbol _main (multiply defined)
/tmp/cca000621.o: Definition of symbol _main (multiply defined)

This even fails on a very simple "hello world" type program.  Any
suggestions???

Thank you...

 
 
 

1. /usr/lib/gcc-lib/i386-linux and /usr/lib/gcc-lib/i486-linux

Hi Linuxers,

I just got a new copy of gcc-2.4.5 and source code of the pl11.
After having done the installation of gcc-2.4.5, I realised that
I have an extra directory: /usr/lib/gcc-lib/i386-linux.
The question is whether I need to keep the old gcc stuff under
the i386-linux.  I really like to clean it up so as to save 5.1
meg disk space (another poor Linux user  ;-( ).

Your answer is very appreciated.  Please send answer directly
to my address or the corresponding interest parties to reduce
the network load.  Thank you in advance.

Wing



2. How to change IRQs in RedHat Linux 7.1

3. How to define the _main symbol for crt0.o?

4. Export Files

5. Problem: ld (linker) giving multiply defined symbol fatal errors

6. Do you have....

7. crt0: ERROR couldn't open /usr/lib/dld.sl errno:000000024

8. network card

9. imake error: /usr/lib/crt0.o <- What is it?

10. /usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.2/include/asm causing errors...

11. Multiply defined: _NEEDS_SHRLIB_libc_4 (gcc-message)

12. GCC gives error on any math.h defined functions

13. /usr/lib/crt0.o Undefined symbol ___fpu_control/___setfpucw