[squeak-dev] Building CogVM on FreeBSD
fractallyte
fractallyte at csi.com
Mon Dec 6 08:04:13 UTC 2010
Hi!
I can't get this to work on FreeBSD 8.1... It's a fresh installation, nothing in /etc/make.conf
Here's the error:
"Makefile", line 270: warning: duplicate script for target "cogit.o" ignored
gcc -g -O2 -msse2 -DNDEBUG -DITIMER_HEARTBEAT=1 -DNO_VM_PROFILE=1 -DCOGMTVM=0 -DDEBUGVM=0 -msse -DLSB_FIRST=1 -DHAVE_CONFIG_H -DSQUEAK_BUILTIN_PLUGIN -I/root/CogVM/unixbuild/bld -I/root/CogVM/unixbuild/bld -I/root/CogVM/platforms/unix/vm -I/root/CogVM/platforms/Cross/vm -I/root/CogVM/src/vm -I/root/CogVM/platforms/Cross/vm -I/root/CogVM/platforms/unix/vm -I/root/CogVM/src/vm -I/root/CogVM/platforms/Cross/plugins/FilePlugin -I/root/CogVM/platforms/unix/plugins/B3DAcceleratorPlugin -I/root/CogVM/unixbuild/bld -I/root/CogVM/unixbuild/bld -I/root/CogVM/platforms/unix/vm -I/root/CogVM/platforms/Cross/vm -I/root/CogVM/src/vm -I/usr/local/include -c -o gcc3x-cointerp.o /root/CogVM/src/vm/gcc3x-cointerp.c
/root/CogVM/src/vm/gcc3x-cointerp.c:978: error: conflicting types for 'readImageFromFileHeapSizeStartingAt'
/root/CogVM/platforms/Cross/vm/sq.h:480: error: previous declaration of 'readImageFromFileHeapSizeStartingAt' was here
/root/CogVM/src/vm/gcc3x-cointerp.c:1340: warning: initialization from incompatible pointer type
/root/CogVM/src/vm/gcc3x-cointerp.c:1471: warning: initialization from incompatible pointer type
/root/CogVM/src/vm/gcc3x-cointerp.c: In function 'interpret':
/root/CogVM/src/vm/gcc3x-cointerp.c:1886: warning: ignoring asm-specifier for non-static local variable 'currentBytecode'
/root/CogVM/src/vm/gcc3x-cointerp.c:1888: warning: ignoring asm-specifier for non-static local variable 'localIP'
/root/CogVM/src/vm/gcc3x-cointerp.c:1890: warning: ignoring asm-specifier for non-static local variable 'localSP'
/root/CogVM/src/vm/gcc3x-cointerp.c: In function 'addNewMethodToCache':
/root/CogVM/src/vm/gcc3x-cointerp.c:8733: warning: assignment from incompatible pointer type
/root/CogVM/src/vm/gcc3x-cointerp.c:8751: warning: assignment from incompatible pointer type
/root/CogVM/src/vm/gcc3x-cointerp.c: In function 'callbackEnter':
/root/CogVM/src/vm/gcc3x-cointerp.c:9488: warning: assignment discards qualifiers from pointer target type
/root/CogVM/src/vm/gcc3x-cointerp.c:9489: warning: assignment discards qualifiers from pointer target type
/root/CogVM/src/vm/gcc3x-cointerp.c: In function 'highBit':
/root/CogVM/src/vm/gcc3x-cointerp.c:16134: warning: left shift count >= width of type
/root/CogVM/src/vm/gcc3x-cointerp.c:16135: warning: right shift count >= width of type
/root/CogVM/src/vm/gcc3x-cointerp.c: In function 'primitiveGetLogDirectory':
/root/CogVM/src/vm/gcc3x-cointerp.c:28104: warning: assignment makes pointer from integer without a cast
/root/CogVM/src/vm/gcc3x-cointerp.c: In function 'primitiveGetWindowLabel':
/root/CogVM/src/vm/gcc3x-cointerp.c:28223: warning: assignment makes pointer from integer without a cast
/root/CogVM/src/vm/gcc3x-cointerp.c: At top level:
/root/CogVM/src/vm/gcc3x-cointerp.c:37962: error: conflicting types for 'readImageFromFileHeapSizeStartingAt'
/root/CogVM/platforms/Cross/vm/sq.h:480: error: previous declaration of 'readImageFromFileHeapSizeStartingAt' was here
*** Error code 1
Stop in /root/CogVM/unixbuild/bld/vm.
*** Error code 1
Stop in /root/CogVM/unixbuild/bld.
Thanks,
Amir
--- In squeak at yahoogroups.com, Pierce Ng <pierce at ...> wrote:
>
> Hi,
>
> Here's how to build the Cog VM on FreeBSD.
> ...
More information about the Squeak-dev
mailing list
|