Compilation problem on HPUX

Ken Raeburn raeburn at MIT.EDU
Mon Sep 3 12:26:09 EDT 2007


On Sep 3, 2007, at 11:40, nukala krishna wrote:
>         Sorry for the late response and thanks for the update. I  
> got the below error while compiling 1.4 release code on HP-UX B  
> 11.00 using aCC compiler.
> aCC: warning 901: unknown option: `-hreads': use +help for online  
> documentation.
> Error 119: "../../include/k5-platform.h", line 299 # #error "Don't  
> know how to do unload-time finalization for this
>     configuration."
>     # error "Don't know how to do unload-time finalization for this co
>       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

This indicates that the configure scripts couldn't figure out how to  
create a cleanup function to be run when the library is unloaded, if  
it's been loaded with dlopen.  Looking at our development trunk, I  
think we've got support in there now, so I'd suggest trying a more  
recent release.

The following errors are probably caused by the same root problem.

The "-hreads" error may be a different issue.  I suspect the  
configure scripts decided to try using "-threads" as a compiler flag,  
and it may not be the right flag for that compiler.  That might still  
be broken in the current release.

Ken





More information about the krbdev mailing list