[OpenAFS] Request for Assistance with OpenAFS - AIX v6.1 build attempt fails with .yylex undefined symbol

Derrick Brashear shadow@gmail.com
Mon, 15 Mar 2010 14:29:05 -0500


add --disable-pam to your configure arguments.

On Mon, Mar 15, 2010 at 1:58 PM, Kieffer, Catherine
<Catherine.Kieffer@spirent.com> wrote:
> Well I guess after all the effort when I tried with C++ v7, I should have=
 started with a clean slate. =A0It got further with bison and fles removed,
> but still got errors.
>
> I tried with the krb option, so I think I will try again leaving it out t=
o see what happens. =A0by the way, I didn't see 1.4.12 available to downloa=
d yet.
>
> o afs_auth.o
> "./afs_auth.c", line 119.26: 1506-068 (W) Operation between types "char*"=
 and "const char*" is not allowed.
> "./afs_auth.c", line 155.44: 1506-280 (W) Function argument assignment be=
tween types "void**" and "const void**" is not allowed.
> "./afs_auth.c", line 163.29: 1506-280 (W) Function argument assignment be=
tween types "char**" and "const char**" is not allowed.
> "./afs_auth.c", line 198.22: 1506-098 (E) Missing argument(s).
> "./afs_auth.c", line 198.10: 1506-068 (W) Operation between types "struct=
 passwd*" and "int" is not allowed.
> "./afs_auth.c", line 205.47: 1506-280 (W) Function argument assignment be=
tween types "void**" and "const void**" is not allowed.
> =A0 =A0 =A0 =A0cc =A0-I/home/ckieffer/tmpbuild/openafs-1.4.11/src/config =
-I/home/ckieffer/tmpbuild/openafs-1.4.11/include =A0 -c ./afs_util.c -o afs=
_util.o
> =A0 =A0 =A0 =A0set -x; =A0case "rs_aix61" in =A0hp_ux* | ia64_hpux*) =A0l=
d =A0-c ./mapfile.hp -o pam_afs.so.1 =A0afs_setcred.o afs_auth.o afs_util.o=
 =A0afs_account.o afs_session.o afs_password.o =A0afs_pam_msg.o afs_message=
.o AFS_component_version_number.o /home/ckieffer/tmpbuild/openafs-1.4.11/li=
b/libkauth.a /home/ckieffer/tmpbuild/openafs-1.4.11/lib/libprot.a /home/cki=
effer/tmpbuild/openafs-1.4.11/lib/libubik.a /home/ckieffer/tmpbuild/openafs=
-1.4.11/lib/libauth.a =A0/home/ckieffer/tmpbuild/openafs-1.4.11/lib/librxka=
d.a /home/ckieffer/tmpbuild/openafs-1.4.11/lib/libsys.a =A0/home/ckieffer/t=
mpbuild/openafs-1.4.11/lib/libdes.a /home/ckieffer/tmpbuild/openafs-1.4.11/=
lib/librx.a =A0/home/ckieffer/tmpbuild/openafs-1.4.11/lib/liblwp.a /home/ck=
ieffer/tmpbuild/openafs-1.4.11/lib/libaudit.a =A0/home/ckieffer/tmpbuild/op=
enafs-1.4.11/lib/libcmd.a /home/ckieffer/tmpbuild/openafs-1.4.11/lib/libcom=
_err.a =A0/home/ckieffer/tmpbuild/openafs-1.4.11/lib/util.a =A0 ;; =A0sun*_=
5*) =A0ld =A0-M ./mapfile -o pam_afs.so.1 =A0afs_setcred.o afs_auth.o afs_u=
til.o =A0afs_account.o afs_session.o afs_password.o =A0afs_pam_msg.o afs_me=
ssage.o AFS_component_version_number.o /home/ckieffer/tmpbuild/openafs-1.4.=
11/lib/libkauth.a /home/ckieffer/tmpbuild/openafs-1.4.11/lib/libprot.a /hom=
e/ckieffer/tmpbuild/openafs-1.4.11/lib/libubik.a /home/ckieffer/tmpbuild/op=
enafs-1.4.11/lib/libauth.a =A0/home/ckieffer/tmpbuild/openafs-1.4.11/lib/li=
brxkad.a /home/ckieffer/tmpbuild/openafs-1.4.11/lib/libsys.a =A0/home/ckief=
fer/tmpbuild/openafs-1.4.11/lib/libdes.a /home/ckieffer/tmpbuild/openafs-1.=
4.11/lib/librx.a =A0/home/ckieffer/tmpbuild/openafs-1.4.11/lib/liblwp.a /ho=
me/ckieffer/tmpbuild/openafs-1.4.11/lib/libaudit.a =A0/home/ckieffer/tmpbui=
ld/openafs-1.4.11/lib/libcmd.a /home/ckieffer/tmpbuild/openafs-1.4.11/lib/l=
ibcom_err.a =A0/home/ckieffer/tmpbuild/openafs-1.4.11/lib/util.a =A0 ;; =A0=
*linux*) =A0cc =A0-o pam_afs.so.1 afs_setcred.o =A0afs_auth.o afs_util.o af=
s_account.o afs_session.o afs_password.o =A0afs_pam_msg.o afs_message.o AFS=
_component_version_number.o /home/ckieffer/tmpbuild/openafs-1.4.11/lib/libk=
auth.a /home/ckieffer/tmpbuild/openafs-1.4.11/lib/libprot.a /home/ckieffer/=
tmpbuild/openafs-1.4.11/lib/libubik.a /home/ckieffer/tmpbuild/openafs-1.4.1=
1/lib/libauth.a =A0/home/ckieffer/tmpbuild/openafs-1.4.11/lib/librxkad.a /h=
ome/ckieffer/tmpbuild/openafs-1.4.11/lib/libsys.a =A0/home/ckieffer/tmpbuil=
d/openafs-1.4.11/lib/libdes.a /home/ckieffer/tmpbuild/openafs-1.4.11/lib/li=
brx.a =A0/home/ckieffer/tmpbuild/openafs-1.4.11/lib/liblwp.a /home/ckieffer=
/tmpbuild/openafs-1.4.11/lib/libaudit.a =A0/home/ckieffer/tmpbuild/openafs-=
1.4.11/lib/libcmd.a /home/ckieffer/tmpbuild/openafs-1.4.11/lib/libcom_err.a=
 =A0/home/ckieffer/tmpbuild/openafs-1.4.11/lib/util.a =A0 ;; *fbsd*| *nbsd*=
) =A0cc =A0-o pam_afs.so.1 afs_setcred.o =A0afs_auth.o afs_util.o afs_accou=
nt.o afs_session.o afs_password.o =A0afs_pam_msg.o afs_message.o AFS_compon=
ent_version_number.o /home/ckieffer/tmpbuild/openafs-1.4.11/lib/libkauth.a =
/home/ckieffer/tmpbuild/openafs-1.4.11/lib/libprot.a /home/ckieffer/tmpbuil=
d/openafs-1.4.11/lib/libubik.a /home/ckieffer/tmpbuild/openafs-1.4.11/lib/l=
ibauth.a =A0/home/ckieffer/tmpbuild/openafs-1.4.11/lib/librxkad.a /home/cki=
effer/tmpbuild/openafs-1.4.11/lib/libsys.a =A0/home/ckieffer/tmpbuild/opena=
fs-1.4.11/lib/libdes.a /home/ckieffer/tmpbuild/openafs-1.4.11/lib/librx.a =
=A0/home/ckieffer/tmpbuild/openafs-1.4.11/lib/liblwp.a /home/ckieffer/tmpbu=
ild/openafs-1.4.11/lib/libaudit.a =A0/home/ckieffer/tmpbuild/openafs-1.4.11=
/lib/libcmd.a /home/ckieffer/tmpbuild/openafs-1.4.11/lib/libcom_err.a =A0/h=
ome/ckieffer/tmpbuild/openafs-1.4.11/lib/util.a =A0 ;; * ) =A0echo No link =
line for system rs_aix61. ;; =A0esac
> + echo No link line for system rs_aix61.
> No link line for system rs_aix61.
> =A0 =A0 =A0 =A0/home/ckieffer/tmpbuild/openafs-1.4.11/src/pinstall/pinsta=
ll =A0pam_afs.so.1 /home/ckieffer/tmpbuild/openafs-1.4.11/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.
>
>
> Stop.
> make: 1254-004 The error code from the last command is 2.
>
>
> Stop.
> make: 1254-004 The error code from the last command is 2.
>
>
> Stop.
> make: 1254-004 The error code from the last command is 2.
>
>
> Stop.
> [950] <root@orion> /home/ckieffer/tmpbuild/openafs-1.4.11: find ./ -name =
"pam*" -print
> ./src/packaging/Debian/patches/pam
> ./src/pam
> ./src/pam/pam_afs.5
>
>
> ck
>
> -----Original Message-----
> From: Derrick Brashear [mailto:shadow@gmail.com]
> Sent: Monday, March 15, 2010 1:52 PM
> To: Kieffer, Catherine
> Cc: openafs-info@openafs.org
> Subject: Re: [OpenAFS] Request for Assistance with OpenAFS - AIX v6.1 bui=
ld attempt fails with .yylex undefined symbol
>
> That should be fine. Try uninstalling bison, if it's segfaulting
> there's not much point in leaving it installed.
>
> On Mon, Mar 15, 2010 at 12:35 PM, Kieffer, Catherine
> <Catherine.Kieffer@spirent.com> wrote:
>> Am looking for yacc now, but figured I had better mention this just in c=
ase. =A0the bos.adt.utils does include yacc.
>> Any chance I need something set in my environment?
>>
>> [900] <root@orion> /home/ckieffer/tmpbuild/openafs-1.4.11: lslpp -l bos.=
adt.utils
>> =A0Fileset =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0Level =A0State =A0=
 =A0 =A0Description
>> =A0---------------------------------------------------------------------=
-------
>> Path: /usr/lib/objrepos
>> =A0bos.adt.utils =A0 =A0 =A0 =A0 =A0 =A0 =A06.1.4.0 =A0COMMITTED =A0Base=
 Application Development
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0 =A0 =A0 =A0 =A0 Utilities - lex and yacc
>>
>> [901] <root@orion> /home/ckieffer/tmpbuild/openafs-1.4.11: ls -al /usr/b=
in/yacc
>> lrwxrwxrwx =A0 =A01 bin =A0 =A0 =A0bin =A0 =A0 =A0 =A0 =A0 =A0 =A017 Nov=
 19 15:03 /usr/bin/yacc -> /usr/ccs/bin/yacc
>>
>> ck
>>
>> -----Original Message-----
>> From: Derrick Brashear [mailto:shadow@gmail.com]
>> Sent: Monday, March 15, 2010 10:39 AM
>> To: Kieffer, Catherine
>> Cc: openafs-info@openafs.org
>> Subject: Re: [OpenAFS] Request for Assistance with OpenAFS - AIX v6.1 bu=
ild attempt fails with .yylex undefined symbol
>>
>> On Mon, Mar 15, 2010 at 9:35 AM, Kieffer, Catherine
>> <Catherine.Kieffer@spirent.com> wrote:
>>> =A0 =A0 =A0bison -y =A0error_table.y
>>> make: 1254-059 The signal code from the last command is 13.
>>>
>> bison's broken, apparently. it crashed. see if you can find and install =
yacc.
>>
>> --
>> Derrick
>>
>> <DIV><FONT size=3D"1">
>>
>> E-mail confidentiality.
>> --------------------------------
>> This e-mail contains confidential and / or privileged information belong=
ing to Spirent Communications plc, its affiliates and / or subsidiaries. If=
 you are not the intended recipient, you are hereby notified that any discl=
osure, copying, distribution and / or the taking of any action based upon r=
eliance on the contents of this transmission is strictly forbidden. If you =
have received this message in error please notify the sender by return e-ma=
il and delete it from your system. If you require assistance, please contac=
t our IT department at helpdesk@spirent.com.
>>
>> Spirent Communications plc,
>> Northwood Park, Gatwick Road, Crawley,
>> West Sussex, RH10 9XN, United Kingdom.
>> Tel No. +44 (0) 1293 767676
>> Fax No. +44 (0) 1293 767677
>>
>> Registered in England Number 470893
>> Registered at Northwood Park, Gatwick Road, Crawley, West Sussex, RH10 9=
XN, United Kingdom.
>>
>> Or if within the US,
>>
>> Spirent Communications,
>> 26750 Agoura Road, Calabasas, CA, 91302, USA.
>> Tel No. 1-818-676- 2300
>>
>> </FONT></DIV>
>>
>
>
>
> --
> Derrick
>
> <DIV><FONT size=3D"1">
>
> E-mail confidentiality.
> --------------------------------
> This e-mail contains confidential and / or privileged information belongi=
ng to Spirent Communications plc, its affiliates and / or subsidiaries. If =
you are not the intended recipient, you are hereby notified that any disclo=
sure, copying, distribution and / or the taking of any action based upon re=
liance on the contents of this transmission is strictly forbidden. If you h=
ave received this message in error please notify the sender by return e-mai=
l and delete it from your system. If you require assistance, please contact=
 our IT department at helpdesk@spirent.com.
>
> Spirent Communications plc,
> Northwood Park, Gatwick Road, Crawley,
> West Sussex, RH10 9XN, United Kingdom.
> Tel No. +44 (0) 1293 767676
> Fax No. +44 (0) 1293 767677
>
> Registered in England Number 470893
> Registered at Northwood Park, Gatwick Road, Crawley, West Sussex, RH10 9X=
N, United Kingdom.
>
> Or if within the US,
>
> Spirent Communications,
> 26750 Agoura Road, Calabasas, CA, 91302, USA.
> Tel No. 1-818-676- 2300
>
> </FONT></DIV>
>



--=20
Derrick