module.c 'module_get_filename_for_symbol'
Tom Yu
tlyu at MIT.EDU
Tue May 15 09:05:56 EDT 2012
"Behse, Wolfgang (FIT)" <Wolfgang.Behse at freudenberg-it.com> writes:
> Environment:
> OS: AIX 6.1 TL 02 SP2
> Compiler: gcc 4.2.4-1 GNU Compiler Collection
> Kerberos source:
>
> The make failed with this output
>
> .....
> making all in util/verto...
> rm -f ../../include/verto.h
> cp ../../../krb5-1.10.1/src/util/verto/verto.h ../../include/verto.h
> gcc -DHAVE_CONFIG_H -DDEFAULT_LIBRARY=\"k5ev\" -I../../include -I../../../krb5-1.10.1/src/include -I../../../krb5-1.10.1/src/util/verto -DKRB5_DEPRECATED=1 -DKRB5_PRIVATE -g -O2 -D_THREAD_SAFE -c ../../../krb5-1.10.1/src/util/verto/verto.c
> gcc -DHAVE_CONFIG_H -DDEFAULT_LIBRARY=\"k5ev\" -I../../include -I../../../krb5-1.10.1/src/include -I../../../krb5-1.10.1/src/util/verto -DKRB5_DEPRECATED=1 -DKRB5_PRIVATE -g -O2 -D_THREAD_SAFE -c ../../../krb5-1.10.1/src/util/verto/module.c
> ../../../krb5-1.10.1/src/util/verto/module.c: In function 'module_get_filename_for_symbol':
> ../../../krb5-1.10.1/src/util/verto/module.c:85: error: 'Dl_info' undeclared (first use in this function)
> ../../../krb5-1.10.1/src/util/verto/module.c:85: error: (Each undeclared identifier is reported only once
> ../../../krb5-1.10.1/src/util/verto/module.c:85: error: for each function it appears in.)
> ../../../krb5-1.10.1/src/util/verto/module.c:85: error: expected ';' before 'dlinfo'
> ../../../krb5-1.10.1/src/util/verto/module.c:87: error: 'dlinfo' undeclared (first use in this function)
> make: 1254-004 The error code from the last command is 1.
It seems that the libverto build isn't finding the dladdr() support it
needs in AIX. (Dl_info is a return structure written by dladdr().) Is
it named something else in AIX, or does AIX lack that functionality?
More information about the krbdev
mailing list