On Wed, 15 Oct 2008, Michael P. Soulier wrote:
> Hello,
>
> I'd report a bug but this link
>
> http://www.parrot.org/docs/submissions.html
>
> is broken.
>
> 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.
Do you have a link for that bug report? I vaguely recall something like
that where the tcsh was a red herring -- it was really an environment
variable setting -- but I don't recall any more details offhand.
--
Andy Dougherty [EMAIL PROTECTED]