On Tue, 1 Apr 2008, �~Xл�~L�~O wrote:

> Hi!
> I was done make realclean, svn up(and new checkout too), perl
> Cofigure.pl and new make many times before I send bug report.
> So, I done it again, but with same results :(
> Do you need any additional information about my system? anything else can 
> help?

> pbc_to_exe.o: In function `main':
> pbc_to_exe.c:(.text+0x64): undefined reference to `Parrot_set_executable_name'
> collect2: ld returned 1 exit status
> linking failed
> current instr.: 'link_file' pc 769 (pbc_to_exe.pir:369)
> called from Sub 'main' pc 124 (pbc_to_exe.pir:32)

Do you have a previously installed copy of libparrot somewhere where this 
version might be finding it?  Specifically, looking at your link command

> >  > cc -o pbc_to_exe pbc_to_exe.o -Wl,-E  -L/usr/local/lib -Wl,-E
> >  > -L/home/ihrd/svn/parrot/blib/lib -lparrot
> >  > -Wl,-rpath=/home/ihrd/svn/parrot/blib/lib -ldl -lm -lpthread -lcrypt
> >  > -lrt -lgmp -lreadline -lcrypto
> >  > /home/ihrd/svn/parrot/src/parrot_config.o

I see that /usr/local/lib is listed before ./blib/lib, so that an earlier 
copy of libparrot in /usr/local/lib might be getting picked up.  I don't 
see the command line used to build parrot itself, but I think that the 
flags are in a different order so ./blib/lib comes earlier.

-- 
    Andy Dougherty              [EMAIL PROTECTED]

Reply via email to