I'm back at compiling Pike on Windows, this time I'm using VC6; but I'm still having problems with main.c from 7.7 CVS. Apparently I had previously hacked up main.c in order to get things to compile, but things should probably work from CVS, right? :)
Anyhow, here's the error:
C:\msys\1.0\home\e10401\7.7\src\main.c(168) : error C2372: 'init_pike' : redefinition; different types of indirection C:\msys\1.0\home\e10401\7.7\src\pike_embed.h(44) : see declaration of 'init_pike' C:\msys\1.0\home\e10401\7.7\src\main.c(169) : error C2372: 'init_pike_runtime' : redefinition; different types of indirection C:\msys\1.0\home\e10401\7.7\src\pike_embed.h(47) : see declaration of 'init_pike_runtime' C:\msys\1.0\home\e10401\7.7\src\main.c(261) : error C2065: 'libpike_name' : undeclared identifier C:\msys\1.0\home\e10401\7.7\src\main.c(261) : error C2065: 'RTLD_NOW' : undeclared identifier C:\msys\1.0\home\e10401\7.7\src\main.c(261) : warning C4047: '=' : 'void *' differs in levels of indirection from 'int ' C:\msys\1.0\home\e10401\7.7\src\main.c(262) : warning C4047: 'initializing' : 'const char *' differs in levels of indirection from 'int ' C:\msys\1.0\home\e10401\7.7\src\main.c(278) : warning C4047: '=' : 'void (__cdecl *)(char ** ,const char *)' differs in levels of indirection from 'int ' C:\msys\1.0\home\e10401\7.7\src\main.c(278) : error C2106: '=' : left operand must be l-value C:\msys\1.0\home\e10401\7.7\src\main.c(278) : warning C4047: '=' : 'void (__cdecl *)(char ** ,const char *)' differs in levels of indirection from 'int ' C:\msys\1.0\home\e10401\7.7\src\main.c(278) : error C2106: '=' : left operand must be l-value C:\msys\1.0\home\e10401\7.7\src\main.c(279) : warning C4047: '=' : 'void (__cdecl *)(void (__cdecl *)(int ))' differs in levels of indirection from 'int ' C:\msys\1.0\home\e10401\7.7\src\main.c(279) : error C2106: '=' : left operand must be l-value C:\msys\1.0\home\e10401\7.7\src\main.c(279) : warning C4047: '=' : 'void (__cdecl *)(void (__cdecl *)(int ))' differs in levels of indirection from 'int ' C:\msys\1.0\home\e10401\7.7\src\main.c(279) : error C2106: '=' : left operand must be l-value C:\msys\1.0\home\e10401\7.7\src\main.c(280) : warning C4047: '=' : 'void (__cdecl *)(char *)' differs in levels of indirection from 'int ' C:\msys\1.0\home\e10401\7.7\src\main.c(280) : error C2106: '=' : left operand must be l-value C:\msys\1.0\home\e10401\7.7\src\main.c(280) : warning C4047: '=' : 'void (__cdecl *)(char *)' differs in levels of indirection from 'int ' C:\msys\1.0\home\e10401\7.7\src\main.c(280) : error C2106: '=' : left operand must be l-value CL returned error code 2. Compilation command was: /home/e10401/7.7/bin/smartlink rntcl -DPIKE_SRC_ROOT=/home/e10401/7.7 -I. -I/home/e10401/7.7/src -IC:/Progra~1/micros~3/vc98/include -IC:/Progra~1/thirdpartylibs/include -I/home/e10401/7.7/build/mingw32_nt-5.1-1.0.10_0.46_3_2_-i686/bundles/include -g -g3 -IC:/Progra~1/micros~3/vc98/include -IC:/Progra~1/thirdpartylibs/include -I/home/e10401/7.7/build/mingw32_nt-5.1-1.0.10_0.46_3_2_-i686/bundles/include -trapuv -c /home/e10401/7.7/src/main.c -o main.o
Any thoughts?
Bill
Right. I haven't run any Xenofarm clients for 7.7-win32 the last month or so since the testsuite hangs. Have a look around things like CAST_TO_FUN(dlsym(libpike, "_" TOSTR(symbol))) or wait for grubba to explain what the plan is.
pike-devel@lists.lysator.liu.se