I'm trying to build Yap 4.5.2 on a Sun Sparc Solaris 8.
I can run configure. After that, I execute make, and when the file absmi.c is being compiled, an error ocurred:
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -I. -I../H -I../OPTYap -I../include -DYAP_VERSION=\"Yap-4.5.2\" -DPL_SRC_DIR=\"/usr/local/share/Yap/pl/\" ../console/yap.c -o yap.o gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -I. -I../H -I../OPTYap ../C/agc.c -o agc.o gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -I. -I../H -I../OPTYap ../C/absmi.c -o absmi.o ../C/absmi.c:119: warning: no previous prototype for `prof_alrm' ../C/absmi.c: In function `prof_alrm': ../C/absmi.c:120: error: `PREG' undeclared (first use in this function) ../C/absmi.c:120: error: (Each undeclared identifier is reported only once ../C/absmi.c:120: error: for each function it appears in.) make: *** [absmi.o] Error 1
I'm compiling with gcc 3.3.2, and I have also tried with gcc 2.95
I need some help please.
Thank you in advance.
Log in to post a comment.
I'm trying to build Yap 4.5.2 on a Sun Sparc Solaris 8.
I can run configure. After that, I execute make, and when the file absmi.c is being compiled, an error ocurred:
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -I. -I../H -I../OPTYap -I../include -DYAP_VERSION=\"Yap-4.5.2\" -DPL_SRC_DIR=\"/usr/local/share/Yap/pl/\" ../console/yap.c -o yap.o
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -I. -I../H -I../OPTYap ../C/agc.c -o agc.o
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -I. -I../H -I../OPTYap ../C/absmi.c -o absmi.o
../C/absmi.c:119: warning: no previous prototype for `prof_alrm'
../C/absmi.c: In function `prof_alrm':
../C/absmi.c:120: error: `PREG' undeclared (first use in this function)
../C/absmi.c:120: error: (Each undeclared identifier is reported only once
../C/absmi.c:120: error: for each function it appears in.)
make: *** [absmi.o] Error 1
I'm compiling with gcc 3.3.2, and I have also tried with gcc 2.95
I need some help please.
Thank you in advance.