Re: multiply defined symbols in libGL and OpenGL.fwk
Re: multiply defined symbols in libGL and OpenGL.fwk
- Subject: Re: multiply defined symbols in libGL and OpenGL.fwk
- From: Ian Piumarta <email@hidden>
- Date: Fri, 21 Feb 2003 13:48:37 +0100 (MET)
Hi again, and sorry to labour the point...
I tried recompiling X11 from source and got the same multiply-defined
symbol warnings while linking libGL, plus some others while linking
libXp. The link commands and output are appended below.
In the case of libXp, moving -lXau to after -lX11 in the link command
does the trick.
In the case of libGL the problem seems harder to cure. If anyone can
spot a quick solution (I assume something in the config and/or
respective Imakefiles and/or dri_dispatch.c changed between 0.1 and
0.2.1) so that I can recompile these libs without warnings (and
hopefully into working libraries), I'd be immensely grateful.
(I _very_ stupidly deleted my 0.1 sources while downloading 0.2.1. A
pointer to a copy of [or how to checkout from CVS somewhere?] the 0.1
sources would be equally useful.)
Thanks! Regards,
Ian
+ /usr/bin/cc -o ./libXp.6.2.dylib~ -dynamiclib -install_name
/usr/X11R6/lib/libXp.6.dylib -current_version 6.2
-compatibility_version 6.2 -seg_addr_table_filename /usr/X
11R6/lib/libXp.6.2.dylib XpAttr.o XpContext.o XpDoc.o XpExtUtil.o
XpExtVer.o XpGetData.o XpInput.o XpJob.o XpLocale.o XpPage.o
XpNotifyPdm.o XpPrinter.o XpPutData.o XpScr eens.o XpPageDim.o
XpImageRes.o -L../../exports/lib -lXau -lXext -lX11
ld: warning multiple definitions of symbol _XauDisposeAuth
../../exports/lib/libXau.a(AuDispose.o) definition of _XauDisposeAuth in section (__TEXT,__text)
../../exports/lib/libX11.dylib(AuDispose.o) definition of _XauDisposeAuth
ld: warning multiple definitions of symbol _XauReadAuth
../../exports/lib/libXau.a(AuRead.o) definition of _XauReadAuth in section (__TEXT,__text)
../../exports/lib/libX11.dylib(AuRead.o) definition of _XauReadAuth
+ /usr/bin/cc -o ./libGL.1.2.dylib~ -dynamiclib -install_name
/usr/X11R6/lib/libGL.1.dylib -current_version 1.2
-compatibility_version 1.2 -seg_addr_table_filename
/usr/X11R6/lib/libGL.1.2.dylib ../../../lib/GL/glx/clientattrib.o
../../../lib/GL/glx/compsize.o ../../../lib/GL/glx/dispatch.o
../../../lib/GL/glx/eval.o ../../../lib/GL/glx/g_render.o
../../../lib/GL/glx/g_single.o ../../../lib/GL/glx/g_vendpriv.o
../../../lib/GL/glx/glapi.o ../../../lib/GL/glx/glapinoop.o
../../../lib/GL/glx/glthread.o ../../../lib/GL/glx/glxcmds.o
../../../lib/GL/glx/glxext.o ../../../lib/GL/glx/indirect_init.o
../../../lib/GL/glx/pixel.o ../../../lib/GL/glx/pixelstore.o
../../../lib/GL/glx/render2.o ../../../lib/GL/glx/renderpix.o
../../../lib/GL/glx/single2.o ../../../lib/GL/glx/singlepix.o
../../../lib/GL/glx/vertarr.o ../../../lib/GL/glx/xfont.o
../../../lib/GL/apple/appledri.o ../../../lib/GL/apple/dri_dispatch.o
../../../lib/GL/apple/dri_driver.o ../../../lib/GL/apple/dri_glx.o
../../../lib/GL/apple/x-list.o ../../../lib/GL/apple/x-hash.o
-L../../../exports/lib -lXext -lX11 -L/usr/X11R6/lib -lapplexp
-framework OpenGL -sub_umbrella OpenGL -framework ApplicationServices
-framework CoreFoundation
ld: warning multiple definitions of symbol _glGetColorTableEXT
../../../lib/GL/apple/dri_dispatch.o definition of _glGetColorTableEXT in section (__TEXT,__text)
/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib(gll_api.o) definition of _glGetColorTableEXT
ld: warning multiple definitions of symbol _glGetColorTableParameterfvEXT
../../../lib/GL/apple/dri_dispatch.o definition of _glGetColorTableParameterfvEXT in section (__TEXT,__text)
/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib(gll_api.o) definition of _glGetColorTableParameterfvEXT
ld: warning multiple definitions of symbol _glGetColorTableParameterivEXT
../../../lib/GL/apple/dri_dispatch.o definition of _glGetColorTableParameterivEXT in section (__TEXT,__text)
/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib(gll_api.o) definition of _glGetColorTableParameterivEXT
ld: warning dynamic shared library: /System/Library/Frameworks/ApplicationServices.framework/ApplicationServices not made a weak library in output with MACOSX_DEPLOYMENT_TARGET environment variable set to: 10.1
ld: warning dynamic shared library: /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation not made a weak library in output with MACOSX_DEPLOYMENT_TARGET environment variable set to: 10.1
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/x11-users
X11 for Mac OS X FAQ: http://developer.apple.com/qa/qa2001/qa1232.html
Report issues, request features, feedback: http://developer.apple.com/bugreporter
Do not post admin requests to the list. They will be ignored.