yacc error during installation of xmgr
Dear linux users,
I am using CentOS-4.4 in my IBM laptop. I am trying to install XMGR a plotting program. While installing I configured it as per the instruction given in the INSTALL file. Configuration went fine, but when I tried to make it I am getting the following,
[root@electron xmgr-4.1.2]# make
make[1]: Entering directory `/root/insprogrms/xmgr-4.1.2/cephes'
gcc -O2 -Wall -pedantic -m486 -malign-double -I/usr/X11R6/include -I.. -I. -c -o airy.o airy.c
`-m486' is deprecated. Use `-march=i486' or `-mtune=i486' instead.
- - - - - - - - - - - - - - - - - --- - - - - - - --
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - (these lines shows no problems)
pars.yacc:4140: error: `log2' undeclared here (not in a function)
pars.yacc:4140: error: initializer element is not constant
pars.yacc:4140: error: (near initialization for `ikey[265].fnc')
pars.yacc:4140: error: initializer element is not constant
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -(the same thing but different numbers in increasing order from 4140)
pars.yacc:4353: error: initializer element is not constant
pars.yacc:4353: error: (near initialization for `ikey[478]')
make[1]: *** [pars.o] Error 1
make[1]: Leaving directory `/root/insprogrms/xmgr-4.1.2/src'
make[1]: Entering directory `/root/insprogrms/xmgr-4.1.2/acegr_np'
gcc -O2 -Wall -pedantic -m486 -malign-double -I/usr/X11R6/include -I.. -I. -c -o acegr_np.o acegr_np.c
`-m486' is deprecated. Use `-march=i486' or `-mtune=i486' instead.
gcc -O2 -Wall -pedantic -m486 -malign-double -I/usr/X11R6/include -I.. -I. -c -o acegrf_np.o acegrf_np.c
`-m486' is deprecated. Use `-march=i486' or `-mtune=i486' instead.
rm -f libacegr_np.a
ar cr libacegr_np.a acegr_np.o acegrf_np.o
ranlib libacegr_np.a
make[1]: Leaving directory `/root/insprogrms/xmgr-4.1.2/acegr_np'
make[1]: Entering directory `/root/insprogrms/xmgr-4.1.2/grconvert'
gcc -O2 -Wall -pedantic -m486 -malign-double -I/usr/X11R6/include -I.. -I. -c -o grconvert.o grconvert.c
`-m486' is deprecated. Use `-march=i486' or `-mtune=i486' instead.
gcc -O2 -Wall -pedantic -m486 -malign-double -I/usr/X11R6/include -I.. -I. -c -o defaults.o defaults.c
`-m486' is deprecated. Use `-march=i486' or `-mtune=i486' instead.
gcc -O2 -Wall -pedantic -m486 -malign-double -I/usr/X11R6/include -I.. -I. -c -o readbin.o readbin.c
`-m486' is deprecated. Use `-march=i486' or `-mtune=i486' instead.
gcc -O2 -Wall -pedantic -m486 -malign-double -I/usr/X11R6/include -I.. -I. -c -o writeasc.o writeasc.c
`-m486' is deprecated. Use `-march=i486' or `-mtune=i486' instead.
gcc -O2 -Wall -pedantic -m486 -malign-double -I/usr/X11R6/include -I.. -I. -c -o util.o util.c
`-m486' is deprecated. Use `-march=i486' or `-mtune=i486' instead.
gcc -o grconvert grconvert.o defaults.o readbin.o writeasc.o util.o -lm
make[1]: Leaving directory `/root/insprogrms/xmgr-4.1.2/grconvert'
make[1]: Entering directory `/root/insprogrms/xmgr-4.1.2/doc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/insprogrms/xmgr-4.1.2/doc'
make[1]: Entering directory `/root/insprogrms/xmgr-4.1.2/examples'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/insprogrms/xmgr-4.1.2/examples'
make[1]: Entering directory `/root/insprogrms/xmgr-4.1.2/auxiliary'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/insprogrms/xmgr-4.1.2/auxiliary'
I could not understand what is happening and What is needed to be done to make XMGR to work in my laptop. Could any one help me to solve this problem with lucid explanation ( I am a newbie).
Many thanks in advance.
|