This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
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/ ===============================================================================