[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pnet-developers] compile pnet with --disable-tools
From: |
Lothar Heinrich |
Subject: |
[Pnet-developers] compile pnet with --disable-tools |
Date: |
Thu, 08 Mar 2007 21:03:51 +0100 |
Hello,
I tried to compile pnet (cvs update at 2007.03.08) with the
--disable-tools switch.
"Normal" configuration with PNET_TOOLS works.
After "./auto_gen.sh" and "./configure.sh --disable-tools" I called
make":
...
gcc -I../libgc/include -I../libffi/include -fno-gcse
-fno-inline-functions -fno-unit-at-a-time -I../include
-I../libffi/include -I../support/ -I. -DIL_WITHOUT_TOOLS -Os -g -O2
-Wall -o ilrun ilrun.o
libILEngine.a ../image/libILImage.a ../support/libILSupport.a
../libffi/.libs/libffi.a ../libgc/.libs/libgc.a -lz -lnsl -ldl -lm -lpthread
libILEngine.a(debugger.o): In function `DumpMethod':
pnet/engine/debugger.c:453: undefined reference to
`ILMethodDefinitionFlags'
pnet/engine/debugger.c:453: undefined reference to `ILDumpFlags'
pnet/engine/debugger.c:455: undefined reference to `ILDumpMethodType'
pnet/engine/debugger.c:458: undefined reference to
`ILMethodImplementationFlags'
pnet/engine/debugger.c:458: undefined reference to `ILDumpFlags'
libILEngine.a(debugger.o): In function `ShowDasm':
pnet/engine/debugger.c:1735: undefined reference to `_ILDumpCVMInsn'
libILEngine.a(debugger.o): In function `ShowIldasm':
pnet/engine/debugger.c:1774: undefined reference to `ILDAsmDumpMethod'
collect2: ld returned 1 exit status
...
How could I eliminate this error?
I tried to modify engine/Makefile.am to:
if PNET_TOOLS
...
else
ilrun_SOURCES = ilrun.c
ilrun_LDADD = libILEngine.a ../dumpasm/libILDumpAsm.a \
^^^^^^^^^^^^^^^^^^^^^^^^^
../image/libILImage.a ../support/libILSupport.a \
$(PACKAGE_LIBS) $(TERMCAPLIBS) $(JIT_LIBS)
...
endif
This results in one remaining error:
libILEngine.a(debugger.o): In function `ShowDasm':
pnet/engine/debugger.c:1735: undefined reference to `_ILDumpCVMInsn'
...
Greets from Graz/Austria
Lothar Heinrich
- [Pnet-developers] compile pnet with --disable-tools,
Lothar Heinrich <=