[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 09:44:17 -0400
How do I generate a proper bug report for those binaries? =20
I will download 1.4.12 and try it.
I didn't see yacc as a source from the IBM website, but I did load bison.=
I don't understand your last comment since I don't normally build much. =
Unless it is related to my
having installed bison. I also installed flex at one point just in case =
even though the IBM lex is also installed
as part of the IBM development tools.
[523] <root@orion> /cdrom/IBM: rpm -qa
cdrecord-1.9-7
mkisofs-1.13-4
sudo-1.6.7p5-3
AIX-rpm-6.1.0.0-2
flex-2.5.4a-6
bison-1.875-3
gawk-3.1.3-1
bash-3.0-1
ck
-----Original Message-----
From: Derrick Brashear [mailto:shadow@gmail.com]=20
Sent: Sunday, March 14, 2010 8:46 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
On Fri, Mar 12, 2010 at 11:17 AM, Kieffer, Catherine
<Catherine.Kieffer@spirent.com> wrote:
> I am running AIX v6.1TL0 SP2,=A0 I am using the AIX XL C/C++ v10.1
>
> I have tried a number of things as well as googling to try to figure ou=
t how
> to get rid of the error but no success.
> When I tried to install the provided binaries for AIX a couple of month=
s ago
> for v1.4.8, 1.4.10, and 1.4.11, they failed to run.
>
> I did try adding the '-ll -bnoquiet' options for the compile command wh=
ich
> eliminated the first two undefined items, but the .yylex error still
> occurred.
>
> Any assistance in what I need to do to resolve the errors would be
> appreciated.
1) 1.4.12 is out
2) bug reports on those binaries if they do not work would be
appreciated. it built to completion for me.
> Here is output from the make command with the errors.
>
> =A0=A0=A0=A0=A0=A0=A0 cd src && cd comerr && make all
> =A0=A0=A0=A0=A0=A0=A0 echo 'char cml_version_number[]=3D"@(#) OpenAFS 1=
=2E4.11 built ' `date
> +"%Y-%m-%d"` '";' >AFS_component_version_number.c
>
> =A0=A0=A0=A0=A0=A0=A0 echo 'char* AFSVersion =3D "openafs 1.4.11"; '
>>>AFS_component_version_number.c
> =A0=A0=A0=A0=A0=A0=A0 cc=A0 -O -I/home/ckieffer/tmpbuild/openafs-1.4.11=
/src/config -I. -I.
> -I/home/ckieffer/tmpbuild/openafs-1.4.11/include
> -I/home/ckieffer/tmpbuild/openafs-1.4.11/include/afs
> -I/home/ckieffer/tmpbuild/openafs-1.4.11/include/rx
> -I/home/ckieffer/tmpbuild/openafs-1.4.11
> -I/home/ckieffer/tmpbuild/openafs-1.4.11/src
> -I/home/ckieffer/tmpbuild/openafs-1.4.11/src -K -D_NONSTD_TYPES -D_MBI=3D=
void
> -c compile_et.c
>
> =A0=A0=A0=A0=A0=A0=A0 case rs_aix61 in=A0 *_linux* | *_umlinux* )=A0 cc=
=A0 -O
> -I/home/ckieffer/tmpbuild/openafs-1.4.11/src/config -I. -I.
> -I/home/ckieffer/tmpbuild/openafs-1.4.11/include
> -I/home/ckieffer/tmpbuild/openafs-1.4.11/include/afs
> -I/home/ckieffer/tmpbuild/openafs-1.4.11/include/rx
> -I/home/ckieffer/tmpbuild/openafs-1.4.11
> -I/home/ckieffer/tmpbuild/openafs-1.4.11/src
> -I/home/ckieffer/tmpbuild/openafs-1.4.11/src -K -D_NONSTD_TYPES -D_MBI=3D=
void
> -o compile_et compile_et.o error_table.o
> -L/home/ckieffer/tmpbuild/openafs-1.4.11/lib -lafsutil;;=A0 * )=A0 cc=A0=
-O
> -I/home/ckieffer/tmpbuild/openafs-1.4.11/src/config -I. -I.
> -I/home/ckieffer/tmpbuild/openafs-1.4.11/include
> -I/home/ckieffer/tmpbuild/openafs-1.4.11/include/afs
> -I/home/ckieffer/tmpbuild/openafs-1.4.11/include/rx
> -I/home/ckieffer/tmpbuild/openafs-1.4.11
> -I/home/ckieffer/tmpbuild/openafs-1.4.11/src
> -I/home/ckieffer/tmpbuild/openafs-1.4.11/src -K -D_NONSTD_TYPES -D_MBI=3D=
void
> -o compile_et compile_et.o error_table.o
> -L/home/ckieffer/tmpbuild/openafs-1.4.11/lib -lafsutil -ll;;=A0 esac
>
> ld: 0711-317 ERROR: Undefined symbol: yyin
> ld: 0711-317 ERROR: Undefined symbol: yyout
> ld: 0711-317 ERROR: Undefined symbol: .yylex
> ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
> information.
> make: 1254-004 The error code from the last command is 8.
somehow you have an object file for error_table.o already? it's not
shown as being compiled above, nor the yacc command that generated the
source file.
yylex comes from yacc.
<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>