Hullo,
I tried updating my version of chromium via cvs just now, and I get the following error. Has anyone else come across this? Thanks!
Linking ..//built/crstate/WIN_NT/crstate.dll state.def : error LNK2001: unresolved external symbol __currentContext ..//built/crstate/WIN_NT/crstate.lib : fatal error LNK1120: 1 unresolved externals LINK : fatal error LNK1141: failure during build of exports file make[3]: *** [..//built/crstate/WIN_NT/crstate.dll] Error 2 make[2]: *** [dep] Error 2 make[1]: *** [state_tracker.subdir] Error 2 make: *** [threadsafe] Error 2
Well, I did the following to fix the error, but I don't know if it was the best solution.
In my copy of state_init.c, I changed (starting from line 13):
#ifdef CHROMIUM_THREADSAFE CRtsd __contextTSD; #else CRContext *__currentContext = NULL; #endif
to:
#ifdef CHROMIUM_THREADSAFE CRtsd __contextTSD; #endif CRContext *__currentContext = NULL;
Again, this might not be the best way, but it works as a quick fix in the meantime.
Log in to post a comment.
Hullo,
I tried updating my version of chromium via cvs just now, and I get the following error. Has anyone else come across this? Thanks!
Linking ..//built/crstate/WIN_NT/crstate.dll
state.def : error LNK2001: unresolved external symbol __currentContext
..//built/crstate/WIN_NT/crstate.lib : fatal error LNK1120: 1 unresolved externals
LINK : fatal error LNK1141: failure during build of exports file
make[3]: *** [..//built/crstate/WIN_NT/crstate.dll] Error 2
make[2]: *** [dep] Error 2
make[1]: *** [state_tracker.subdir] Error 2
make: *** [threadsafe] Error 2
Well, I did the following to fix the error, but I don't know if it was the best solution.
In my copy of state_init.c, I changed (starting from line 13):
#ifdef CHROMIUM_THREADSAFE
CRtsd __contextTSD;
#else
CRContext *__currentContext = NULL;
#endif
to:
#ifdef CHROMIUM_THREADSAFE
CRtsd __contextTSD;
#endif
CRContext *__currentContext = NULL;
Again, this might not be the best way, but it works as a quick fix in the meantime.