On Wed, Nov 23, 2011 at 8:01 AM, <[email protected]> wrote: > Hi All > > I've decided to learn some programming. I've been doing Smalltalk > programming for a short while but want to get more into > C/Perl/Javascript/etc. > I've decided to try and port CogVM (Or indeed, squeakvm-4) to OpenBSD. > I have been told by my close friend and a contributor to OpenBSD that I'll > run into the "Everything is Linux on x86" attitude. > So, I would like some guidance and help in order to learn to do this, so > that I may further contribute to OpenBSD in the future. > > So far I've got svn of latest CogVM > > svn co http://www.squeakvm.org/svn/squeak/branches/Cog/platforms > svn co http://www.squeakvm.org/svn/squeak/branches/Cog/src > svn co http://www.squeakvm.org/svn/squeak/branches/Cog/unixbuild > > I run the conifuration as layed out in the readme. > > ../../platforms/unix/config/configure --without-vm-display-fbdev > --without-npsqueak CFLAGS="-g -O2 -msse2 -D_GNU_SOURCE -DNDEBUG > -DITIMER_HEARTBEAT=1 -DNO_VM_PROFILE=1 -DCOGMTVM=0 -DDEBUGVM=0" > LIBS=-lpthread > > After it is successful I then make, which is where I run into problems. > gcc -g -O2 -msse2 -D_GNU_SOURCE -DNDEBUG -DITIMER_HEARTBEAT=1 > -DNO_VM_PROFILE=1 -DCOGMTVM=0 -DDEBUGVM=0 -msse -DLSB_FIRST=1 > -DHAVE_CONFIG_H -DSQUEAK_BUILTIN_PLUGIN -I/home/dusty/cogvm/unixbuild/bld > -I/home/dusty/cogvm/unixbuild/bld -I/home/dusty/cogvm/platforms/unix/vm > -I/home/dusty/cogvm/platforms/Cross/vm -I/home/dusty/cogvm/src/vm > -I/home/dusty/cogvm/platforms/Cross/vm -I/home/dusty/cogvm/platforms/unix/vm > -I/home/dusty/cogvm/src/vm > -I/home/dusty/cogvm/platforms/Cross/plugins/FilePlugin > -I/home/dusty/cogvm/platforms/unix/plugins/B3DAcceleratorPlugin > -I/home/dusty/cogvm/unixbuild/bld -I/home/dusty/cogvm/unixbuild/bld > -I/home/dusty/cogvm/platforms/unix/vm -I/home/dusty/cogvm/platforms/Cross/vm > -I/home/dusty/cogvm/src/vm -I/usr/X11R6/include -c -o sqUnixMain.o > /home/dusty/cogvm/platforms/unix/vm/sqUnixMain.c > /home/dusty/cogvm/platforms/unix/vm/sqUnixMain.c:62:23: error: execinfo.h: > No such file or directory
freebsd libexecinfo is in ports > /home/dusty/cogvm/platforms/unix/vm/sqUnixMain.c:133:23: error: SqDisplay.h: > No such file or directory > /home/dusty/cogvm/platforms/unix/vm/sqUnixMain.c: In function > 'imageNamePutLength': > > [..snip..] > > /home/dusty/cogvm/platforms/unix/vm/sqUnixMain.c: In function > 'ioExitWithErrorCode': > /home/dusty/cogvm/platforms/unix/vm/sqUnixMain.c:1782: error: dereferencing > pointer to incomplete type > *** Error code 1 > > Stop in /home/dusty/cogvm/unixbuild/bld/vm (line 267 of Makefile). > *** Error code 1 > > Stop in /home/dusty/cogvm/unixbuild/bld (line 406 of Makefile). > $ > > So, where to from here? Teach me that I may learn. > > Many Thanks. > Dusty > >
