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

Rob Withers reefedjib at yahoo.com
Sat Jul 24 06:36:25 UTC 2010


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: Eliot Miranda 
Sent: Saturday, July 24, 2010 2:29 AM
To: Squeak Virtual Machine Development Discussion 
Subject: Re: [Vm-dev] Can't compile sqNamedPrims.c on linux




--------------------------------------------------------------------------------





On Fri, Jul 23, 2010 at 5:16 AM, Rob Withers <reefedjib at 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 at gmail.com>
  Sent: Friday, July 23, 2010 8:14 AM
  To: "Squeak Virtual Machine Development Discussion" <vm-dev at 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? 



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20100724/15f996e5/attachment.htm


More information about the Vm-dev mailing list