Win2K pro, with the following environment: MSYS-1.0.10-rc-4.exe,
msys-libtool-1.5.tar.bz2, msysDTK-1.0.1.exe, MinGW-3.1.0-1.exe,
gcc-core-3.3.1-20030804-1.tar.gz, msys-autoconf-2.59.tar.bz2
msys-automake-1.8.2.tar.bz2, binutils-2.14.90-20040120-1.tar.gz
directx-devel.tar, w32api-2.5.tar.gz (the newer w32api-25 was applied after the older directx-devel), contrib-20040222-win32-bin-gcc3.3.1-only.tar.
Make runs through generating modules/gui/wxwindows/libwxwindows_plugin_a-v4l.o
Executing the next command (The one that merges the various .o files into a single dll, that starts with "g++ -Wsign-compare -Wsign-compare -Wall -mms-bitfields -finline-limit-30000 -pipe -o libwxwindows_plugin.dll libwxwindows_plugin_a-wxwindows.o libwxwindows_plugin_a-interface.o libwxwindows_plugin_a-dialogs.o", and ends with "libwxwindows_plugin_a-v4l.o `top_builddir=../../.. ../../../vlc-config --libs plugin wxwindows`")
generates a series of problems (>50?), all of the same form, starting with:
C:/msys/1.0/win32/lib/libwx_msw_core-2.5-i586-mingw32msvc.a(corelib_event.o)(.rdata$_ZTV13wxNotifyEvent+0x0):event.cpp: multiple definition of `vtable for wxNotifyEvent'
libwxwindows_plugin_a-open.o(.data$_ZTV13wxNotifyEvent+0x0):open.cpp: first defined here
and ending with:
C:/msys/1.0/win32/lib/libwx_base-2.5-i586-mingw32msvc.a(baselib_object.o)(.rdata $_ZTV8wxObject+0x0):object.cpp: multiple definition of `vtable for wxObject'
libwxwindows_plugin_a-wxwindows.o(.data$_ZTV8wxObject+0x0):wxwindows.cpp: first defined here
C:/msys/1.0/win32/lib/libwx_base-2.5-i586-mingw32msvc.a(baselib_list.o)(.rdata$_ZTV10wxListBase+0x0):list.cpp: multiple definition of `vtable for wxListBase'
libwxwindows_plugin_a-interface.o(.data$_ZTV10wxListBase+0x0):interface.cpp: first defined here
make[6]: *** [libwxwindows_plugin.dll] Error 1
Is there some file or compiler switch missing? I ran make twice, for kicks -- same error. I could see the .dll file created in the directory, size 0 bytes (a placeholder), then going away when the gcc+ compile statement finally generated an error.
Thanks.