[vlc] Re: problem compiling a gnome enabled mac os x version
Samuel Hocevar
sam at zoy.org
Wed Oct 30 09:52:50 CET 2002
On Tue, Oct 29, 2002, Thomas Gray wrote:
> ld: multiple definitions of symbol _main
> src/interface/main.o definition of _main in section (__TEXT,__text)
> /sw/lib/libSDLmain.a(SDLMain.o) definition of _main in section
> (__TEXT,__text)
This looks like a problem with libSDL trying to be cleverer than
the programmer, and failing. A possible workaround is to #include
<SDL/SDL.h> in src/interface/main.c.
> ld: warning multiple definitions of symbol _g_atexit
> plugins/gnome.a(gnome.o.gnome) definition of _g_atexit in section
> (__TEXT,__text)
> /sw/lib/libglib.dylib(gutils.lo) definition of _g_atexit
This is because of a workaround in the gnome plugin for a bug in the
gnome libs. You can remove the g_atexit function in plugins/gtk/gnome.c.
--
Sam.
--
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>
More information about the vlc
mailing list