[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 19990428: ldm-5.0.8 (linux) compilation errors



Celia,

The versions are the same on iita2 and our Linux machine. Glenn is going
to log in today to iita2 and see if he can find the problem. We don't have
a Debian Linux system here.

Robb...


On Wed, 28 Apr 1999, Celia Chen wrote:

> Robb,
> 
> iita2:/usr/bin> bison -V
> GNU Bison version 1.25
> iita2:/usr/bin> flex -V
> flex version 2.5.4
> iita2:/usr/bin> 
> 
> Additional info:
> iita2:/usr/bin> ls -al lex
> lrwxrwxrwx   1 root     root            4 Apr  9 03:12 lex -> flex*
> iita2:/usr/bin> 
> iita2:/usr/bin> ls -al yacc
> lrwxrwxrwx   1 root     root           22 Apr  9 03:12 yacc -> 
> /etc/alternatives/yacc*
> iita2:/usr/bin> ls -al bison
> -rwxr-xr-x   1 root     root        60652 Dec 29 14:31 bison*
> 
> 
> > 
> > Celia,
> > 
> > What the results of:
> > 
> > sunshine.unidata.ucar.edu.rkambic> bison -V
> > sunshine.unidata.ucar.edu.rkambic> flex -V
> > 
> > 
> > Robb...
> > 
> > 
> > On Wed, 28 Apr 1999, Celia Chen wrote:
> > 
> > > Robb,
> > > 
> > > It didn't work after I set the environment variables.
> > > 
> > > iita2:~/ldm-5.0.8/src> echo $YACC 
> > > bison 
> > > iita2:~/ldm-5.0.8/src> echo $LEX 
> > > flex 
> > >  
> > > I got the following error messages:
> > > 
> > > make[2]: Entering directory `/home/ldm/ldm-5.0.8/src/server'
> > > bison conf.y
> > > ("conf.y", line 83) error: $2 of `allow_entry' has no declared type
> > > ("conf.y", line 83) error: $3 of `allow_entry' has no declared type
> > > ("conf.y", line 96) error: $2 of `accept_entry' has no declared type
> > > ("conf.y", line 97) error: $3 of `accept_entry' has no declared type
> > > ("conf.y", line 97) error: $3 of `accept_entry' has no declared type
> > > ("conf.y", line 97) error: $4 of `accept_entry' has no declared type
> > > ("conf.y", line 109) error: $2 of `request_entry' has no declared type
> > > ("conf.y", line 109) error: $3 of `request_entry' has no declared type
> > > ("conf.y", line 110) error: $3 of `request_entry' has no declared type
> > > ("conf.y", line 110) error: $4 of `request_entry' has no declared type
> > > ("conf.y", line 122) error: $2 of `exec_entry' has no declared type
> > > ("conf.y", line 139) error: $1 of `host_regexp' has no declared type
> > > ("conf.y", line 140) error: $1 of `host_regexp' has no declared type
> > > ("conf.y", line 141) error: $1 of `host_regexp' has no declared type
> > > ("conf.y", line 142) error: $1 of `host_regexp' has no declared type
> > > ("conf.y", line 147) error: $$ of `host_regexp' has no declared type
> > > ("conf.y", line 147) error: $1 of `host_regexp' has no declared type
> > > make[2]: *** [conftab.c] Error 1
> > > make[2]: Leaving directory `/home/ldm/ldm-5.0.8/src/server'
> > > make[1]: *** [_sub] Error 1
> > > make[1]: Leaving directory `/home/ldm/ldm-5.0.8/src'
> > > make: *** [progs] Error 2
> > > iita2:~/ldm-5.0.8/src> echo $YACC
> > > bison
> > > iita2:~/ldm-5.0.8/src> echo $LEX
> > > flex
> > > 
> > > > 
> > > > Celia,
> > > > 
> > > > We think your problem is that the system has an old version of yacc and
> > > > lex installed on your system.  So the following commands fail:
> > > > 
> > > > yacc conf.y
> > > > mv y.tab.c conftab.c
> > > > lex conf.l
> > > > mv lex.yy.c confyy.c
> > > > 
> > > > 
> > > > Try setting the environment vars YACC and LEX, ie
> > > > 
> > > > % setenv YACC bison
> > > > % setenv LEX flex
> > > > 
> > > > Try the compile now.  Let me know th outcome.
> > > > 
> > > > Robb...
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > On Wed, 28 Apr 1999, Unidata Support wrote:
> > > > 
> > > > > 
> > > > > ------- Forwarded Message
> > > > > 
> > > > > >To: address@hidden
> > > > > >cc: address@hidden (Celia Chen)
> > > > > >From: address@hidden (Celia Chen)
> > > > > >Subject: ldm-5.0.8 (linux) compilation errors
> > > > > >Organization: .
> > > > > >Keywords: 199904282030.OAA26069
> > > > > 
> > > > > 
> > > > > I've just tried to compile the ldm-5.0.8 on my linux
> > > > > box and got the attached errors.
> > > > > 
> > > > > Please help!
> > > > > 
> > > > > Thanks in advance.
> > > > > 
> > > > > Celia
> > > > > 
> > > > > 
> > > > > make[2]: Leaving directory `/home/ldm/ldm-5.0.8/src/notifyme'
> > > > > Making `all' in /home/ldm/ldm-5.0.8/src/server
> > > > > make[2]: Entering directory `/home/ldm/ldm-5.0.8/src/server'
> > > > > yacc conf.y
> > > > > ("conf.y", line 83) error: $2 of `allow_entry' has no declared type
> > > > > ("conf.y", line 83) error: $3 of `allow_entry' has no declared type
> > > > > ("conf.y", line 96) error: $2 of `accept_entry' has no declared type
> > > > > ("conf.y", line 97) error: $3 of `accept_entry' has no declared type
> > > > > ("conf.y", line 97) error: $3 of `accept_entry' has no declared type
> > > > > ("conf.y", line 97) error: $4 of `accept_entry' has no declared type
> > > > > ("conf.y", line 109) error: $2 of `request_entry' has no declared type
> > > > > ("conf.y", line 109) error: $3 of `request_entry' has no declared type
> > > > > ("conf.y", line 110) error: $3 of `request_entry' has no declared type
> > > > > ("conf.y", line 110) error: $4 of `request_entry' has no declared type
> > > > > ("conf.y", line 122) error: $2 of `exec_entry' has no declared type
> > > > > ("conf.y", line 139) error: $1 of `host_regexp' has no declared type
> > > > > ("conf.y", line 140) error: $1 of `host_regexp' has no declared type
> > > > > ("conf.y", line 141) error: $1 of `host_regexp' has no declared type
> > > > > ("conf.y", line 142) error: $1 of `host_regexp' has no declared type
> > > > > ("conf.y", line 147) error: $$ of `host_regexp' has no declared type
> > > > > ("conf.y", line 147) error: $1 of `host_regexp' has no declared type
> > > > > make[2]: *** [conftab.c] Error 1
> > > > > make[2]: Leaving directory `/home/ldm/ldm-5.0.8/src/server'
> > > > > make[1]: *** [_sub] Error 1
> > > > > make[1]: Leaving directory `/home/ldm/ldm-5.0.8/src'
> > > > > make: *** [progs] Error 2
> > > > > 
> > > > > 
> > > > > ------- End of Forwarded Message
> > > > > 
> > > > 
> > > > ===============================================================================
> > > > Robb Kambic                                Unidata Program Center
> > > > Software Engineer III                      Univ. Corp for Atmospheric 
> > > > Research
> > > > address@hidden             WWW: http://www.unidata.ucar.edu/
> > > > ===============================================================================
> > > > 
> > > > 
> > > 
> > 
> > ===============================================================================
> > Robb Kambic                            Unidata Program Center
> > Software Engineer III                          Univ. Corp for Atmospheric 
> > Research
> > address@hidden                 WWW: http://www.unidata.ucar.edu/
> > ===============================================================================
> > 
> > 
> 

===============================================================================
Robb Kambic                                Unidata Program Center
Software Engineer III                      Univ. Corp for Atmospheric Research
address@hidden             WWW: http://www.unidata.ucar.edu/
===============================================================================