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

Kieffer, Catherine Catherine.Kieffer@spirent.com
Mon, 15 Mar 2010 14:58:17 -0400


Well I guess after all the effort when I tried with C++ v7, I should have=
 started with a clean slate.  It got further with bison and fles removed,=
=20
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.  by 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.
        cc  -I/home/ckieffer/tmpbuild/openafs-1.4.11/src/config -I/home/c=
kieffer/tmpbuild/openafs-1.4.11/include   -c ./afs_util.c -o afs_util.o
        set -x;  case "rs_aix61" in  hp_ux* | ia64_hpux*)  ld  -c ./mapfi=
le.hp -o pam_afs.so.1  afs_setcred.o afs_auth.o afs_util.o  afs_account.o=
 afs_session.o afs_password.o  afs_pam_msg.o afs_message.o AFS_component_=
version_number.o /home/ckieffer/tmpbuild/openafs-1.4.11/lib/libkauth.a /h=
ome/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=
/libauth.a  /home/ckieffer/tmpbuild/openafs-1.4.11/lib/librxkad.a /home/c=
kieffer/tmpbuild/openafs-1.4.11/lib/libsys.a  /home/ckieffer/tmpbuild/ope=
nafs-1.4.11/lib/libdes.a /home/ckieffer/tmpbuild/openafs-1.4.11/lib/librx=
=2Ea  /home/ckieffer/tmpbuild/openafs-1.4.11/lib/liblwp.a /home/ckieffer/=
tmpbuild/openafs-1.4.11/lib/libaudit.a  /home/ckieffer/tmpbuild/openafs-1=
=2E4.11/lib/libcmd.a /home/ckieffer/tmpbuild/openafs-1.4.11/lib/libcom_er=
r.a  /home/ckieffer/tmpbuild/openafs-1.4.11/lib/util.a   ;;  sun*_5*)  ld=
  -M ./mapfile -o pam_afs.so.1  afs_setcred.o afs_auth.o afs_util.o  afs_=
account.o afs_session.o afs_password.o  afs_pam_msg.o afs_message.o AFS_c=
omponent_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/ckieffe=
r/tmpbuild/openafs-1.4.11/lib/libubik.a /home/ckieffer/tmpbuild/openafs-1=
=2E4.11/lib/libauth.a  /home/ckieffer/tmpbuild/openafs-1.4.11/lib/librxka=
d.a /home/ckieffer/tmpbuild/openafs-1.4.11/lib/libsys.a  /home/ckieffer/t=
mpbuild/openafs-1.4.11/lib/libdes.a /home/ckieffer/tmpbuild/openafs-1.4.1=
1/lib/librx.a  /home/ckieffer/tmpbuild/openafs-1.4.11/lib/liblwp.a /home/=
ckieffer/tmpbuild/openafs-1.4.11/lib/libaudit.a  /home/ckieffer/tmpbuild/=
openafs-1.4.11/lib/libcmd.a /home/ckieffer/tmpbuild/openafs-1.4.11/lib/li=
bcom_err.a  /home/ckieffer/tmpbuild/openafs-1.4.11/lib/util.a   ;;  *linu=
x*)  cc  -o pam_afs.so.1 afs_setcred.o  afs_auth.o afs_util.o afs_account=
=2Eo afs_session.o afs_password.o  afs_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/tmp=
build/openafs-1.4.11/lib/libubik.a /home/ckieffer/tmpbuild/openafs-1.4.11=
/lib/libauth.a  /home/ckieffer/tmpbuild/openafs-1.4.11/lib/librxkad.a /ho=
me/ckieffer/tmpbuild/openafs-1.4.11/lib/libsys.a  /home/ckieffer/tmpbuild=
/openafs-1.4.11/lib/libdes.a /home/ckieffer/tmpbuild/openafs-1.4.11/lib/l=
ibrx.a  /home/ckieffer/tmpbuild/openafs-1.4.11/lib/liblwp.a /home/ckieffe=
r/tmpbuild/openafs-1.4.11/lib/libaudit.a  /home/ckieffer/tmpbuild/openafs=
-1.4.11/lib/libcmd.a /home/ckieffer/tmpbuild/openafs-1.4.11/lib/libcom_er=
r.a  /home/ckieffer/tmpbuild/openafs-1.4.11/lib/util.a   ;; *fbsd*| *nbsd=
*)  cc  -o pam_afs.so.1 afs_setcred.o  afs_auth.o afs_util.o afs_account.=
o afs_session.o afs_password.o  afs_pam_msg.o afs_message.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 /home/ckieffer/tmpbui=
ld/openafs-1.4.11/lib/libubik.a /home/ckieffer/tmpbuild/openafs-1.4.11/li=
b/libauth.a  /home/ckieffer/tmpbuild/openafs-1.4.11/lib/librxkad.a /home/=
ckieffer/tmpbuild/openafs-1.4.11/lib/libsys.a  /home/ckieffer/tmpbuild/op=
enafs-1.4.11/lib/libdes.a /home/ckieffer/tmpbuild/openafs-1.4.11/lib/libr=
x.a  /home/ckieffer/tmpbuild/openafs-1.4.11/lib/liblwp.a /home/ckieffer/t=
mpbuild/openafs-1.4.11/lib/libaudit.a  /home/ckieffer/tmpbuild/openafs-1.=
4.11/lib/libcmd.a /home/ckieffer/tmpbuild/openafs-1.4.11/lib/libcom_err.a=
  /home/ckieffer/tmpbuild/openafs-1.4.11/lib/util.a   ;; * )  echo No lin=
k line for system rs_aix61. ;;  esac
+ echo No link line for system rs_aix61.
No link line for system rs_aix61.
        /home/ckieffer/tmpbuild/openafs-1.4.11/src/pinstall/pinstall  pam=
_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
=2E/src/packaging/Debian/patches/pam
=2E/src/pam
=2E/src/pam/pam_afs.5


ck=20

-----Original Message-----
From: Derrick Brashear [mailto:shadow@gmail.com]=20
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 =
case. =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=
=2Eadt.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 =A0Bas=
e 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/=
bin/yacc
> lrwxrwxrwx =A0 =A01 bin =A0 =A0 =A0bin =A0 =A0 =A0 =A0 =A0 =A0 =A017 No=
v 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 b=
uild 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 belon=
ging to Spirent Communications plc, its affiliates and / or subsidiaries.=
 If you are not the intended recipient, you are hereby notified that any =
disclosure, copying, distribution and / or the taking of any action based=
 upon reliance on the contents of this transmission is strictly forbidden=
=2E If you have received this message in error please notify the sender b=
y return e-mail 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 =
9XN, 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

<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. I=
f you are not the intended recipient, you are hereby notified that any di=
sclosure, copying, distribution and / or the taking of any action based u=
pon reliance on the contents of this transmission is strictly forbidden. =
If you have received this message in error please notify the sender by re=
turn e-mail and delete it from your system. If you require assistance, pl=
ease 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=20

</FONT></DIV>