While it does compile on Solaris 10/x86, it fails on Sparc: /usr/include/sys/avl_impl.h:40: error: redefinition of 'struct avl_node' In file included from /usr/include/sys/vnode.h:49, from /usr/include/sys/stream.h:22, from /usr/include/netinet/in.h:66, from /usr/include/sys/socket.h:45, from pdftexextra.c:446: /usr/include/sys/avl.h:135: error: conflicting types for 'avl_create' ./pdftexdir/avl.h:89: error: previous declaration of 'avl_create' was here /usr/include/sys/avl.h:146: error: conflicting types for 'avl_find' ./pdftexdir/avl.h:97: error: previous declaration of 'avl_find' was here /usr/include/sys/avl.h:154: error: conflicting types for 'avl_insert' ./pdftexdir/avl.h:94: error: previous declaration of 'avl_insert' was here /usr/include/sys/avl.h:269: error: conflicting types for 'avl_destroy' ./pdftexdir/avl.h:92: error: previous declaration of 'avl_destroy' was here make[1]: *** [pdftexextra.o] Error 1 I have to figure out why this happens, I suspect it is some configure check which doesn't take sparc/solaris into account. x86 solaris has (as expected) the same header. (this bug is mainly to keep the tex herd/aballier in the loop)
A bug in the system headers on older Solaris 10 includes sys/avl_impl.h whereas in later releases it doesn't. The fix is non-trivial so it seems...
just update your Solaris install, period.