AnsweredAssumed Answered

Error building libiio on RHEL-6.6 x86 64-bit host

Question asked by elvisjohndowson on Nov 11, 2014
Latest reply on Nov 13, 2014 by elvisjohndowson

Hi,

 

I'm trying to build libiio on a RHEL-6.6 x86 64-bit host machine, so that I can use it to run Matlab R2014a on RHEL-6.6, and communicate with a ZC702 + AD-FMCOMMS3-EBZ board.

 

I've already performed all the required setup tasks for the ZC702 target board, and updated the adi tools and boot images by running the appropriate scripts.

 

I've install the pre-requisite librarys for RHEL by typing the following command:

 

sudo yum install libxml2 libxm2-devel bison flex cdk-devel avahi-devel

 

When I try to build libiio, I get the following errors:

 

$ make

which: no update-rc.d in (/tool/bluespec/bin:/tool/script:/project/software/library/qt4/install/bin:/usr/lib64/ccache:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:)

make[1]: Entering directory `/project/software/library/libiio/iiod'

  YACC    parser.c

Usage: yacc [options] filename

 

Options:

  -b file_prefix        set filename prefix (default "y.")

  -d                    write definitions (y.tab.h)

  -g                    write a graphical description

  -l                    suppress #line directives

  -o output_file        (default "y.tab.c")

  -p symbol_prefix      set symbol prefix (default "yy")

  -r                    produce separate code and table files (y.code.c)

  -t                    add debugging support

  -v                    write description (y.output)

  -V                    show version information and exit

make[1]: *** [parser.c] Error 1

make[1]: Leaving directory `/project/software/library/libiio/iiod'

make: *** [iiod] Error 2

 

 

Regards,

 

Elvis Dowson

Outcomes