snapshot-20040222 Make error after libwxwindows_plugin_a41.o

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
markfm
Big Cone-huna
Big Cone-huna
Posts: 1536
Joined: 22 Feb 2004 17:42

snapshot-20040222 Make error after libwxwindows_plugin_a41.o

Postby markfm » 23 Feb 2004 17:03

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.

Gibalou
Big Cone-huna
Big Cone-huna
Posts: 608
Joined: 26 Nov 2003 10:59

Postby Gibalou » 24 Feb 2004 11:18

Hmmm, likely means that the wxWindows libraries in our contrib package are not compatible with the compiler/linker you are using :(

It's getting really difficult to produce a contrib package which works with all the possible mingw compilers/versions (cross-mingw, mingw, cygwin, etc...)

The contrib package has been created with a mingw cross-compiler:
gcc version 3.3.1 (mingw special 20030804-1)
GNU ld version 2.13.90 20030111
And I know it also works with current cygwin because I'm using this when I have to use windows. But I haven't tested msys/mingw for a long time.

markfm
Big Cone-huna
Big Cone-huna
Posts: 1536
Joined: 22 Feb 2004 17:42

I'll try to find an earlier ld

Postby markfm » 24 Feb 2004 12:57

My gcc is the same version, but ld comes up as 2.14.90 (20040120).

If that doesn't work, I'll switch to cygwin -- no biggie for me either way.

Thank you.


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 19 guests