again build problems

Nitin Thakur nitinthakur at hotmail.com
Wed Sep 12 15:23:37 EDT 2012


Hi All

i managed to build kerberos few weeks back and had to do it again. One the same server, I keep getting this error message while make: -

pkinit_crypto_openssl.c:3637: warning: ISO C forbids conversion of object pointer to function pointer type
: updated OBJS.SH
rm -f pkinit.so
building dynamic pkinit object
set -x; objlist=`set -x && perl -p -e 'BEGIN { $SIG{__WARN__} = sub {die @_} }; $e=$ARGV; $e =~ s/OBJS\...$//; s/^/ /; s/ $//; s/ / $e/g;' OBJS.SH` && gcc -g -O2 -shared -h pkinit.so.0 -o pkinit.so $objlist -R/opt/local/samba/lib -L../../../lib -lkrb5 -lcom_err -lk5crypto -lcrypto  -lkrb5support -lresolv -lsocket -lnsl -lintl -lrt  
+ set -x 
+ perl -p -e BEGIN { $SIG{__WARN__} = sub {die @_} }; $e=$ARGV; $e =~ s/OBJS\...$//; s/^/ /; s/ $//; s/ / $e/g; OBJS.SH 
objlist= pkinit_accessor.so pkinit_srv.so pkinit_lib.so pkinit_clnt.so pkinit_kdf_constants.so pkinit_profile.so pkinit_identity.so pkinit_matching.so pkinit_crypto_openssl.so
+ gcc -g -O2 -shared -h pkinit.so.0 -o pkinit.so pkinit_accessor.so pkinit_srv.so pkinit_lib.so pkinit_clnt.so pkinit_kdf_constants.so pkinit_profile.so pkinit_identity.so pkinit_matching.so pkinit_crypto_openssl.so -R/opt/local/samba/lib -L../../../lib -lkrb5 -lcom_err -lk5crypto -lcrypto -lkrb5support -lresolv -lsocket -lnsl -lintl -lrt 
/usr/local/lib/gcc/sparc-sun-solaris2.10/3.4.6/../../../../sparc-sun-solaris2.10/bin/ld: read-only segment has dynamic relocations.
collect2: ld returned 1 exit status
make[1]: *** [pkinit.so] Error 1
make[1]: Leaving directory `/var/tmp/samba-download/krb5-1.10.3/src/plugins/preauth/pkinit'
make: *** [all-recurse] Error 1


This is my configure command: -
LIBS="-lintl -lrt" ./configure --prefix=/opt/local/samba --enable-dns-for-realm


I am obviously doing something stupid, but cant seems to figure that out yet. Any help will be appreciated.

Thanks

Nitin
 		 	   		  


More information about the krbdev mailing list