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

b6x stevewilloughby@hotmail.com
Thu, 23 Oct 2008 07:26:02 -0700 (PDT)


A follow-up...

...as a test,  I have removed the vprintf call in " src/rx/rx_kcommon.c" and
replaced with a printf.  This seems to allow the compilation to continue, 
until the following when attempting a make all in src/tsm41:

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.

...seems to me that no reference to rs_aix61 has been added to the case
statement or an aix(x)_auth.c file supplied.

Regards,
Steve


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-tp20106029p20132134.html
Sent from the OpenAFS - Dev mailing list archive at Nabble.com.