Along with the below, after thinking about the .o file you mentione, I started 
from scratch and received different errors.  
Not sure what to make of them.   I also uninstalled flex the second time hoping 
maybe it was conflict between lex and flex, but no such luck.

=====================================================
Target "all" is up to date.
        cd src && cd comerr && make all
        echo 'char cml_version_number[]="@(#) OpenAFS 1.4.11 built ' `date 
+"%Y-%m-%d"` '";' >AFS_component_version_number.c
        echo 'char* AFSVersion = "openafs 1.4.11"; ' 
>>AFS_component_version_number.c
        cc  -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=void  -c 
compile_et.c
        rm -f et_lex.lex.c
        lex -t ./et_lex.lex.l > et_lex.lex.c
        bison -y  error_table.y
make: 1254-059 The signal code from the last command is 13.


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.


=============================

ck

-----Original Message-----
From: Kieffer, Catherine 
Sent: Monday, March 15, 2010 9:44 AM
To: Derrick Brashear
Cc: [email protected]
Subject: RE: [OpenAFS] Request for Assistance with OpenAFS - AIX v6.1 build 
attempt fails with .yylex undefined symbol

How do I generate a proper bug report for those binaries?   

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] <r...@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:[email protected]] 
Sent: Sunday, March 14, 2010 8:46 PM
To: Kieffer, Catherine
Cc: [email protected]
Subject: Re: [OpenAFS] Request for Assistance with OpenAFS - AIX v6.1 build 
attempt fails with .yylex undefined symbol

On Fri, Mar 12, 2010 at 11:17 AM, Kieffer, Catherine
<[email protected]> wrote:
> I am running AIX v6.1TL0 SP2,  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 out how
> to get rid of the error but no success.
> When I tried to install the provided binaries for AIX a couple of months 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 which
> 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.
>

>         cd src && cd comerr && make all
>         echo 'char cml_version_number[]="@(#) OpenAFS 1.4.11 built ' `date
> +"%Y-%m-%d"` '";' >AFS_component_version_number.c
>
>         echo 'char* AFSVersion = "openafs 1.4.11"; '
>>>AFS_component_version_number.c
>         cc  -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=void
> -c compile_et.c
>
>         case rs_aix61 in  *_linux* | *_umlinux* )  cc  -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=void
> -o compile_et compile_et.o error_table.o
> -L/home/ckieffer/tmpbuild/openafs-1.4.11/lib -lafsutil;;  * )  cc  -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=void
> -o compile_et compile_et.o error_table.o
> -L/home/ckieffer/tmpbuild/openafs-1.4.11/lib -lafsutil -ll;;  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="1">

E-mail confidentiality.
--------------------------------
This e-mail contains confidential and / or privileged information belonging 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. If you have received 
this message in error please notify the sender by return e-mail and delete it 
from your system. If you require assistance, please contact our IT department 
at [email protected].

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>
_______________________________________________
OpenAFS-info mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-info

Reply via email to