Good evening,
I made some progress. I managed to load the following packages on my UbuntuMATE box:
* build-essentials * libgl1-mesa-dev * libglu1-mesa-dev * gcc-multilib
but I could not find i386 versions for the following:
* lib32asound2-dev * ia32-libs * g++multilib
I checked out the vm source, switched to build.linux32x86/squeak.cog.spur/build and ran ./mvm. Here are a couple errors from config.log. Any ideas what I might do?
Many thanks, Robert
gcc version 4.9.2 (Ubuntu 4.9.2-10ubuntu13) configure:2187: $? = 0 configure:2189: gcc -m32 -V </dev/null >&5 gcc: error: unrecognized command line option '-V' gcc: fatal error: no input files compilation terminated.
configure:2192: $? = 4 configure:2215: checking for C compiler default output file name configure:2218: gcc -m32 -g -O2 -DNDEBUG -DDEBUGVM=0 -msse2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DCOGMTVM=0 -Wl,-z,now conftest.c -lpthread -luuid >&5 /usr/bin/ld: cannot find -luuid collect2: error: ld returned 1 exit status configure:2221: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define SQ_VERSION ".-" | #define OS_TYPE "unix" | #define VM_HOST "i686-pc-linux-gnu" | #define VM_HOST_OS "linux-gnu" | #define VM_HOST_CPU "i686" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:2260: error: C compiler cannot create executables See `config.log' for more details.
Hoi Robert--
I don't think you need ia32-libs anymore, since you can now just ask for the :i386 version of arbitrary packages.
/usr/bin/ld: cannot find -luuid
I think you want package uuid-dev for that one. I find 'apt-cache search <asset name fragment>' to be the most useful way of finding which package provides an asset.
-C
-- Craig Latta netjam.org +31 6 2757 7177 (SMS ok) + 1 415 287 3547 (no SMS)
Hi Craig,
Thanks for your help to get past that one. I was able to load uuid-dev through the Ubuntu app and I compiled past that point.
I got to linking sqUnixFBDev.lo and hit this warning as error issue. I read somewhere about it but my research turned up nothing on it. Something to do with -O2, perhaps, or -Werror [-Werror=unused-value]? I'm not sure where to control these flags so I got stuck again.
I appreciate your help.
- Robert
In file included from /home/robert/warren/oscog/platforms/unix/vm-display-fbdev/sqUnixFBDev.c:43:0: /home/robert/warren/oscog/platforms/unix/vm/sqUnixEvent.c: In function 'display_ioGetNextEvent': /home/robert/warren/oscog/platforms/Cross/vm/sq.h:521:31: error: statement with no effect [-Werror=unused-value] # define LogEventChain(parms) 0 ^ /home/robert/warren/oscog/platforms/unix/vm/sqUnixEvent.c:269:3: note: in expansion of macro 'LogEventChain' LogEventChain((dbgEvtChF,"ioGNE%s",iebEmptyP()?"_":"!\n")); ^ cc1: all warnings being treated as errors Makefile:195: recipe for target 'sqUnixFBDev.lo' failed make[1]: *** [sqUnixFBDev.lo] Error 1 Makefile:519: recipe for target 'vm-display-fbdev.la' failed make: *** [vm-display-fbdev.la] Error 2
On 10/12/2015 03:27 AM, Craig Latta wrote:
Hoi Robert--
I don't think you need ia32-libs anymore, since you can now just
ask for the :i386 version of arbitrary packages.
/usr/bin/ld: cannot find -luuid
I think you want package uuid-dev for that one. I find 'apt-cache
search <asset name fragment>' to be the most useful way of finding which package provides an asset.
-C
-- Craig Latta netjam.org +31 6 2757 7177 (SMS ok)
- 1 415 287 3547 (no SMS)
I just tried making squeak.cog.spur after getting my environment able to build pharo and I continue to see this error:
In file included from /home/robert/warren/oscog/platforms/unix/vm-display-fbdev/sqUnixFBDev.c:107:0: /home/robert/warren/oscog/platforms/unix/vm/sqUnixEvent.c: In function 'display_ioGetNextEvent': /home/robert/warren/oscog/platforms/unix/vm/sqUnixEvent.c:269:3: error: statement with no effect [-Werror=unused-value] cc1: all warnings being treated as errors Makefile:195: recipe for target 'sqUnixFBDev.lo' failed make[1]: *** [sqUnixFBDev.lo] Error 1 Makefile:522: recipe for target 'vm-display-fbdev.la' failed make: *** [vm-display-fbdev.la] Error 2
I appreciate your help.
Regards, Robert
On 10/12/2015 05:15 AM, Robert Withers wrote:
Hi Craig,
Thanks for your help to get past that one. I was able to load uuid-dev through the Ubuntu app and I compiled past that point.
I got to linking sqUnixFBDev.lo and hit this warning as error issue. I read somewhere about it but my research turned up nothing on it. Something to do with -O2, perhaps, or -Werror [-Werror=unused-value]? I'm not sure where to control these flags so I got stuck again.
I appreciate your help.
Robert
In file included from /home/robert/warren/oscog/platforms/unix/vm-display-fbdev/sqUnixFBDev.c:43:0: /home/robert/warren/oscog/platforms/unix/vm/sqUnixEvent.c: In function 'display_ioGetNextEvent': /home/robert/warren/oscog/platforms/Cross/vm/sq.h:521:31: error: statement with no effect [-Werror=unused-value] # define LogEventChain(parms) 0 ^ /home/robert/warren/oscog/platforms/unix/vm/sqUnixEvent.c:269:3: note: in expansion of macro 'LogEventChain' LogEventChain((dbgEvtChF,"ioGNE%s",iebEmptyP()?"_":"!\n")); ^ cc1: all warnings being treated as errors Makefile:195: recipe for target 'sqUnixFBDev.lo' failed make[1]: *** [sqUnixFBDev.lo] Error 1 Makefile:519: recipe for target 'vm-display-fbdev.la' failed make: *** [vm-display-fbdev.la] Error 2
On 10/12/2015 03:27 AM, Craig Latta wrote:
Hoi Robert--
I don't think you need ia32-libs anymore, since you can now just
ask for the :i386 version of arbitrary packages.
/usr/bin/ld: cannot find -luuid
I think you want package uuid-dev for that one. I find 'apt-cache
search <asset name fragment>' to be the most useful way of finding which package provides an asset.
-C
-- Craig Latta netjam.org +31 6 2757 7177 (SMS ok)
- 1 415 287 3547 (no SMS)
Please disregard this message. I got it built and I am updating the trunk image.
Thank You, Robert
On 10/18/2015 01:29 AM, Robert Withers wrote:
I just tried making squeak.cog.spur after getting my environment able to build pharo and I continue to see this error:
In file included from /home/robert/warren/oscog/platforms/unix/vm-display-fbdev/sqUnixFBDev.c:107:0:
/home/robert/warren/oscog/platforms/unix/vm/sqUnixEvent.c: In function 'display_ioGetNextEvent': /home/robert/warren/oscog/platforms/unix/vm/sqUnixEvent.c:269:3: error: statement with no effect [-Werror=unused-value] cc1: all warnings being treated as errors Makefile:195: recipe for target 'sqUnixFBDev.lo' failed make[1]: *** [sqUnixFBDev.lo] Error 1 Makefile:522: recipe for target 'vm-display-fbdev.la' failed make: *** [vm-display-fbdev.la] Error 2
I appreciate your help.
Regards, Robert
On 10/12/2015 05:15 AM, Robert Withers wrote:
Hi Craig,
Thanks for your help to get past that one. I was able to load uuid-dev through the Ubuntu app and I compiled past that point.
I got to linking sqUnixFBDev.lo and hit this warning as error issue. I read somewhere about it but my research turned up nothing on it. Something to do with -O2, perhaps, or -Werror [-Werror=unused-value]? I'm not sure where to control these flags so I got stuck again.
I appreciate your help.
Robert
In file included from
/home/robert/warren/oscog/platforms/unix/vm-display-fbdev/sqUnixFBDev.c:43:0:
/home/robert/warren/oscog/platforms/unix/vm/sqUnixEvent.c: In function 'display_ioGetNextEvent': /home/robert/warren/oscog/platforms/Cross/vm/sq.h:521:31: error: statement with no effect [-Werror=unused-value] # define LogEventChain(parms) 0 ^ /home/robert/warren/oscog/platforms/unix/vm/sqUnixEvent.c:269:3: note: in expansion of macro 'LogEventChain' LogEventChain((dbgEvtChF,"ioGNE%s",iebEmptyP()?"_":"!\n")); ^ cc1: all warnings being treated as errors Makefile:195: recipe for target 'sqUnixFBDev.lo' failed make[1]: *** [sqUnixFBDev.lo] Error 1 Makefile:519: recipe for target 'vm-display-fbdev.la' failed make: *** [vm-display-fbdev.la] Error 2
On 10/12/2015 03:27 AM, Craig Latta wrote:
Hoi Robert--
I don't think you need ia32-libs anymore, since you can now just
ask for the :i386 version of arbitrary packages.
/usr/bin/ld: cannot find -luuid
I think you want package uuid-dev for that one. I find 'apt-cache
search <asset name fragment>' to be the most useful way of finding which package provides an asset.
-C
-- Craig Latta netjam.org +31 6 2757 7177 (SMS ok)
- 1 415 287 3547 (no SMS)
vm-dev@lists.squeakfoundation.org