Also, if I use this Makefile:

CC = gcc-4.2
CHICKEN_LIB = /usr/local/lib
LIB = /usr/lib
CHICKEN_INC = /usr/local/include

all:
        $(CC) -fPIC -g -c -m64 -I$(CHICKEN_INC) cython_chicken.c
        $(CC) -dynamiclib -m64 -L$(LIB) -lm -o libcython_chicken.dylib 
cython_chicken.o
        
I get this instead:

Undefined symbols:
  "_CHICKEN_eval_string_to_string", referenced from:
      _eval in cython_chicken.o
  "_CHICKEN_run", referenced from:
      _setup in cython_chicken.o
  "_C_toplevel", referenced from:
      _setup in cython_chicken.o

So where is C_toplevel defined?

_______________________________________________
Chicken-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to