spurious link warnings

Dear Lazyweb,

Any time I compile an X11 OpenGL program on MacOS 10.4.2, I get a slew of warnings of the form:

gcc -o ... -L/usr/X11R6/lib -lGL -lGLU -lXt -lX11 -lXmu
...
/usr/bin/ld: warning multiple definitions of symbol _glPointParameteri
/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib(gll_api.o) definition of _glPointParameteri
/usr/X11R6/lib/libGL.dylib(dri_dispatch.o) definition of _glPointParameteri

They appear to be harmless, but I'd like to make them go away anyway. How?

Update: It seems like "-bind_at_load -multiply_defined suppress" is the proper incantation, though that may be hiding warnings that matter. I suspect not, though.

Tags: , , , ,

Jules Verne's Three Laws of Automata

Jules Verne's Three Laws of Automata:
  1. A homunculus, automaton or other artificial being shall not serve a human red wine with fish,
  2. must always alert a human to shortfallings in the quality of his cuisine with a mechanical cry of 'sacré bleu',
  3. and shall not (through inaction) allow a human to be seen in public with mismatching gaiters and cravatte.

Previously.

Tags: ,

  • Previously