This is the mail archive of the
guile@sourceware.cygnus.com
mailing list for the Guile project.
Help: guile-oops-0.1.2 doesn't compile
- To: guile at sourceware dot cygnus dot com
- Subject: Help: guile-oops-0.1.2 doesn't compile
- From: "Di Profio, Ugo" <diprofio at sony dot de>
- Date: Wed, 29 Sep 1999 07:00:18 +0200
Hallo
I'd like some help to compile GOOPS. Here's the story:
Configuration:
I have guile 1.3 installed on the network and guile 1.3.4pre installed
locally on my machine (all machines are Sun Solaris). I added the local
installation path to LD_LIBRARY_PATH and aliased guile to the local one. I
have no problem compiling and running C programs with Guile interface.
Problem:
I downloaded guile-oops-0.1.2.tar.gz and run "./configure" which built a
Makefile with "prefix", "xxCFLAGS" and "xxLDFLAGS" 'pointing' to the network
guile (same default values as for guile's configure script, I guess). I
changed those vars to point the local installation and run "make install".
I'm getting the following errors when compiling goops.c:
/bin/sh ./libtool --mode=compile gcc -I. -I. -g -O2 -Wall
-Wpointer-arith -Wmissing-prototypes
-I/home/ugo/guile-1.3.4/installation/include -c goops.c
rm -f .libs/goops.lo
gcc -I. -I. -g -O2 -Wall -Wpointer-arith -Wmissing-prototypes
-I/home/ugo/guile-1.3.4/installation/include -c -fPIC -DPIC goops.c -o
.libs/goops.lo
goops.c: In function `scm_sys_allocate_instance':
goops.c:1296: `scm_struct_i_proc' undeclared (first use in this function)
goops.c:1296: (Each undeclared identifier is reported only once
goops.c:1296: for each function it appears in.)
goops.c: In function `scm_apply_0_arity_method':
goops.c:1466: warning: implicit declaration of function `SCM_ENTITY_PROC_0'
goops.c:1466: invalid lvalue in assignment
goops.c: In function `clear_method_cache':
goops.c:1485: invalid lvalue in assignment
goops.c:1486: warning: implicit declaration of function `SCM_ENTITY_PROC_1'
goops.c:1486: invalid lvalue in assignment
goops.c:1487: warning: implicit declaration of function `SCM_ENTITY_PROC_2'
goops.c:1487: invalid lvalue in assignment
goops.c:1488: warning: implicit declaration of function `SCM_ENTITY_PROC_3'
goops.c:1488: invalid lvalue in assignment
goops.c: In function `scm_init_goops':
goops.c:2525: `scm_apply_generic_env' undeclared (first use in this
function)
goops.c:2546: warning: assignment from incompatible pointer type
make: *** [goops.lo] Error 1
I checked the guile's libguile/ChangLog and found:
1999-08-29 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
...
* objects.c, objects.h (scm_mcache_lookup_cmethod): Moved here
from eval.c; Support 0 arity methods.
(scm_set_object_procedure_x): Removed scm_sym_atdispatch;
---> (scm_apply_generic_env): Removed.
Replaced slots proc0-3 with procedure.
1998-12-15 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
Move the procedure slots of entities to invisible slots (so that
we can have operator class objects which themselves are entities).
---> * struct.h (scm_struct_i_proc, scm_struct_i_flags,
SCM_STRUCTF_ENTITY): New constants.
....
but I couldn't find "scm_struct_i_proc" in any of the .h or .c files.
What am I doing wrong?
Thanks
Ugo