[OT] Linker Problem

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

 



Hi all,
after splitting my autosort.c into several [hc]-files i ran into trouble 
with ld.
can anybody give me a hint how to solve this??

thanks in advance

	Thorsten


make[1]: Entering directory 
`/home/video/vdr-1.3.32-soft/PLUGINS/src/autosort-0.1.0'
g++ -g -O2 -march=pentium3 -Wall -Woverloaded-virtual -fomit-frame-pointer 
-c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"autosort"' -I../../../include 
-I/usr/src/linux/include autosort.c
g++ -g -O2 -march=pentium3 -Wall -Woverloaded-virtual -fomit-frame-pointer 
-c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"autosort"' -I../../../include 
-I/usr/src/linux/include autogroup.c
g++ -g -O2 -march=pentium3 -Wall -Woverloaded-virtual -fomit-frame-pointer 
-c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"autosort"' -I../../../include 
-I/usr/src/linux/include autogroups.c
g++ -g -O2 -march=pentium3 -Wall -Woverloaded-virtual -fomit-frame-pointer 
-c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"autosort"' -I../../../include 
-I/usr/src/linux/include autosort_menu.c
g++ -g -O2 -march=pentium3 -Wall -Woverloaded-virtual -fomit-frame-pointer 
-c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"autosort"' -I../../../include 
-I/usr/src/linux/include autosort_tools.c
g++ -g -O2 -march=pentium3 -Wall -Woverloaded-virtual -fomit-frame-pointer 
-c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"autosort"' -I../../../include 
-I/usr/src/linux/include autosort_main.c
g++ -g -O2 -march=pentium3 -Wall -Woverloaded-virtual -fomit-frame-pointer 
-shared autosort.o autogroup.o autogroups.o autosort_menu.o 
autosort_tools.o autosort_main.o  -o libvdr-autosort.so
autogroup.o(.bss+0x0):../../../include/vdr/tools.h:217: multiple definition 
of `AutoGroups'
autosort.o(.bss+0x0):/home/video/vdr-1.3.32-soft/PLUGINS/src/autosort-0.1.0/autosort.c:34: 
first defined here
autogroups.o(.bss+0x0):/home/video/vdr-1.3.32-soft/PLUGINS/src/autosort-0.1.0/autogroups.c:140: 
multiple definition of `fixedNew'
autosort.o(.bss+0x18):/home/video/vdr-1.3.32-soft/PLUGINS/src/autosort-0.1.0/autosort.c:51: 
first defined here
autogroups.o(.bss+0x4):../../../include/vdr/config.h:94: multiple 
definition of `fixedUnsorted'
autosort.o(.bss+0x1c):../../../include/vdr/config.h:91: first defined here
autogroups.o(.bss+0x8):../../../include/vdr/config.h:89: multiple 
definition of `fixedAuto'
autosort.o(.bss+0x20):../../../include/vdr/config.h:91: first defined here
autogroups.o(.bss+0xc):/home/video/vdr-1.3.32-soft/PLUGINS/src/autosort-0.1.0/autogroups.c:140: 
multiple definition of `useFixedNew'
autosort.o(.bss+0x24):../../../include/vdr/config.h:95: first defined here
autogroups.o(.bss+0xd):../../../include/vdr/tools.h:249: multiple 
definition of `useFixedUnsorted'
autosort.o(.bss+0x25):../../../include/vdr/config.h:95: first defined here
autogroups.o(.bss+0xe):../../../include/vdr/tools.h:249: multiple 
definition of `useFixedAuto'
autosort.o(.bss+0x26):../../../include/vdr/config.h:95: first defined here

--- snip ---

autosort_main.o(.data+0x3):../../../include/vdr/config.h:95: multiple 
definition of `hideMenu'
autosort.o(.data+0x3):../../../include/vdr/config.h:95: first defined here
autosort_main.o(.data+0x4):../../../include/vdr/config.h:95: multiple 
definition of `writeTimeStamp'
autosort.o(.data+0x4):/home/video/vdr-1.3.32-soft/PLUGINS/src/autosort-0.1.0/autosort.c:47: 
first defined here
autosort_main.o(.data+0x8):../../../include/vdr/config.h:95: multiple 
definition of `timeStampSetDelta'
autosort.o(.data+0x8):../../../include/vdr/config.h:95: first defined here
autosort_main.o(.data+0xc):/home/video/vdr-1.3.32-soft/PLUGINS/src/autosort-0.1.0/autosort_main.c:45: 
multiple definition of `messageTime'
autosort.o(.data+0xc):../../../include/vdr/config.h:95: first defined here
autosort_main.o(.data+0x10):/home/video/vdr-1.3.32-soft/PLUGINS/src/autosort-0.1.0/autosort_main.c:44: 
multiple definition of `messageLevel'
autosort.o(.data+0x10):../../../include/vdr/config.h:95: first defined here
autosort_main.o(.data+0x14):../../../include/vdr/config.h:90: multiple 
definition of `maxMoves'
autosort.o(.data+0x14):../../../include/vdr/config.h:90: first defined here
autosort_main.o(.bss+0x18):../../../include/vdr/config.h:90: multiple 
definition of `AutoGroups'
autosort.o(.bss+0x0): first defined here
collect2: ld gab 1 als Ende-Status zur?ck
make[1]: *** [libvdr-autosort.so] Fehler 1
make[1]: Leaving directory 
`/home/video/vdr-1.3.32-soft/PLUGINS/src/autosort-0.1.0'



[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux