[mps-discussion] compiling release 1.106.1 on linux

Jorge josp at tol-project.org
Tue Mar 7 09:21:06 GMT 2006


Hello, I have downloaded 
http://www.ravenbrook.com/project/mps/release/1.106.1/mps-kit-1.106.1.tar.gz.

As my linux and compiler are:

"Linux arnau 2.6.11.4-21.8-default #1 Tue Jul 19 12:42:37 UTC 2005 i686 i686 
i386 GNU/Linux"

"cc (GCC) 3.3.5 20050117 (prerelease) (SUSE Linux)"

I used lii4gc.gmk for compiling the code. But I got an error when compiling 
"lii4gc: lii4gc/hi/libcbt"

lii4gc/hi/mpsliban.o(.text+0x0): In function `mps_lib_get_EOF':
/usr/local/src/MemoryManager/mps-kit-1.106.1/code/mpsliban.c:57: multiple 
definition of `mps_lib_get_EOF'
lii4gc/hi/mpslibcb.o(.text+0x2c2):/usr/local/src/MemoryManager/mps-kit-1.106.1/code/mpslibcb.c:243: 
first defined here

in mpslibcb.c:

int mps_lib_get_EOF(void)
{
  return mps_lib_callback_global.lib_get_EOF();
}

in mspliban.c:

int mps_lib_get_EOF(void)
{
  return EOF;
}

I think the object file "mspliban.o" should not be included in "libcbt", is it 
possible?

best regards,

Jorge Suit



More information about the MPS-discussion mailing list