Also, verify that configure is setting the -DUNIX flag when it
compiles
the test program.
I took the "test" app and compiled it manually with -UNIX and got this
fmg root # gcc -DUNIX -o t t.c
/tmp/cchwBQNY.o(.text+0xe0): In function `glh_init_extension':
: undefined reference to `glXGetProcAddressARB'
/tmp/cchwBQNY.o(.text+0x106): In function `glh_init_extension':
: undefined reference to `glXGetProcAddressARB'
/tmp/cchwBQNY.o(.text+0x12c): In function `glh_init_extension':
: undefined reference to `glXGetProcAddressARB'
/tmp/cchwBQNY.o(.text+0x152): In function `glh_init_extension':
: undefined reference to `glXGetProcAddressARB'
/tmp/cchwBQNY.o(.text+0x178): In function `glh_init_extension':
: undefined reference to `glXGetProcAddressARB'
/tmp/cchwBQNY.o(.text+0x19e): more undefined references to
`glXGetProcAddressARB' follow
/tmp/cchwBQNY.o(.text+0x3ea3): In function `ExtensionExists':
: undefined reference to `glGetString'
/tmp/cchwBQNY.o(.text+0x3f13): In function `ExtensionExists':
: undefined reference to `glGetString'
/tmp/cchwBQNY.o(.text+0x3f9f): In function `ExtensionExists':
: undefined reference to `glGetString'
/tmp/cchwBQNY.o(.text+0x40de): In function `glh_init_extensions':
: undefined reference to `glGetString'
/tmp/cchwBQNY.o(.text+0x4102): In function `glh_init_extensions':
: undefined reference to `glXGetCurrentDisplay'
/tmp/cchwBQNY.o(.text+0x4109): In function `glh_init_extensions':
: undefined reference to `glXGetCurrentDisplay'
/tmp/cchwBQNY.o(.text+0x411d): In function `glh_init_extensions':
: undefined reference to `glXQueryExtensionsString'
/tmp/cchwBQNY.o(.text+0x43fe): In function `glh_extension_supported':
: undefined reference to `glGetString'
collect2: ld returned 1 exit status
Henti
_______________________________________________
Openexr-devel mailing list
address@hidden
http://mail.nongnu.org/mailman/listinfo/openexr-devel