Remko Troncon | 17 Jan 10:59
Picon
Picon

Compilation problems

Hi,

I'm having trouble with Yap compilation. When i do 
'./configure --enable-talbing', make on Mac OS X gives me:
	In file included from ../C/absmi.c:2837:
	../OPTYap/tab.insts.i: In function 'Yap_absmi':
	../OPTYap/tab.insts.i:303: warning: unused variable 'to_go'
	../OPTYap/tab.insts.i:363: error: address of global register variable 'YENV' requested
	../OPTYap/tab.insts.i:473: error: address of global register variable 'YENV' requested
	../OPTYap/tab.insts.i:583: error: address of global register variable 'YENV' requested
	
On Linux, compilation gets further, but stops at:
	../C/attvar.c: In function 'p_void_term':
	../C/attvar.c:938: error: 'TermVoidAtt' undeclared (first use in this function)
	../C/attvar.c:938: error: (Each undeclared identifier is reported only once
	../C/attvar.c:938: error: for each function it appears in.)

'--enable-coroutining' doesn't help, i have to define COROUTINING manually.

cheers,
Remko

Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642

Gmane