Message: Errors while compiling exampleN01: mutiple definitions! Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Errors while compiling exampleN01: mutiple definitions! 

Forum: Documentation and Examples
Date: 28 Feb, 2005
From: Bessie <xeehuo@yahoo.com.cn>

I got many multiple definitions while compiling exampleN01. It seems
there is something wrong with the environmental variable settings in 
my geant4. But I just cannot figure out what's going on... Would you 
please help me to fix the problem or tell me what's wrong?
Thank you!!!



exampleN01(.rodata+0x0): multiple definition of `_fp_hw'
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../crt1.o(.rodata+0x0):../sysdeps/i386/elf/start.S:47: first defined here
exampleN01(.init+0x0): In function `_init':
/usr/src/build/324954-i386/BUILD/glibc-2.3.2-200304020432/build-i386-linux/csu/crti.S:35: multiple definition of `_init'
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../crti.o(.init+0x0):/usr/src/build/324954-i386/BUILD/glibc-2.3.2-200304020432/build-i386-linux/csu/crti.S:12: first defined here
exampleN01(.text+0x0): In function `_start':
../sysdeps/i386/elf/start.S:47: multiple definition of `_start'
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../crt1.o(.text+0x0):../sysdeps/i386/elf/start.S:47: first defined here
exampleN01(.fini+0x0): In function `_fini':
/usr/src/build/324954-i386/BUILD/glibc-2.3.2-200304020432/build-i386-linux/csu/crti.S:51: multiple definition of `_fini'
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../crti.o(.fini+0x0): first defined here
exampleN01(*ABS*+0x821ced0): In function `__init_array_start':
G4PhysicsOrderedFreeVector.cc: multiple definition of `_GLOBAL_OFFSET_TABLE_'
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../crt1.o(.got.plt+0x0):../sysdeps/i386/elf/start.S:47: first defined here
exampleN01(.rodata+0x4): multiple definition of `_IO_stdin_used'
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../crt1.o(.rodata+0x4):../sysdeps/i386/elf/start.S:53: first defined here
exampleN01(.data+0x0): In function `__data_start':
: multiple definition of `__data_start'
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../crt1.o(.data+0x0):../sysdeps/i386/elf/start.S:47: first defined here
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../crt1.o(.dynamic+0x0):../sysdeps/i386/elf/start.S:47: multiple definition of `_DYNAMIC'
collect2: ld returned 1 exit status

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

 Add Message Add Message
to: "Errors while compiling exampleN01: mutiple definitions!"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]