[krbdev.mit.edu #7145] Kerberos 1.10.1 Fails to build on AIX 6.1 when compiling vetro/module.c
Peacock@krbdev.mit.edu
Peacock at krbdev.mit.edu
Mon May 21 14:17:25 EDT 2012
Submitter-Id: Sanford
Originator: Josh Peacock
Organization: Sanford Health
Confidential: no
Synopsis: Misspelled "Kerberos" in title of installation guide
Severity: non-critical
Priority: low
Category: krb5-doc
Class: doc-bug
Release: 1.10.1
Environment:
IBM Power 750
IBM AIX 6.1 TL 6 SP 6
System: AIX jpaixtmp 1 6 00F635E24C00
>Description:
Using GCC to compile on AIX 6.1 results in the following error every time.
making all in util/verto...
make[2]: Entering directory `/stage/source/krb5/krb5-1.10.1/src/util/verto'
rm -f ../../include/verto.h
cp ./verto.h ../../include/verto.h
gcc -O2 -Wall -Wl,-blibpath:/opt/pware/lib:/usr/lib:/lib,-brtl -DHAVE_CONFIG_H -DDEFAULT_LIBRARY=\"k5ev\" -I../../include -I../../include -I. -DKRB5_DEPRECATED=1 -DKRB5_PRIVATE -I/opt/pware/include -g -O2 -D_THREAD_SAFE -c verto.c
gcc -O2 -Wall -Wl,-blibpath:/opt/pware/lib:/usr/lib:/lib,-brtl -DHAVE_CONFIG_H -DDEFAULT_LIBRARY=\"k5ev\" -I../../include -I../../include -I. -DKRB5_DEPRECATED=1 -DKRB5_PRIVATE -I/opt/pware/include -g -O2 -D_THREAD_SAFE -c module.c
module.c: In function 'module_get_filename_for_symbol':
module.c:85:5: error: unknown type name 'Dl_info'
module.c:87:5: warning: implicit declaration of function 'dladdr' [-Wimplicit-function-declaration]
module.c:89:17: error: request for member 'dli_fname' in something not a structure or union
make[2]: *** [module.o] Error 1
make[2]: Leaving directory `/stage/source/krb5/krb5-1.10.1/src/util/verto'
make[1]: *** [all-recurse] Error 1
make[1]: Leaving directory `/stage/source/krb5/krb5-1.10.1/src/util'
make: *** [all-recurse] Error 1
How-To-Repeat:
cd src/
env CC="gcc -O2 -Wall -Wl,-blibpath:/opt/pware/lib:/usr/lib:/lib,-brtl" \
CPPFLAGS="-I/opt/pware/include" \
LDFLAGS="-L/opt/pware/lib" \
DBLIB=-ldb \
./configure --prefix=/opt/pware --enable-shared
make
Fix:
I don't have a fix for this. I am willing to help in any way that I can.
Thanks,
Josh
Josh Peacock
UNIX Administrator
Sanford Health
-----------------------------------------------------------------------
Confidentiality Notice: This e-mail message, including any attachments,
is for the sole use of the intended recipient(s) and may contain
privileged and confidential information. Any unauthorized review, use,
disclosure or distribution is prohibited. If you are not the intended
recipient, please contact the sender by reply e-mail and destroy
all copies of the original message.
More information about the krb5-bugs
mailing list