Thanks Michael, your patch got me compiling, though not yet to a running
example:

[EMAIL PROTECTED]:~/src/vpri/idst/git-idst/object/examples/sqvm$ make
../idc -c File.st
../idc -c String-paths.st
../idc -c SqueakImage.st
../idc -c SqueakObject.st
../idc -c  -Wc,-w SqueakBitBlt.st
../idc -c SqueakIO.st
../idc -c Squeak.st
../idc -c Squeak-machine.st
../idc -c Squeak-bytecodes.st
../idc -c Squeak-primitives.st
../idc -c Squeak-debug.st
../idc -c SqueakProxy.st
../idc main.st File.o String-paths.o SqueakImage.o SqueakObject.o
SqueakBitBlt.o SqueakIO.o Squeak.o Squeak-machine.o Squeak-bytecodes.o
Squeak-primitives.o Squeak-debug.o SqueakProxy.o -L/usr/X11R6/lib -lX11
cc io-test.c -L/usr/X11R6/lib -lX11 -lm -o io-test

[EMAIL PROTECTED]:~/src/vpri/idst/git-idst/object/examples/sqvm$ ./main
mini.image
open: 'mini.image' flags: 0 mode: 0
headerSize        64
dataSize          598556
oldBaseAddr       79388336
specialObjectsOop 79516208
lastHash          62859
savedWindowSize   60949194
fullScreenFlag    0
extraVMMemory     0
swapped           Object
swap words...
swap bytes...
relocating pointers...
15288 objects in image
instantiate objects...
Bad arg to GC_general_register_disappearing_link
Aborted

[EMAIL PROTECTED]:~/src/vpri/idst/git-idst/object/examples/sqvm$ ./io-test
546 fps
494 fps
556 fps
528 fps
...

[EMAIL PROTECTED]:~/src/vpri/idst/git-idst/object/examples/sqvm$ ls -al
total 10432
drwxr-xr-x  2 fr fr    4096 2008-05-31 20:25 .
drwxr-xr-x 27 fr fr    4096 2008-05-30 23:41 ..
-rw-r--r--  1 fr fr  162671 2008-05-30 23:41 BitBltPlugin.c
-rw-r--r--  1 fr fr   77188 2008-05-31 20:24 File.o
-rw-r--r--  1 fr fr    5010 2008-05-30 23:41 File.st
-rw-r--r--  1 fr fr    3071 2008-05-30 23:41 io-cmap.h
-rw-r--r--  1 fr fr    1928 2008-05-30 23:41 io-common.c
-rw-r--r--  1 fr fr     391 2008-05-30 23:41 io-posix.c
-rwxr-xr-x  1 fr fr   19619 2008-05-31 20:25 io-test
-rw-r--r--  1 fr fr    2532 2008-05-30 23:41 io-test.c
-rw-r--r--  1 fr fr    8855 2008-05-30 23:41 io-x11.c
-rwxr-xr-x  1 fr fr 1969796 2008-05-31 20:25 main
-rw-r--r--  1 fr fr     219 2008-05-30 23:41 main.st
-rw-r--r--  1 fr fr    1019 2008-05-30 23:41 Makefile
-rw-r--r--  1 fr fr    2335 2008-05-30 23:41 mini.changes
-rw-r--r--  1 fr fr  598620 2008-05-30 23:41 mini.image
-rw-r--r--  1 fr fr  134336 2008-05-31 20:24 SqueakBitBlt.o
-rw-r--r--  1 fr fr     479 2008-05-30 23:41 SqueakBitBlt.st
-rw-r--r--  1 fr fr  215892 2008-05-31 20:24 Squeak-bytecodes.o
-rw-r--r--  1 fr fr   13131 2008-05-30 23:41 Squeak-bytecodes.st
-rw-r--r--  1 fr fr  225724 2008-05-31 20:25 Squeak-debug.o
-rw-r--r--  1 fr fr   11728 2008-05-30 23:41 Squeak-debug.st
-rw-r--r--  1 fr fr  127696 2008-05-31 20:24 SqueakImage.o
-rw-r--r--  1 fr fr   10030 2008-05-30 23:41 SqueakImage.st
-rw-r--r--  1 fr fr   52672 2008-05-31 20:24 SqueakIO.o
-rw-r--r--  1 fr fr    1446 2008-05-30 23:41 SqueakIO.st
-rw-r--r--  1 fr fr  161732 2008-05-31 20:24 Squeak-machine.o
-rw-r--r--  1 fr fr   17874 2008-05-30 23:41 Squeak-machine.st
-rw-r--r--  1 fr fr  190864 2008-05-31 20:24 Squeak.o
-rw-r--r--  1 fr fr  142600 2008-05-31 20:24 SqueakObject.o
-rw-r--r--  1 fr fr   11251 2008-05-30 23:41 SqueakObject.st
-rw-r--r--  1 fr fr  566048 2008-05-31 20:24 Squeak-primitives.o
-rw-r--r--  1 fr fr   46881 2008-05-30 23:41 Squeak-primitives.st
-rw-r--r--  1 fr fr   86328 2008-05-31 20:25 SqueakProxy.o
-rw-r--r--  1 fr fr    1887 2008-05-30 23:41 SqueakProxy.st
-rw-r--r--  1 fr fr   15547 2008-05-30 23:41 Squeak.st
-rw-r--r--  1 fr fr 5602467 2008-05-30 23:41 SqueakV2.sources
-rw-r--r--  1 fr fr   15824 2008-05-31 20:24 String-paths.o
-rw-r--r--  1 fr fr    1213 2008-05-30 23:41 String-paths.st
-rw-r--r--  1 fr fr   11360 2008-05-31 20:23 vmProxy.c
-rw-r--r--  1 fr fr    5588 2008-05-30 23:41 vmProxy.h


Michael FIG wrote:
> Hi,
> 
> Felix Rabe <[EMAIL PROTECTED]> writes:
> 
>> In file included from SqueakProxy.o.c:569:
>> vmProxy.c: In function ‘pop’:
>> vmProxy.c:17: warning: implicit declaration of function ‘_send’
>> make: *** [SqueakProxy.o] Error 1
> 
> I've fixed this error in my experimental Oean branch (see
> http://vpri.org/fonc_wiki/Sources).  Attached is what I believe is the
> relevant part of
> http://fig.org/ocean/.hg/patches/struct-send-fixes.patch
> 
> Good luck,
> 

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
fonc mailing list
[email protected]
http://vpri.org/mailman/listinfo/fonc

Reply via email to