I've nearly got my first Eiffel program with an embedded parrot VM to compile
- well, actually, it DOES compile, just one remaining link problem,
which I can't figure out:

gcc -o hello -O2 -m486 -pipe  
-I/opt/Eiffel55/studio/spec/linux-glibc2.1/include -I. 
-I/home/colin/parrot/include -I/home/colin/eParrot/manual_wrapper/c/include 
-I/home/colin/eParrot/generated_wrapper/c/include 
-I/home/colin/eParrot/generated_wrapper/c/include/spec/ise   C4/Cobj4.o 
C3/Cobj3.o C2/Cobj2.o C1/Cobj1.o E2/Eobj2.o E1/Eobj1.o E1/emain.o \
        /home/colin/parrot/blib/lib/libparrot.a -lresolv -lnsl -ldl -lm -lcrypt 
-lutil -lpthread -lrt -lgmp 
/opt/Eiffel55/studio/spec/linux-glibc2.1/lib/libfinalized.a -lm
/home/colin/parrot/blib/lib/libparrot.a(global_setup.o)(.text+0xd): In function 
`create_config_hash':
src/global_setup.c:33: undefined reference to `parrot_get_config_string'
collect2: ld returned 1 exit status
make: *** [hello] Error 1

It's that:

src/global_setup.c:33: undefined reference to `parrot_get_config_string'

which I can't figure out. It's decalred in library.h, and called from
the line quoted, but I can't find it's definition in src or
include/parrot.

Can anyone tell me what I'm missing?
-- 
Colin Adams
Preston Lancashire

Reply via email to