This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Multiple definitions


Hi, I've been trying to link a program (MC_Run.for) and
this is what I get:

mc_run(.text+0x14d20):/usr/src/build/158590-i386/BUILD/glibc-2.2.5/csu/init.c:
multiple definition of `DET_INIT'
MC_Run.o(.text+0x15d40): first defined here
mc_run: In function `__udivdi3':
/usr/src/build/152785-i386/BUILD/gcc-2.96-20000731/obj-i386-redhat-linux/gcc/../../gcc/libgcc2.c(.rodata+0x0):
multiple definition of `_fp_hw'
/usr/lib/crt1.o(.rodata+0x0): first defined here
mc_run: In function `_init':
mc_run(.init+0x0): multiple definition of `_init'
/usr/lib/crti.o(.init+0x0): first defined here
mc_run(.text+0x174c0):/usr/src/build/158590-i386/BUILD/glibc-2.2.5/csu/init.c:
multiple definition of `DET_OUTPUT'
MC_Run.o(.text+0x184e0): first defined here

 

and so on. I get this complains only when I compile
with the debugging flag -g.
Thanks,
giovanna

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]