Thread: Promlem in compile of SAC

Started: 2011-05-24 20:37:25
Last activity: 2011-05-24 20:37:25
Topics: SAC Help
Ashish
2011-05-24 20:37:25
Hi all
I have problem with sac compiling.
I tried to compile sac (V 101.2) source on fedora 13.
./configure
make

i got error:

##########################################################
Must remake target `co/getline.o'.
gcc -DHAVE_CONFIG_H -I. -I../inc -I../inc -I../libedit/include -c
-o co/getline.o co/getline.c
Putting child 0x08b9e4c8 (co/getline.o) PID 2878 on the chain.
Live child 0x08b9e4c8 (co/getline.o) PID 2878
co/getline.c: In function ‘getline’:
co/getline.c:36: error: argument ‘pfd’ doesn’t match prototype
/usr/include/stdio.h:673: error: prototype declaration
co/getline.c:36: error: argument ‘pch’ doesn’t match prototype
/usr/include/stdio.h:673: error: prototype declaration
co/getline.c:36: error: argument ‘maxlen’ doesn’t match prototype
/usr/include/stdio.h:673: error: prototype declaration
Reaping losing child 0x08b9e4c8 PID 2878
make[1]: *** [co/getline.o] Error 1
Removing child 0x08b9e4c8 PID 2878 from chain.
make[1]: Leaving directory `/opt/sac-101.2/src'
Reaping losing child 0x08414498 PID 17570
make: *** [all-recursive] Error 1
Removing child 0x08414498 PID 17570 from chain.
#################################################

i Need help on this

ps: i have binaries for older version which work fine upto fedora 12 but
fedora 13 onward i am getting error while displaying.
################################
SAC> r LTA_2006.174.05.34.06.e
SAC> p1
X Error of failed request: BadName (named color or font does not exist)
Major opcode of failed request: 45 (X_OpenFont)
Serial number of failed request: 7
Current serial number in output stream: 11
####################################################


Regards

Ashish


18:05:55 v.22510d55