August 25, 2003
Hallo NG,

I've created a shared object that lacks these symbols:

undefined symbol: _D9invariant12_d_invariantFC6ObjectZv (./libDFrontend.so.1)
undefined symbol: _d_newclass	(./libDFrontend.so.1)
undefined symbol: _d_delclass	(./libDFrontend.so.1)
undefined symbol: _d_assert	(./libDFrontend.so.1)
undefined symbol: _D6object6Object5printFZv	(./libDFrontend.so.1)
undefined symbol: _D6object6Object8toStringFZAa	(./libDFrontend.so.1)
undefined symbol: _D6object6Object6toHashFZk	(./libDFrontend.so.1)
undefined symbol: _D6object6Object3cmpFC6ObjectZi	(./libDFrontend.so.1)
undefined symbol: _D6object6Object2eqFC6ObjectZi	(./libDFrontend.so.1)
undefined symbol: _vtbl_9ClassInfo	(./libDFrontend.so.1)
undefined symbol: _Class_6Object	(./libDFrontend.so.1)
undefined symbol: _Interface_7modules14FrontendModule	(./libDFrontend.so.1)

If I try to link against libphobos there is an undefined symbol _d_throw@4

I'm using this Makefile:

FILES = init.o
DFLAGS = -I/usr/local/lib/phobos

all:DFrontend

DFrontend: libDFrontend.so.1

libDFrontend.so.1: $(FILES)
		ld -shared $+ -o libDFrontend.so.1

%.o: %.d
		dmd -c $+ $(DFLAGS) -I../../../

What do I have to do?

Stephan

August 26, 2003
I haven't figured out the mysteries of supporting shared objects in the code generator yet. sorry!

"Stephan Wienczny" <wienczny@web.de> wrote in message news:bidmp3$1p3n$1@digitaldaemon.com...
> Hallo NG,
>
> I've created a shared object that lacks these symbols: