users-prolog
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem when complie the src on win32 use MSVC6


From: ???
Subject: Problem when complie the src on win32 use MSVC6
Date: Sat, 30 Jun 2001 02:06:19 +0800

 Error when  complie the src on win32 use MSVC6:

 
//////////////////////////////////////////////////////////////////////////////////////////////
 
 make[1]: Entering directory 
`/cygdrive/d/Devel/prolog/gprolog/gprolog-1.2.1/src/BipsPl'
 gplc -c foreign.wam
 \gplc3.asm:5: panic: internal instruction table corrupt: instruction code 0x84 
given
 
 
//////////////////////////////////////////////////////////////////////////////////////////////
 
 
 Details:
 
 I download gprolog-1.2.1 source code and want to use msvc6 build it(under 
cygwin of course).
 I use these command:
 1. ./configure --with-msvc --disable-sockets
 2. make
 
 At first, I get a error about "_stat" redefined error in file top_comp.c, when 
I remove "include <sys/stat.h>", this error gone.
 Second, cl report that cpp_headers.c has a error (line. 151), so I change the 
source to :
 
 stop_skip_comment:
 #ifndef REMOVE_COMMENTS
          skip_comment=0;
 #else
  skip_comment = skip_comment;
 #endif
 
 this error gone.
 
 then another error occurs:
     In Makefile(src/EnginePl/) line. 59:
         $(TOP_LEVEL).h: headers.h cpp_headers
          D=`(cd ..;for i in *;do test -d $$i && X="$$X 
$(ROOT_DIR)/src/$$i";done;echo $$X)`; ./cpp_headers headers.h $(TOP_LEVEL).h $$D
     
     cl told me that it can`t locate the file headers.h, so I change it to :
     In Makefile(src/EnginePl/) line. 59:
         $(TOP_LEVEL).h: headers.h cpp_headers
          D=`(cd ..;for i in *;do test -d $$i && X="$$X 
$(ROOT_DIR)/src/$$i";done;echo $$X)`; ./cpp_headers 
$(ROOT_DIR)/src/EnginePl/headers.h $(TOP_LEVEL).h $$D
 
     error gone.
 
 Then I get the error :
 
//////////////////////////////////////////////////////////////////////////////////////////////
 
 make[1]: Entering directory 
`/cygdrive/d/Devel/prolog/gprolog/gprolog-1.2.1/src/BipsPl'
 gplc -c foreign.wam
 \gplc3.asm:5: panic: internal instruction table corrupt: instruction code 0x84 
given
 
 
//////////////////////////////////////////////////////////////////////////////////////////////
 
 Pls help me!
 Thanks a lot.
 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]