On 15/10/08 Andy Dougherty said: > > No file by that name on the box anywhere. > > Are you *sure*? I don't know exactly what name you searched for, nor how > you searched for it, but this is just the sort of error message I'd expect > to see if you did have an old libparrot.so somewhere else on your system.
I'm building in /home/msoulier/temp/parrot. So, I ran updatedb followed by "locate libparrot". All the hits can from under that directory. locate libparrot /home/msoulier/temp/parrot/ports/cygwin/.svn/text-base/libparrot0.hint.svn-base /home/msoulier/temp/parrot/ports/cygwin/.svn/text-base/libparrot-devel.hint.svn-base /home/msoulier/temp/parrot/ports/cygwin/.svn/prop-base/libparrot0.hint.svn-base /home/msoulier/temp/parrot/ports/cygwin/.svn/prop-base/libparrot-devel.hint.svn-base /home/msoulier/temp/parrot/ports/cygwin/libparrot0.hint /home/msoulier/temp/parrot/ports/cygwin/libparrot-devel.hint /home/msoulier/temp/parrot/ports/debian/.svn/text-base/libparrot-dev.install.svn-base /home/msoulier/temp/parrot/ports/debian/.svn/text-base/libparrot.install.svn-base /home/msoulier/temp/parrot/ports/debian/.svn/text-base/libparrot-dev.dirs.svn-base /home/msoulier/temp/parrot/ports/debian/libparrot-dev.install /home/msoulier/temp/parrot/ports/debian/libparrot.install /home/msoulier/temp/parrot/ports/debian/libparrot-dev.dirs /home/msoulier/temp/parrot/t/steps/.svn/text-base/inter_libparrot-01.t.svn-base /home/msoulier/temp/parrot/t/steps/.svn/prop-base/inter_libparrot-01.t.svn-base /home/msoulier/temp/parrot/t/steps/inter_libparrot-01.t /home/msoulier/temp/parrot/config/inter/.svn/text-base/libparrot.pm.svn-base /home/msoulier/temp/parrot/config/inter/.svn/prop-base/libparrot.pm.svn-base /home/msoulier/temp/parrot/config/inter/libparrot.pm > To be specific: The first 'undefined reference' is to Parrot_new. It > should be in src/embed.o and also in blib/lib/libparrot.so. What do you > get for the following commands: > > nm src/embed.o | grep 'Parrot_new$' > nm blib/lib/libparrot.so | grep 'Parrot_new$' [EMAIL PROTECTED]:~/temp/parrot$ nm src/embed.o | grep 'Parrot_new$' 00000000 T Parrot_new [EMAIL PROTECTED]:~/temp/parrot$ nm blib/lib/libparrot.so | grep 'Parrot_new$' 000defc0 t Parrot_new Link path problem? I'm not overriding with LD_LIBRARY_PATH... I tried from scratch and got the same. /usr/bin/perl tools/build/parrot_config_c.pl --mini > \ src/null_config.c src/null_config.c gcc -o miniparrot src/main.o src/null_config.o \ -Wl,-rpath=/home/msoulier/temp/parrot/blib/lib -L/home/msoulier/temp/parrot/blib/lib -lparrot -lresolv -lnsl -ldl -lm -lcrypt -lutil -lpthread -lrt -lgmp -lreadline -lncurses -lcrypto -L/usr/local/lib -Wl,-E src/main.o(.text+0x5c): In function `main': src/main.c:52: undefined reference to `Parrot_new' src/main.o(.text+0x6a):src/main.c:53: undefined reference to `imcc_initialize' src/main.o(.text+0x86):src/main.c:58: undefined reference to `string_from_cstring' src/main.o(.text+0x95):src/main.c:58: undefined reference to `Parrot_set_executable_name' src/main.o(.text+0xae):src/main.c:60: undefined reference to `parseflags' src/main.o(.text+0xd1):src/main.c:61: undefined reference to `imcc_run' src/main.o(.text+0xdf):src/main.c:65: undefined reference to `Parrot_destroy' src/main.o(.text+0xf2):src/main.c:66: undefined reference to `Parrot_exit' src/null_config.o(.text+0x25): In function `Parrot_set_config_hash': src/null_config.c:29: undefined reference to `Parrot_set_config_hash_internal' collect2: ld returned 1 exit status make: *** [miniparrot] Error 1 There is another perl in my path, but this is invoking /usr/bin/perl explicitely. Mike -- Michael P. Soulier <[EMAIL PROTECTED]> "Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction." --Albert Einstein
pgpwcrqJDA8Vm.pgp
Description: PGP signature