[lttng-dev] YACC error building Babeltrace 1.5.2

Jonathan Rajotte Julien Jonathan.rajotte-julien at efficios.com
Tue Apr 4 17:24:55 UTC 2017


Hi,

>From the readme of babeltrace:

    This source tree is based on the autotools suite from GNU to simplify
    portability. Here are some things you should have on your system in order to
    compile the git repository tree :

    - GNU autotools (automake >=1.10, autoconf >=2.50, autoheader >=2.50)
      (make sure your system wide "automake" points to a recent version!)
    - GNU Libtool >=2.2
      (for more information, go to http://www.gnu.org/software/autoconf/)
    - Flex >=2.5.35.
    - Bison >=2.4.

Please upgrade bison/yacc to at least 2.4 and report to us if any errors is still present.

Cheers

On 2017-04-04 12:59 PM, Rocky Dunlap wrote:
> I am trying to build Babeltrace 1.5.2 and I received the following error.  Any help would be appreciated.  Let me know what other info to send.
> 
> make[4]: Entering directory `/gpfsm/dhome/rsdunlap/bt/babeltrace-1.5.2/formats/ctf/types'
>   CC       array.lo
>   CC       enum.lo
>   CC       float.lo
>   CC       integer.lo
>   CC       sequence.lo
>   CC       string.lo
>   CC       struct.lo
>   CC       variant.lo
>   CCLD     libctf-types.la <http://libctf-types.la>
> make[4]: Leaving directory `/gpfsm/dhome/rsdunlap/bt/babeltrace-1.5.2/formats/ctf/types'
> Making all in metadata
> make[4]: Entering directory `/gpfsm/dhome/rsdunlap/bt/babeltrace-1.5.2/formats/ctf/metadata'
>   YACC     ctf-parser.c
> /home/rsdunlap/bt/babeltrace-1.5.2/formats/ctf/metadata/ctf-parser.y:1040.9-16: syntax error, unexpected identifier, expecting string
> make[4]: *** [ctf-parser.c] Error 1
> make[4]: Leaving directory `/gpfsm/dhome/rsdunlap/bt/babeltrace-1.5.2/formats/ctf/metadata'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/gpfsm/dhome/rsdunlap/bt/babeltrace-1.5.2/formats/ctf'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/gpfsm/dhome/rsdunlap/bt/babeltrace-1.5.2/formats'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/gpfsm/dhome/rsdunlap/bt/babeltrace-1.5.2'
> make: *** [all] Error 2
> 
> 
> If it helps, YACC is:
> 
> rsdunlap at discover18:~/bt/babeltrace-1.5.2> yacc --version
> bison (GNU Bison) 2.3
> Written by Robert Corbett and Richard Stallman.
> 
> 
> Thanks,
> Rocky
> 
> 
> _______________________________________________
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
> https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
> 

-- 
Jonathan R. Julien
Efficios


More information about the lttng-dev mailing list