Well, I think I figured out how to crosscompile libgc 6.4 for the win32 compile. However, I can't seem to link the win32 version any more. I'm very confused...
main.o(.text+0x3b0):main.cpp: undefined reference to `sp_repr_document_root(SPReprDoc const*)' main.o(.text+0x3e3):main.cpp: undefined reference to `sp_repr_document(SPRepr const*)' main.o(.text+0x737):main.cpp: undefined reference to `sp_repr_attr(SPRepr const*, char const*)' main.o(.text+0x750):main.cpp: undefined reference to `sp_repr_attr(SPRepr const*, char const*)' main.o(.text+0xa2a):main.cpp: undefined reference to `sp_repr_attr(SPRepr const*, char const*)' main.o(.text+0xa57):main.cpp: undefined reference to `sp_repr_attr(SPRepr const*, char const*)' main.o(.text+0xb22):main.cpp: undefined reference to `sp_repr_attr(SPRepr const*, char const*)'
Is this the result hiding functions into object methods? Updating the ming file lists didn't help. (And this seems to have broken the autobuilds on the 26th?)
On Fri, Jan 28, 2005 at 07:39:55PM -0800, Kees Cook wrote:
Is this the result hiding functions into object methods? Updating the
Okay, I spoke too soon, I got it figured out. Looks like ming doesn't like the inlined virtual functions or something. I replaced the function calls with object method calls, and it compiled.
Kees Cook wrote:
On Fri, Jan 28, 2005 at 07:39:55PM -0800, Kees Cook wrote:
Is this the result hiding functions into object methods? Updating the
Okay, I spoke too soon, I got it figured out. Looks like ming doesn't like the inlined virtual functions or something. I replaced the function calls with object method calls, and it compiled.
Actually, I think that it is a bit simpler than that. The W32 build does not use automake/autoconf, of course. Main.cpp was left out of the dependency tree, because it has an 'int main()' function, and we need to avoid multiple definitions with it, Inkview, or whetever other client calls the Inkscape lib.
An unfortunate side-effect of this is that main.cpp is not aware of changes in the rest of the tree, so that an old main.o might be looking for things that no longer exist. Just delete main.o and recompile.
Bob
participants (2)
-
Bob Jamison
-
Kees Cook