...updating libMiniBall ...copying library to destination directory ./lib Using global libraries ... Linking Transfer /home/daniel/skola/exjobb/miniballscripts/lib/libCommandLineInterface.so: In function `_start': (.text+0x0): multiple definition of `_start' /usr/lib/gcc/x86_64-linux-gnu/4.4.3/../../../../lib/crt1.o:(.text+0x0): first defined here /home/daniel/skola/exjobb/miniballscripts/lib/libCommandLineInterface.so: In function `_fini': (.fini+0x0): multiple definition of `_fini' /usr/lib/gcc/x86_64-linux-gnu/4.4.3/../../../../lib/crti.o:(.fini+0x0): first defined here /home/daniel/skola/exjobb/miniballscripts/lib/libCommandLineInterface.so:(.rodata+0x0): multiple definition of `_IO_stdin_used' /usr/lib/gcc/x86_64-linux-gnu/4.4.3/../../../../lib/crt1.o:(.rodata.cst4+0x0): first defined here /home/daniel/skola/exjobb/miniballscripts/lib/libCommandLineInterface.so: In function `__data_start': (.data+0x0): multiple definition of `__data_start' /usr/lib/gcc/x86_64-linux-gnu/4.4.3/../../../../lib/crt1.o:(.data+0x0): first defined here /home/daniel/skola/exjobb/miniballscripts/lib/libCommandLineInterface.so: In function `__data_start': (.data+0x8): multiple definition of `__dso_handle' /usr/lib/gcc/x86_64-linux-gnu/4.4.3/crtbegin.o:(.data+0x0): first defined here /home/daniel/skola/exjobb/miniballscripts/lib/libCommandLineInterface.so: In function `_edata': (*ABS*+0x607130): multiple definition of `__bss_start' /home/daniel/skola/exjobb/miniballscripts/lib/libCommandLineInterface.so: In function `_end': (*ABS*+0x6073b8): multiple definition of `_end' /home/daniel/skola/exjobb/miniballscripts/lib/libCommandLineInterface.so: In function `_edata': (*ABS*+0x607130): multiple definition of `_edata' /home/daniel/skola/exjobb/miniballscripts/lib/libCommandLineInterface.so: In function `main': /home/daniel/skola/exjobb/miniballscripts/Common/CommandLineInterface.cc:6: multiple definition of `main' /home/daniel/skola/exjobb/g4work/tmp/Linux-g++/Transfer/exe/Transfer.o:/home/daniel/skola/exjobb/miniballscripts/Transfer/Transfer.cc:53: first defined here /home/daniel/skola/exjobb/miniballscripts/lib/libCommandLineInterface.so: In function `_init': (.init+0x0): multiple definition of `_init' /usr/lib/gcc/x86_64-linux-gnu/4.4.3/../../../../lib/crti.o:(.init+0x0): first defined here /usr/lib/gcc/x86_64-linux-gnu/4.4.3/crtend.o:(.dtors+0x0): multiple definition of `__DTOR_END__' /home/daniel/skola/exjobb/miniballscripts/lib/libCommandLineInterface.so:(.dtors+0x8): first defined here /usr/bin/ld: error in /home/daniel/skola/exjobb/miniballscripts/lib/libCommandLineInterface.so(.eh_frame); no .eh_frame_hdr table will be created. /home/daniel/skola/exjobb/g4work/tmp/Linux-g++/Transfer/libTransfer.so: undefined reference to `vtable for Annular' /home/daniel/skola/exjobb/g4work/tmp/Linux-g++/Transfer/libTransfer.so: undefined reference to `ROOT::GenerateInitInstance(Barrel const*)' /home/daniel/skola/exjobb/g4work/tmp/Linux-g++/Transfer/libTransfer.so: undefined reference to `ROOT::GenerateInitInstance(Annular const*)' /home/daniel/skola/exjobb/g4work/tmp/Linux-g++/Transfer/libTransfer.so: undefined reference to `vtable for Barrel' /home/daniel/skola/exjobb/g4work/tmp/Linux-g++/Transfer/libTransfer.so: undefined reference to `vtable for Crystal' /home/daniel/skola/exjobb/g4work/tmp/Linux-g++/Transfer/libTransfer.so: undefined reference to `vtable for Germanium' collect2: ld returned 1 exit status make: *** [/home/daniel/skola/exjobb/g4work/bin/Linux-g++/Transfer] Error 1