dotgnu-pnet
[Top][All Lists]
Advanced

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

Re: [Pnet-developers] compile pnet with --disable-tools


From: Radek Polak
Subject: Re: [Pnet-developers] compile pnet with --disable-tools
Date: Mon, 12 Mar 2007 09:43:33 +0100
User-agent: Thunderbird 1.5.0.10 (Windows/20070221)

Fixed in CVS now

Radek

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 mailing list
address@hidden
http://dotgnu.org/mailman/listinfo/pnet-developers





reply via email to

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