Open MPI logo

PLPA Users' Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all PLPA Users mailing list

Subject: Re: [PLPA users] build error in plpa-taskset/parser.c
From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2009-07-24 11:48:22


Should be fixed on the trunk in r250; v1.3 in r251.

On Jul 24, 2009, at 11:11 AM, Jeff Squyres (jsquyres) wrote:

> Ya, I think something broke along the way in the build process for
> fresh SVN checkouts of PLPA (that file is supposed to be generated,
> but I think some ordering is wrong somewhere). Blah.
>
> Let me see if I can dig up what the problem is...
>
>
> On Jul 23, 2009, at 3:55 PM, Bert Wesarg wrote:
>
> > Jeff,
> >
> > I'm getting a build error from the current trunk:
> >
> > gcc -DHAVE_CONFIG_H -I. -I../.././src/libplpa -I../../src/libplpa
> > -MT parser.o -MD -MP -MF $depbase.Tpo -c -o parser.o parser.c
> > parser.l:18:20: error: tokens.h: No such file or directory
> > parser.l: In function 'yylex':
> > parser.l:43: error: 'yylval' undeclared (first use in this function)
> > parser.l:43: error: (Each undeclared identifier is reported only
> once
> > parser.l:43: error: for each function it appears in.)
> > parser.l:43: error: 'TOKENS_NUMBER' undeclared (first use in this
> > function)
> > parser.l:45: error: 'TOKENS_STRING_ALL' undeclared (first use in
> > this function)
> > parser.l:47: error: 'TOKENS_STRING_EVEN' undeclared (first use in
> > this function)
> > parser.l:49: error: 'TOKENS_STRING_ODD' undeclared (first use in
> > this function)
> > parser.l:51: error: 'TOKENS_STRING_NOT' undeclared (first use in
> > this function)
> > make[2]: *** [parser.o] Error 1
> > make[2]: Leaving directory `/home/bertw/dev/open-mpi/plpa/src/plpa-
> > taskset'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory `/home/bertw/dev/open-mpi/plpa/src'
> > make: *** [all-recursive] Error 1
> >
> > My current autotool chain versions are:
> >
> > # m4-1.4.13
> > # autoconf-2.63
> > # automake-1.10.1
> > # libtool-2.2.6a
> >
> > bison:
> > Installed: 1:2.3.dfsg-5
> > Candidate: 1:2.3.dfsg-5
> > Version table:
> > *** 1:2.3.dfsg-5 0
> > 500 http://de.archive.ubuntu.com jaunty/main Packages
> > 100 /var/lib/dpkg/status
> >
> > flex:
> > Installed: 2.5.35-6ubuntu1
> > Candidate: 2.5.35-6ubuntu1
> > Version table:
> > *** 2.5.35-6ubuntu1 0
> > 500 http://de.archive.ubuntu.com jaunty/main Packages
> > 100 /var/lib/dpkg/status
> >
> > I solved it with this patch:
> >
> > diff --git i/src/plpa-taskset/Makefile.am w/src/plpa-taskset/
> > Makefile.am
> > index 17998dc..a302979 100644
> > --- i/src/plpa-taskset/Makefile.am
> > +++ w/src/plpa-taskset/Makefile.am
> > @@ -28,3 +28,4 @@ plpa_taskset_SOURCES = \
> > parser.l \
> > tokens.y
> > plpa_taskset_LDADD = $(top_builddir)/src/libplpa/libplpa.la
> > +parser.o: tokens.h
> >
> > Bye,
> > Bert
> > _______________________________________________
> > plpa-users mailing list
> > plpa-users_at_[hidden]
> > http://www.open-mpi.org/mailman/listinfo.cgi/plpa-users
> >
>
>
> --
> Jeff Squyres
> jsquyres_at_[hidden]
>
> _______________________________________________
> plpa-users mailing list
> plpa-users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/plpa-users
>

-- 
Jeff Squyres
jsquyres_at_[hidden]