Hello, On Wed, 10 Mar 2010, Michal Vyskocil wrote:
The second run with -lGL gcc -o conftest -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack- protector -funwind-tables -fasynchronous-unwind-tables -fno-strict-aliasing - Wl,--trace,--trace-symbol=glTexParameterf -DNDEBUG -fno-stack-protector - DNARROWPROTO -m64 -I$(top_srcdir)/modules/core/includes/ - I$(top_srcdir)/libs/MALLOC/includes/ - I$(top_srcdir)/modules/localization/includes/ -L/usr/lib/jni - L/usr/lib64/jni/ -L./thirdparty/ -L./bin/ -lGL conftest.c -ljogl >&5
You need to put the -lGL argument after the conftest.c argument. In the buildservice the semantics of shared library linking is a bit stricter and similar to static libraries. It's a side-effect of doing library as-needed processing by default in the buildsystem (but only when building packages from .spec file). Ciao, Michael. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org