c++ -o miniparrot -L/usr/local/lib -Wl,-E compilers/imcc/main.o \
-Wl,-rpath=/home/klaas/parrot/blib/lib -L/home/klaas/parrot/blib/lib
-lparrot -lnsl -ldl -lm -lcrypt -lutil -lpthread -lrt -lgmp
src/null_config.o
compilers/imcc/main.o(.text+0xd85): In function `main':
compilers/imcc/main.c:494: undefined reference to `imc_yyin_set'
compilers/imcc/main.o(.text+0xe03):compilers/imcc/main.c:504: undefined
reference to `imc_yyin_set'
compilers/imcc/main.o(.text+0xfcf):compilers/imcc/main.c:551: undefined
reference to `imc_yyin_get'
compilers/imcc/main.o(.text+0x1125):compilers/imcc/main.c:580: undefined
reference to `imc_yyin_get'
compilers/imcc/main.o(.text+0x118b):compilers/imcc/main.c:591: undefined
reference to `imc_yyin_get'
collect2: ld returned 1 exit status
gmake: *** [miniparrot] Error 1
klaas@jerry:~/parrot$
imc.c is compiled, and the Makefile looks ok too.
regards,
klaas-jan
correction: it seems the file "imc.o" is not linked at the Parrot and
Miniparrot targets in the Makefile
(line ~800).
regards,
klaas-jan
Larry
Maybe because I had LD_LIBRARY_PATH=/usr/local/lib so that pugs would run?
Larry
Solution may be to have the full path to libparrot in the link line, to
ensure we get the right one. Thoughts, anyone?
Thanks,
Jonathan