I have exactly the same problem under a Debian system. Configure works properly but make ends with the same message error :
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) make: *** [pbc_to_exe] Error 1 Note that this problem does not appear on a Centos or a MacOsX System. > 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? > > Excuse my bad English. > > 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) > make: *** [pbc_to_exe] Error 1 > > On 01/04/2008, chromatic via RT <[EMAIL PROTECTED]> wrote: >> On Sunday 30 March 2008 23:15:53 Ilya Belikin wrote: >> >> > Hi! >> > I can`t make Parrot: >> > --- >> > osname= linux >> > osvers= 2.6.15.7 >> > arch= i486-linux-gnu-thread-multi >> > cc= cc >> > --- >> > >> > > pbc_to_exe.pir >> > >> > ./parrot -o pbc_to_exe.pbc pbc_to_exe.pir >> > ./parrot pbc_to_exe.pir pbc_to_exe.pbc >> >> ... >> >> > Compiled: pbc_to_exe.o >> > 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 >> > 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) >> > make: *** [pbc_to_exe] Error 1 >> >> That's highly weird. If your linker can't find >> Parrot_set_executable_name in >> libparrot for pbc_to_exe, how did it find it in libparrot for parrot? >> >> Does this persist if you do: >> >> $ make realclean >> $ svn up >> $ perl Configure.pl >> $ make >> >> -- c >> >> >> > -- Christian Aperghis-Tramoni Case Postale 901 Tel : (33) 04 91 82 92 49 163 Avenue de Luminy SFR : (33) 06 18 93 10 70 13288 Marseille Fax : (33) 04 91 82 92 75 Cedex 09 France Mel : [EMAIL PROTECTED] [EMAIL PROTECTED] WEB : http://www.dil.univ-mrs.fr/~chris print join('',map({$i=1-$i;$a=$i?10*$_."\b\b":pack"c",$a+$_+0x16}split (//,"5110789279758710838810587992861093898779948387799310")),"...\n");