linker warnings
linker warnings
- Subject: linker warnings
- From: Ralph Martin <email@hidden>
- Date: Mon, 13 Jan 2003 10:55:25 +0000
When linking some code for use on Apple's X11, using
g++ -o ./bin/sv_tst_g ./obj/sv_tst_g.o -L./lib -lsvlis -L/sw/lib
-lglut -lGLU -lGL -L/usr/X11R6/lib -lXmu -lXi -lXext -lX11 -lm
I get the following messages:
ld: warning suggest use of -bind_at_load, as lazy binding may result in
errors or different symbols being used
symbol _gluErrorString used from dynamic library
/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/
libGLU.dylib(error.o) not from earlier dynamic library
/usr/X11R6/lib/libGLU.1.3.dylib(error.o)
ld: warning dynamic shared library: /usr/X11R6/lib/libXmu.dylib not
made a weak library in output with MACOSX_DEPLOYMENT_TARGET environment
variable set to: 10.1
ld: warning dynamic shared library: /usr/X11R6/lib/libXi.dylib not made
a weak library in output with MACOSX_DEPLOYMENT_TARGET environment
variable set to: 10.1
ld: warning dynamic shared library: /usr/X11R6/lib/libXext.dylib not
made a weak library in output with MACOSX_DEPLOYMENT_TARGET environment
variable set to: 10.1
ld: warning dynamic shared library: /usr/X11R6/lib/libX11.dylib not
made a weak library in output with MACOSX_DEPLOYMENT_TARGET environment
variable set to: 10.1
Can someone explain to me what I am doing wrong that is causing these
warnings, and how to fix it?
I am not setting MACOSX_DEPLOYMENT_TARGET explicitly myself, and I am
using 10.2.3...
Thanks.
Ralph
--
Prof Ralph Martin
Dept of Computer Science Phone: +44(0)29 2087 5536
Cardiff University Fax: +44(0)29 2087 4598
PO Box 916, 5 The Parade Email: mailto:email@hidden
Cardiff, CF24 3XF, United Kingdom WWW: http://ralph.cs.cf.ac.uk/
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe: http://www.lists.apple.com/mailman/listinfo/x11-users
Do not post admin requests to the list. They will be ignored.