[Vm-dev] Can't compile sqNamedPrims.c on linux

Derek O'Connell doconnel at gmail.com
Fri Jul 23 12:14:34 UTC 2010


On 23/07/10 12:31, Rob Withers wrote:
>
> I have checked out 2248 from subversion. In trying to build I hit this
> error. Anyone know what could be wrong?
>
> Thanks,
> Rob
>
> gcc -m32 -g -O2 -msse2 -D_GNU_SOURCE -DNDEBUG -DITIMER_HEARTBEAT=1
> -DNO_VM_PROFILE=1 -DCOGMTVM=0 -msse -DLSB_FIRST=1 -DHAVE_CONFIG_H
> -DSQUEAK_BUILTIN_PLUGIN
> -I/home1/vawhigso/public_html/squeakelib/cog-src/unixbuild/bld
> -I/home1/vawhigso/public_html/squeakelib/cog-src/unixbuild/bld
> -I/home1/vawhigso/public_html/squeakelib/cog-src/platforms/unix/vm
> -I/home1/vawhigso/public_html/squeakelib/cog-src/platforms/Cross/vm
> -I/home1/vawhigso/public_html/squeakelib/cog-src/src/vm
> -I/home1/vawhigso/public_html/squeakelib/cog-src/platforms/Cross/vm
> -I/home1/vawhigso/public_html/squeakelib/cog-src/platforms/unix/vm
> -I/home1/vawhigso/public_html/squeakelib/cog-src/src/vm
> -I/home1/vawhigso/public_html/squeakelib/cog-src/platforms/Cross/plugins/FilePlugin
> -I/home1/vawhigso/public_html/squeakelib/cog-src/platforms/unix/plugins/B3DAcceleratorPlugin
> -I/home1/vawhigso/public_html/squeakelib/cog-src/unixbuild/bld
> -I/home1/vawhigso/public_html/squeakelib/cog-src/unixbuild/bld
> -I/home1/vawhigso/public_html/squeakelib/cog-src/platforms/unix/vm
> -I/home1/vawhigso/public_html/squeakelib/cog-src/platforms/Cross/vm
> -I/home1/vawhigso/public_html/squeakelib/cog-src/src/vm -c -o
> sqNamedPrims.o/home1/vawhigso/public_html/squeakelib/cog-src/platforms/Cross/vm/sqNamedPrims.c/home1/vawhigso/public_html/squeakelib/cog-src/platforms/Cross/vm/sqNamedPrims.c:
> In function
> 'findInternalFunctionIn':/home1/vawhigso/public_html/squeakelib/cog-src/platforms/Cross/vm/sqNamedPrims.c:129:
> error: 'pluginExports' undeclared (first use in this
> function)/home1/vawhigso/public_html/squeakelib/cog-src/platforms/Cross/vm/sqNamedPrims.c:129:
> error: (Each undeclared identifier is reported only
> once/home1/vawhigso/public_html/squeakelib/cog-src/platforms/Cross/vm/sqNamedPrims.c:129:
> error: for each function it appears
> in.)/home1/vawhigso/public_html/squeakelib/cog-src/platforms/Cross/vm/sqNamedPrims.c:
> In function
> 'ioListBuiltinModule':/home1/vawhigso/public_html/squeakelib/cog-src/platforms/Cross/vm/sqNamedPrims.c:473:
> error: 'pluginExports' undeclared (first use in this function)make[1]:
> *** [sqNamedPrims.o] Error 1make: *** [vm/vm.a] Error 2

Does sqNamedPrims.h exist in your build directory?


More information about the Vm-dev mailing list