building parrot
Will Coleda
will at coleda.com
Wed Oct 15 13:52:22 UTC 2008
On Wed, Oct 15, 2008 at 9:43 AM, Michael P. Soulier
<msoulier at digitaltorque.ca> wrote:
> Hello,
>
> I'd report a bug but this link
>
> http://www.parrot.org/docs/submissions.html
>
> is broken.
Whoops. We're in the middle of migrated to that site:
http://www.parrotcode.org/docs/submissions.html has the information.
I'm cc'ing the bug tracker to open a ticket.
> I'm trying to build parrot on a CentOS 4.6 box and it's failing at link time.
>
> gcc -o miniparrot src/main.o src/null_config.o \
> -Wl,-rpath=/home/msoulier/downloads/parrot-0.7.1/blib/lib
> -L/home/msoulier/downloads/parrot-0.7.1/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
>
> I found one bug online like this, where the fix was not using tcsh,
> but I don't use tcsh.
>
> Suggestions welcome.
Do you have a previously installed parrot? It's possible that we're
inadvertently linking against the installed libparrot instead of the
one in your build dir.
--
Will "Coke" Coleda
More information about the parrot-dev
mailing list