Thread: compiler error: ‘ED_UNASSIGNED’

Started: 2015-02-17 23:01:20
Last activity: 2015-02-17 23:01:20
Topics: SAC Help
Hamdi ALKAN
2015-02-17 23:01:20
My name is Hamdi ALKAN from Yüzüncü Yıl University, Van, Turkey. I want to
compile sac 101.6a. My pc has ubuntu 14.04 (Linux halkan65-VirtualBox
3.13.0-45-generic #74-Ubuntu SMP Tue Jan 13 19:37:48 UTC 2015 i686 i686
i686 GNU/Linux)

First, start ./configure
I take below Compilation Options. But I have matlabr2009a.
Afterthat, i run the options ./make for creating SAC executable. So, I
have taken some errors as error: ‘ED_UNASSIGNED’.
What is mean this error and how can I solve this problem?
Thank you.

Compilation Options for sac (Seismic Analysis Code 101.6a)

CFLAGS = -D_GNU_SOURCE
LDFLAGS =
LIBS = -ldl -lm -lncurses
Debug =
Optimization =
Database = off
Matlab = off
X11-buffer = on
X11-depth = on
XDR Format = off
Support = xpm zlib
X_LIBS =
X_CFLAGS =
Readline = off
Editline = on
Install Base = /usr/local/sac
System = linux_x86 (i686-pc-linux-gnu)



make[3]:`/home/halkan65/Masaüstü/sac-101.6a/libedit/libedit-20090923-3.0-sac/src'
dizinine giriliyor
CC chared.o
gcc -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE -O -Wall -pipe -g3 -c
chared.c
chared.c: In function ‘ch_init’:
chared.c:473:29: error: ‘ED_UNASSIGNED’ undeclared (first use in this
function)
el->el_chared.c_redo.cmd = ED_UNASSIGNED;
^
chared.c:473:29: note: each undeclared identifier is reported only once for
each function it appears in
chared.c: In function ‘ch_reset’:
chared.c:524:26: error: ‘ED_UNASSIGNED’ undeclared (first use in this
function)
el->el_state.lastcmd = ED_UNASSIGNED;
^
chared.c: In function ‘ch_end’:
chared.c:640:29: error: ‘ED_UNASSIGNED’ undeclared (first use in this
function)
el->el_chared.c_redo.cmd = ED_UNASSIGNED;

18:02:39 v.22510d55