# New Ticket Created by  [EMAIL PROTECTED] 
# Please include the string:  [perl #49226]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=49226 >


This may be a duplicate bug report.  Attempting to use ./parrotbug  
results in the following message:  postdrop: warning: unable to look  
up public/pickup: No such file or directory

In attempting to follow chromatic's instructions (http://use.perl.org/ 
article.pl?sid=07/12/30/0912211) for making a Perl 6 binary, I  
consistently get failures when I try to make the pbc_to_c target:

parrot $ make pbc_to_c
perl tools/dev/pbc_to_c_gen.pl \
     './CFLAGS cc "" -I./include -g -pipe -fno-common -no-cpp- 
precomp  -I/usr/local/include -pipe -fno-common -Wno-long-double  - 
DHASATTRIBUTE_CONST  -DHASATTRIBUTE_DEPRECATED  - 
DHASATTRIBUTE_FORMAT  -DHASATTRIBUTE_MALLOC  -DHASATTRIBUTE_NONNULL  - 
DHASATTRIBUTE_NORETURN  -DHASATTRIBUTE_PURE  -DHASATTRIBUTE_UNUSED  - 
DHASATTRIBUTE_WARN_UNUSED_RESULT  -falign-functions=16 -mno- 
accumulate-outgoing-args -W -Wall -Waggregate-return -Wbad-function- 
cast -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment - 
Wdeclaration-after-statement -Wdisabled-optimization -Wextra -Wformat- 
nonliteral -Wformat-security -Wformat-y2k -Wimplicit -Wimplicit- 
function-declaration -Wimplicit-int -Wimport -Winit-self -Winline - 
Winvalid-pch -Wmain -Wmissing-braces -Wmissing-declarations -Wmissing- 
field-initializers -Wmissing-include-dirs -Wmissing-prototypes - 
Wnested-externs -Wno-endif-labels -Wno-shadow -Wno-unused -Wnonnull - 
Wpacked -Wparentheses -Wpointer-arith -Wreturn-type -Wsequence-point - 
Wsign-compare -Wstrict-aliasing -Wstrict-aliasing=2 -Wswitch -Wswitch- 
default -Wtrigraphs -Wundef -Wunknown-pragmas -Wvariadic-macros - 
Wwrite-strings -I/opt/local/include -g -Wno-shadow  - 
DHAVE_COMPUTED_GOTO   -I. -o  \
-o   blib/lib/libparrot.a  -lm -lreadline -L/usr/local/lib -L/opt/ 
local/lib  ' \
     > pbc_to_c.pir
./parrot -o pbc_to_c.pbc pbc_to_c.pir
./parrot pbc_to_c.pir pbc_to_c.pbc
/usr/bin/ld: Undefined symbols:
_PackFile_fixup_subs
_PackFile_new
_PackFile_unpack
_Parrot_destroy
_Parrot_exit
_Parrot_loadbc
_Parrot_new
_Parrot_runcode
_do_sub_pragmas
collect2: ld returned 1 exit status
cc -I./include -g -pipe -fno-common -no-cpp-precomp -I/usr/local/ 
include -pipe -fno-common -Wno-long-double -DHASATTRIBUTE_CONST - 
DHASATTRIBUTE_DEPRECATED -DHASATTRIBUTE_FORMAT -DHASATTRIBUTE_MALLOC - 
DHASATTRIBUTE_NONNULL -DHASATTRIBUTE_NORETURN -DHASATTRIBUTE_PURE - 
DHASATTRIBUTE_UNUSED -DHASATTRIBUTE_WARN_UNUSED_RESULT -falign- 
functions=16 -mno-accumulate-outgoing-args -W -Wall -Waggregate- 
return -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts  
-Wcomment -Wdeclaration-after-statement -Wdisabled-optimization - 
Wextra -Wformat-nonliteral -Wformat-security -Wformat-y2k -Wimplicit - 
Wimplicit-function-declaration -Wimplicit-int -Wimport -Winit-self - 
Winline -Winvalid-pch -Wmain -Wmissing-braces -Wmissing-declarations - 
Wmissing-field-initializers -Wmissing-include-dirs -Wmissing- 
prototypes -Wnested-externs -Wno-endif-labels -Wno-shadow -Wno-unused  
-Wnonnull -Wpacked -Wparentheses -Wpointer-arith -Wreturn-type - 
Wsequence-point -Wsign-compare -Wstrict-aliasing -Wstrict-aliasing=2 - 
Wswitch -Wswitch-default -Wtrigraphs -Wundef -Wunknown-pragmas - 
Wvariadic-macros -Wwrite-strings -I/opt/local/include -g -Wno-shadow - 
DHAVE_COMPUTED_GOTO -I. -o -o blib/lib/libparrot.a -lm -lreadline -L/ 
usr/local/lib -L/opt/local/lib pbc_to_c.c -o pbc_to_c
compilation failed
current instr.: '_throw' pc 438 (pbc_to_c.pir:250)
called from Sub 'compile_file' pc 485 (pbc_to_c.pir:268)
called from Sub 'main' pc 126 (pbc_to_c.pir:29)
make: *** [pbc_to_c] Error 1

Cheers,
Ovid

Reply via email to