All pastes #928562 Raw Edit

Katie D.

public text v1 · immutable
·published 2008-03-05 03:55 UTC
rendered paste body
When attempting to build parrot-0.5.3 from the tarball sources, "make" fails with the following error:

<ERROR MESSAGE>

/usr/bin/perl5.8.8 tools/build/parrot_config_c.pl --mini > \
    src/null_config.c
src/null_config.c
i686-pc-linux-gnu-gcc -o miniparrot src/main.o \
    -Wl,-rpath=/home/sassym/code/parrot-0.5.3/blib/lib -L/home/sassym/code/parrot-0.5.3/blib/lib -lparrot  -lpthread -lnsl -ldl -lm -lcrypt -lutil -lrt -lgmp -lreadline -L/usr/local/lib -Wl,-E   src/null_config.o
src/main.o: In function `main':
/home/sassym/code/parrot-0.5.3/src/main.c:47: undefined reference to `Parrot_new'
/home/sassym/code/parrot-0.5.3/src/main.c:48: undefined reference to `imcc_initialize'
/home/sassym/code/parrot-0.5.3/src/main.c:53: undefined reference to `string_from_cstring'
/home/sassym/code/parrot-0.5.3/src/main.c:53: undefined reference to `Parrot_set_executable_name'
/home/sassym/code/parrot-0.5.3/src/main.c:55: undefined reference to `parseflags'
/home/sassym/code/parrot-0.5.3/src/main.c:56: undefined reference to `imcc_run'
/home/sassym/code/parrot-0.5.3/src/main.c:60: undefined reference to `Parrot_destroy'
/home/sassym/code/parrot-0.5.3/src/main.c:61: undefined reference to `Parrot_exit'
src/null_config.o: In function `Parrot_set_config_hash':
/home/sassym/code/parrot-0.5.3/src/null_config.c:29: undefined reference to `Parrot_set_config_hash_internal'
collect2: ld returned 1 exit status
make: *** [miniparrot] Error 1

</ERROR MESSAGE>

I am using Gentoo Hardened (2.6.23-r4), perl 5.8.8, GNU make 3.81.

Here is output from gcc -v:

<GCC VERSION INFO>

Reading specs from /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/specs
Reading specs from /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/vanilla.specs
Configured with: /var/tmp/portage/sys-devel/gcc-3.4.6-r2/work/gcc-3.4.6/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.4.6 --includedir=/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.6 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.6/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.6/info --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/include/g++-v3 --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --enable-secureplt --disable-libunwind-exceptions --disable-multilib --disable-libgcj --with-arch=i686 --enable-languages=c,c++,treelang --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
Thread model: posix
gcc version 3.4.6 (Gentoo Hardened 3.4.6-r2 p1.5, ssp-3.4.6-1.0, pie-8.7.10)

</GCC VERSION INFO>

Any ideas about what I might need to do to fix this?

--Katie