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


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
cc -o pbc_to_exe.o -I/home/ihrd/svn/parrot/include -D_REENTRANT
-D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN  -pipe -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHASATTRIBUTE_CONST
-DHASATTRIBUTE_DEPRECATED  -DHASATTRIBUTE_MALLOC
-DHASATTRIBUTE_NONNULL  -DHASATTRIBUTE_NORETURN  -DHASATTRIBUTE_PURE
-DHASATTRIBUTE_UNUSED  -DHASATTRIBUTE_WARN_UNUSED_RESULT
-falign-functions=16 -fvisibility=hidden -maccumulate-outgoing-args -W
-Wall -Waggregate-return -Wbad-function-cast -Wc++-compat -Wcast-align
-Wcast-qual -Wchar-subscripts -Wcomment -Wdeclaration-after-statement
-Wdisabled-optimization -Wendif-labels -Wextra -Wformat
-Wformat-extra-args -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
-Wno-missing-format-attribute -Wmissing-include-dirs
-Wmissing-prototypes -Wnested-externs -Wnonnull -Wpacked -Wparentheses
-Wpointer-arith -Wreturn-type -Wsequence-point -Wno-shadow
-Wsign-compare -Wstrict-aliasing -Wstrict-aliasing=2 -Wswitch
-Wswitch-default -Wtrigraphs -Wundef -Wunknown-pragmas -Wno-unused
-Wvariadic-macros -Wwrite-strings -c pbc_to_exe.c
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

Thanks.

---
Summary of my parrot 0.6.0 (r26653) configuration:
  configdate='Mon Mar 31 03:37:27 2008 GMT'
  Platform:
    osname=linux, archname=i486-linux-gnu-thread-multi
    jitcapable=1, jitarchname=i386-linux,
    jitosname=LINUX, jitcpuarch=i386
    execcapable=1
    perl=/usr/local/bin/perl
  Compiler:
    cc='cc', ccflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS
-DDEBIAN  -pipe -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -DHASATTRIBUTE_CONST  -DHASATTRIBUTE_DEPRECATED
 -DHASATTRIBUTE_MALLOC  -DHASATTRIBUTE_NONNULL
-DHASATTRIBUTE_NORETURN  -DHASATTRIBUTE_PURE  -DHASATTRIBUTE_UNUSED
-DHASATTRIBUTE_WARN_UNUSED_RESULT  -falign-functions=16
-fvisibility=hidden -maccumulate-outgoing-args -W -Wall
-Waggregate-return -Wbad-function-cast -Wc++-compat -Wcast-align
-Wcast-qual -Wchar-subscripts -Wcomment -Wdeclaration-after-statement
-Wdisabled-optimization -Wendif-labels -Wextra -Wformat
-Wformat-extra-args -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
-Wno-missing-format-attribute -Wmissing-include-dirs
-Wmissing-prototypes -Wnested-externs -Wnonnull -Wpacked -Wparentheses
-Wpointer-arith -Wreturn-type -Wsequence-point -Wno-shadow
-Wsign-compare -Wstrict-aliasing -Wstrict-aliasing=2 -Wswitch
-Wswitch-default -Wtrigraphs -Wundef -Wunknown-pragmas -Wno-unused
-Wvariadic-macros -Wwrite-strings',
  Linker and Libraries:
    ld='cc', ldflags=' -L/usr/local/lib',
    cc_ldflags='',
    libs='-ldl -lm -lpthread -lcrypt -lrt -lgmp -lreadline -lcrypto'
  Dynamic Linking:
    share_ext='.so', ld_share_flags='-shared -L/usr/local/lib -fPIC',
    load_ext='.so', ld_load_flags='-shared -L/usr/local/lib -fPIC'
  Types:
    iv=long, intvalsize=4, intsize=4, opcode_t=long, opcode_t_size=4,
    ptrsize=4, ptr_alignment=1 byteorder=1234,
    nv=double, numvalsize=8, doublesize=8

---
Environment:
    HOME =/home/ihrd
    LANG =en_NZ.UTF-8
    LANGUAGE  (unset)
    LD_LIBRARY_PATH  (unset)
    LOGDIR  (unset)
    PATH 
=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games
    SHELL =/bin/bash

Reply via email to