|
Now that I’ve gotten the fcp and reflect contrib
modules to work in Linux, and have reproduced some of Tobias Muller’s
results, I assumed that getting fcp and reflect to work on Windows (XP) would
be relatively straightforward. This was an invalid assumption. I’ve made progress by revamping the contrib/reflect/Makefile.in
to look more like the other makefiles in contrib, i.e. the ones that compile.
However, when trying to link reflect.so-$(PLATFORM), the linker keeps
complaining that the some of the object modules have undefined symbols. I’ve traced (some of) the undefined symbols to the
file platform/emulator/atoms.cc, which is compiled into emulator.dll. I’d like to compile reflect.so-$(PLATFORM) so that the
linker (ld) “looks at” emulator.dll for the symbols it requires. Does
anyone know the option (or procedure) for doing this? Here’s some of the output: OZTOOL_LD="g++ -mno-cygwin" \ c:/cygwin/home/hnine/WindowsNative/tmp/build/mozart-build/platform/mswindows/oztool.exe
ld –inc /home/hnine/WindowsNative/tmp/build/mozart-build/platform/emulator
-o reflect.so-win32-i486 reflect.o builtins.o reflect_prop.o reflect_var.o reflect_space.o
-L/home/hnine/WindowsNative/opt/packages/lib –lgmp builtins.o:builtins.cc:(.text+0xd1): undefined reference to
`typeError(int, char*, char*)' builtins.o:builtins.cc:(.text+0x180): undefined reference to
`oz_addSuspendVarList(unsigned int*)' builtins.o:builtins.cc:(.text+0x476): undefined reference to
`__StaticNameTable' TIA -- Harmon |
_________________________________________________________________________________ mozart-hackers mailing list [email protected] http://www.mozart-oz.org/mailman/listinfo/mozart-hackers
