[Mono-dev] Undefined static pointer link error
graham.newton at peavey-eu.com
Wed Sep 24 09:40:46 EDT 2008
I am trying to cross compile the latest trunk SVN checkout of mono. In
mono/utils/mono-value-hash.c line 69 there is this line of code:
static gpointer KEYMARKER_REMOVED = &KEYMARKER_REMOVED;
which never appears to be referenced anywhere else.
Apart from the fact that I have no idea what this is for or does, I get an
undefined symbol linker error.
Examining mono-value-hash.o shows this:
hacking the Makefile by hand to remove -O2 compiler switches
00000000 d KEYMARKER_REMOVED
My gcc version is
586-gcc (GCC) 4.2.0 20070126 (prerelease) (MontaVista 4.2.0-3.0.0.0702771
Can someone explain what KEYMARKER_REMOVED does and do similar problems
occur when compiling for other platforms?
View this message in context: http://www.nabble.com/Undefined-static-pointer-link-error-tp19649144p19649144.html
Sent from the Mono - Dev mailing list archive at Nabble.com.
More information about the Mono-devel-list