[OpenAFS-devel] AIX 6.1 Compile error: ld: 0711-317 ERROR: Undefined symbol: .vprintf

Derrick Brashear shadow@gmail.com
Tue, 28 Oct 2008 14:24:45 -0400


Install AIX's kerberos? configure should do a better job of not trying
to build that if you lack that, but really, you should avoid lacking
it.


On Tue, Oct 28, 2008 at 10:39 AM, b6x <stevewilloughby@hotmail.com> wrote:
>
>
> FYI,  attempts to compile the v1.4.8pre3 stream on an power6/AIX 6.1 server
> has managed to avoid the vprintf error,  however the next stop is still the
> aix_auth.o problem....
>
> <--------------------------------------------------------------------------------------->
>   + cd tsm41
>   + make all
>        case rs_aix61 in  rs_aix4*)  cc
> -I/openafs/openafs-1.4.8pre3/src/config -I/openafs/openafs-1.4.8pre3/include
> -K -D_NONSTD_TYPES -D_MBI=void  -c ./aix41_auth.c -o aix_auth.o ;;
> rs_aix5*)  cc  -I/openafs/openafs-1.4.8pre3/src/config
> -I/openafs/openafs-1.4.8pre3/include -K -D_NONSTD_TYPES -D_MBI=void  -c
> ./aix5_auth.c -o aix_auth.o ;;  *)  echo "not building aix lam binary for
> rs_aix61" ;;  esac
> not building aix lam binary for rs_aix61
>        cc  -I/openafs/openafs-1.4.8pre3/src/config
> -I/openafs/openafs-1.4.8pre3/include -K -D_NONSTD_TYPES -D_MBI=void  -c
> ./aix41_ident.c -o aix_ident.o
>        cc  -I/openafs/openafs-1.4.8pre3/src/config
> -I/openafs/openafs-1.4.8pre3/include -K -D_NONSTD_TYPES -D_MBI=void  -c
> ./aix_auth_common.c -o aix_auth_common.o
>        cc  -I/openafs/openafs-1.4.8pre3/src/config
> -I/openafs/openafs-1.4.8pre3/include -K -D_NONSTD_TYPES -D_MBI=void  -c
> ./aix_ktc.c -o aix_ktc_null.o
>        ld -o afs_dynamic_auth aix_auth.o  aix_ident.o  aix_auth_common.o
> aix_ktc_null.o /openafs/openafs-1.4.8pre3/lib/libkauth.a
> /openafs/openafs-1.4.8pre3/lib/libprot.a
> /openafs/openafs-1.4.8pre3/lib/libubik.a
> /openafs/openafs-1.4.8pre3/lib/libauth.a
> /openafs/openafs-1.4.8pre3/lib/librxkad.a
> /openafs/openafs-1.4.8pre3/lib/libsys.a
> /openafs/openafs-1.4.8pre3/lib/libdes.a
> /openafs/openafs-1.4.8pre3/lib/librx.a
> /openafs/openafs-1.4.8pre3/lib/liblwp.a
> /openafs/openafs-1.4.8pre3/lib/libcmd.a
> /openafs/openafs-1.4.8pre3/lib/libcom_err.a
> /openafs/openafs-1.4.8pre3/lib/util.a
> /openafs/openafs-1.4.8pre3/lib/libaudit.a  -ldl -eafs_initialize
> -bI:/lib/aio.exp -bI:/lib/netinet.exp -bI:/lib/sockets.exp
> -bI:/lib/statcmd.exp  -lsys -lcsys -lc
> ld: 0706-005 Cannot find or open file: aix_auth.o
>        ld:open(): A file or directory in the path name does not exist.
> make: 1254-004 The error code from the last command is 255.
>
>
> Stop.
> <--------------------------------------------------------------------------------------->
>
>
>
>
> b6x wrote:
>>
>> Hi all.   Apologies if a dumb question.  I'm no developer, but attempting
>> to compile openAFS under AIX 6.1.   I am getting various compiler errors
>> on various machines.   I'm working with 1.5.54 source and IBM AIX C
>> Compiler v9.0
>>
>> The configure scripts seem to work fine,  but when issuing make I receive
>> the following compile errors:
>>
>> On a power6 AIX 6.1 server:
>>
>>   ld: 0711-151 SEVERE ERROR: : Invalid option name:
>> LOADMAP:afs.ext.64.loadmap
>>      ...(various warnings removed)...
>>   ld: 0711-317 ERROR: Undefined symbol: .vprintf
>>   make: 1254-004 The error code from the last command is 8.
>>   Stop.
>>
>>
>> On a power4 AIX 6.1 server:
>>
>>   ld: 0711-344 See the loadmap file afs.ext.64.loadmap for more
>> information.
>>   ld: 0711-317 ERROR: Undefined symbol: .vprintf
>>   make: 1254-004 The error code from the last command is 8.
>>   Stop.
>>
>>
>> If I temporarily change the source to "printf" instead, compilation goes
>> further, however then fails on the following:
>>
>>   + echo No link line for system rs_aix61.
>>   No link line for system rs_aix61.
>>           /tmp/openafs-1.5.54/src/pinstall/pinstall  pam_afs.so.1
>> /tmp/openafs-1.5.54/lib/pam_afs.so.1
>>   Can't open source file ``pam_afs.so.1'': No such file or directory
>>   make: 1254-004 The error code from the last command is 1.
>>
>>
>> I would appreciate any assistance or pointers as to what I'm doing wrong /
>> missing.
>>
>> Many thanks in advance,
>> Steve
>>
>
> --
> View this message in context: http://www.nabble.com/AIX-6.1-Compile-error%3A---ld%3A-0711-317-ERROR%3A-Undefined-symbol%3A-.vprintf-tp20106029p20208482.html
> Sent from the OpenAFS - Dev mailing list archive at Nabble.com.
>
> _______________________________________________
> OpenAFS-devel mailing list
> OpenAFS-devel@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-devel
>



-- 
Derrick