On 14 Mar 2013, at 22:05, Måns Nilsson wrote:

> # cd src/venus/
> # LC_ALL=C make  # not all people read swedish compiler errors fluently
> /opt/SUNWspro/bin/cc -I/usr/heimdal/include    -O 
> -I/tank/scratch/openafs-1.6.2/src/config 
> -I/tank/scratch/openafs-1.6.2/include -I. -I.  -mt -DAFS_PTHREAD_ENV -dy 
> -Bdynamic -o afsio afsio.o vldbint.cs.o afscbint.ss.o vldbint.xdr.o 
> /tank/scratch/openafs-1.6.2/lib/libafscp.a  
> /tank/scratch/openafs-1.6.2/lib/libafsauthent.a  
> /tank/scratch/openafs-1.6.2/lib/libafsrpc.a  
> /tank/scratch/openafs-1.6.2/lib/libcmd.a  
> /tank/scratch/openafs-1.6.2/lib/libafsutil.a \
>        -lpthread -lsocket -lresolv -lsocket -lnsl -lintl -ldl -lkrb5 
> -lcom_err -lsocket -lnsl -lresolv
> ld: fatal: library -lcom_err: not found
> ld: fatal: File processing errors. No output written to afsio
> *** Error code 1
> make: Fatal error: Command failed for target `afsio'

When we use @KRB5_LIBS@, we also need to pass the linker @KRB5_LDFLAGS@. aklog 
gets this right, afsio gets it wrong.

S.



_______________________________________________
OpenAFS-info mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-info

Reply via email to