On Fri, Jul 23, 2010 at 5:16 AM, Rob Withers reefedjib@yahoo.com wrote:
Ahh, yes but it is empty. It's in unixbuild/bld. What should I do?
grep for it in the generated unixbuild/bld/Makefile and you'll see it's created from unixbuild/bld/plugins.int. So have you truncated it or plugins.int? So check that plugins.int is OK and then delete sqNamedPrims.h and make should rebuild it.
From: "Derek O'Connell" doconnel@gmail.com Sent: Friday, July 23, 2010 8:14 AM To: "Squeak Virtual Machine Development Discussion" < vm-dev@lists.squeakfoundation.org> Subject: Re: [Vm-dev] Can't compile sqNamedPrims.c on linux
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?