Off the cuff, by only looking at the functions that are reported
missing by the linker, my first guess would be that the configure
script couldn't find a viable pthread library. This most probably
happened to the ./configure for IlmBase as IlmThread wraps those, the
effect becoming 'visible' once you compile&link OpenEXR itself..

Also, check to make sure IlmBase and OpenEXR are both build with
'--enable-threading' turned on (this is the default).


> configure:20491: g++ -o conftest -g -O2
> -I/usr/struct/pack/openexr-1.6/include/OpenEXR
> -L/usr/struct/pack/openexr-1.6/lib -L/usr/lib64 -L/usr/local/lib conftest.cc
>  -lImath -lHalf -lIex -lIlmThread >&5
> /usr/struct/pack/openexr-1.6/lib/libIlmThread.so: undefined reference to
> `sem_init'
> /usr/struct/pack/openexr-1.6/lib/libIlmThread.so: undefined reference to
> `sem_destroy'
> /usr/struct/pack/openexr-1.6/lib/libIlmThread.so: undefined reference to
> `pthread_create'
> /usr/struct/pack/openexr-1.6/lib/libIlmThread.so: undefined reference to
> `sem_post'
> /usr/struct/pack/openexr-1.6/lib/libIlmThread.so: undefined reference to
> `sem_trywait'
> /usr/struct/pack/openexr-1.6/lib/libIlmThread.so: undefined reference to
> `sem_getvalue'
> /usr/struct/pack/openexr-1.6/lib/libIlmThread.so: undefined reference to
> `sem_wait'
> /usr/struct/pack/openexr-1.6/lib/libIlmThread.so: undefined reference to
> `pthread_join'

-- 
Met vriendelijke groeten / Best regards,

Ger Hobbelt

--------------------------------------------------
web:    http://www.hobbelt.com/
        http://www.hebbut.net/
mail:   [email protected]
mobile: +31-6-11 120 978
--------------------------------------------------


_______________________________________________
Openexr-user mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/openexr-user

Reply via email to