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 |
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? |
Ahh, yes but it is empty. It's in unixbuild/bld. What should I do? -------------------------------------------------- From: "Derek O'Connell" <[hidden email]> Sent: Friday, July 23, 2010 8:14 AM To: "Squeak Virtual Machine Development Discussion" <[hidden email]> 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? |
On 23/07/10 13:16, Rob Withers wrote: > > Ahh, yes but it is empty. It's in unixbuild/bld. What should I do? > I'm about to disappear for a few hours so best I can offer is another guess: check the file that specifies which plugin's are built-in (sorry I don't have access to my build mc atm). |
In reply to this post by Rob Withers
On Fri, Jul 23, 2010 at 5:16 AM, Rob Withers <[hidden email]> wrote:
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.
|
What happened, if I remember correctly, is that I
did an svn from squeakvm.org and it created shell scripts with permissions
644. I ran make and it bombed on mkNamedPrims. I chmoded to 755 the
various scripts including mkNamedPrims and ran it. Bombed on empty
sqNamedPrims.h. Wrote email. Deleted sqNamedPrims.h and it
regenerated it and it worked.
Thanks,
Rob
From: [hidden email]
Sent: Saturday, July 24, 2010 2:29 AM
To: [hidden email]
Subject: Re: [Vm-dev] Can't compile sqNamedPrims.c on
linux
On Fri, Jul 23, 2010 at 5:16 AM, Rob Withers <[hidden email]> wrote:
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.
|
Free forum by Nabble | Edit this page |