I have been getting the same error on my laptop for several weeks also.
Slackware 10.1, 2.4.26, Intel Celeron 1066. On 8/8/06, hugues <[EMAIL PROTECTED]> wrote:
Hi exotical birds, I'm getting the following error when compiling (trying to) parrot svn: Just droping it as is, in case any of you would know an obvious fix (laziness ...) I must add that it's been a long time since i last compiled parrot so the error might be due to something ``old''... Thanks in advance for any helpful hint. Feel free to bash me if i've earned it ;-) hugues$ perl Configure.pl Parrot Version 0.4.5 Configure 2.0 Copyright (C) 2001-2006, The Perl Foundation. Hello, I'm Configure. My job is to poke and prod your system to figure out how to build Parrot. The process is completely automated, unless you passed in the `--ask' flag on the command line, in which case it'll prompt you for a few pieces of info. Since you're running this program, you obviously have Perl 5--I'll be pulling some defaults from its configuration. Checking MANIFEST.....................................................done. Setting up Configure's default values.................................done. Tweaking settings for miniparrot...................................skipped. Loading platform and local hints files................................done. Determining nongenerated header files.................................done. Determining what C compiler and linker to use.........................done. Determining whether make is installed..................................yes. Determining whether lex is installed...............................skipped. Determining whether yacc is installed..............................skipped. Determining if your C compiler is actually gcc.........................yes. Determining if your C compiler is actually Visual C++...................no. Enabling optimization...................................................no. Determining flags for building shared libraries......................-fPIC. Determine if parrot should be linked against a shared library..........yes. Determining what charset files should be compiled in..................done. Determining what encoding files should be compiled in.................done. Determining what types Parrot should use..............................done. Determining what opcode files should be compiled in...................done. Determining what pmc files should be compiled in......................done. Determining your minimum pointer alignment......................... 1 byte. Probing for C headers.................................................done. Determining some sizes................................................done. Computing native byteorder for Parrot's wordsize.............little-endian. Test the type of va_ptr (this test is likely to segfault)..............x86. Figuring out how to pack() Parrot's types.............................done. Figuring out what formats should be used for sprintf..................done. Determining if your C library has a working S_ISREG....................yes. Determining architecture, OS and JIT capability.......................done. Running CPU specific stuff............................................done. Verifying that the compiler supports function pointer casts............yes. Determining whether your compiler supports computed goto...............yes. Determining if your compiler supports inline...........................yes. Determining what allocator to use.....................................done. Determining if your C library supports memalign........................yes. Determining some signal stuff.........................................done. Asking Perl5 whether there is socklen_t................................yes. Determining if your C library has setenv / unsetenv...................both. Determining if your platform supports AIO..............................yes. Determining if your platform supports GMP..............................yes. Determining if your platform supports readline.........................yes. Determining if your platform supports gdbm..............................no. Testing snprintf......................................................done. Determining whether perldoc is installed...............................yes. Determining whether python is installed.........................yes, 2.4.4. Determining whether GNU bc is installed................................yes. Determining whether GNU m4 is installed................................yes. Determining whether ICU is installed....................................no. Determining Parrot's revision.......................................r13920. Generating C headers..................................................done. Generating core pmc list..............................................done. Generating runtime/parrot/include.....................................done. Configuring languages.................................................done. Generating makefiles and other build files............................done. Moving platform files into place......................................done. Recording configuration data for later retrieval......................done. Okay, we're done! You can now use `make' to build your Parrot. (NOTE: do not use `make -j <n>'!) After that, you can use `make test' to run the test suite. Happy Hacking, The Parrot Team phugues$ make Compiling with: xx.c cc -I./include -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Winline -Wshadow -Wpointer-arith -Wcast-qual -Wwrite-strings -Waggregate-return -Winline -Wno-unused -Wsign-compare -falign-functions=16 -Wformat-nonliteral -Wformat-security -Wpacked -Wdisabled-optimization -mno-accumulate-outgoing-args -Wno-shadow -DHAS_JIT -DI386 -DHAVE_COMPUTED_GOTO -fPIC -I. -o xx.o -c xx.c /usr/bin/perl tools/build/ops2c.pl C --core /usr/bin/perl tools/build/ops2c.pl CSwitch --core src/ops/core_ops.c src/ops/core_ops_switch.c src/ops/core_ops_cg.c src/ops/core_ops_cgp.c src/exec.c src/exec_cpu.c src/exec_save.c src/charset.c src/encoding.c src/exceptions.c src/global_setup.c src/interpreter.c src/inter_call.c src/inter_cb.c src/inter_create.c src/inter_misc.c src/inter_run.c src/register.c src/memory.c src/objects.c src/packfile.c src/stacks.c src/stack_common.c src/string.c src/string_primitives.c src/sub.c src/runops_cores.c src/trace.c src/pmc.c src/pmc_freeze.c src/key.c src/hash.c src/core_pmcs.c src/platform.c src/jit.c src/jit_cpu.c src/jit_debug.c src/jit_debug_xcoff.c src/intlist.c src/list.c src/library.c src/global.c src/embed.c src/warnings.c src/packout.c src/debug.c src/smallobject.c src/headers.c src/hll.c src/dod.c src/gc_ims.c src/gc_gms.c src/exit.c src/misc.c src/spf_render.c src/spf_vtable.c src/nci.c src/cpu_dep.c src/tsq.c src/longopt.c src/events.c src/thread.c src/dynext.c src/utils.c src/vtables.c src/pic.c src/pic_jit.c src/mmd.c src/builtin.c src/extend.c /usr/bin/perl -Ilib tools/build/revision_c.pl > src/revision.c src/revision.c src/packfile/pf_items.c src/resources.c src/io/io.c src/io/io_buf.c src/io/io_layers.c src/io/io_unix.c src/io/io_utf8.c src/io/io_mmap.c src/io/io_win32.c src/io/io_stdio.c src/io/io_string.c src/io/io_passdown.c compilers/imcc/imcparser.c compilers/imcc/imcc.y:1467: warning: unused parameter 'yyscanner' compilers/imcc/imclexer.c compilers/imcc/imclexer.c: In function 'yy_get_next_buffer': compilers/imcc/imclexer.c:4294: warning: comparison between signed and unsigned compilers/imcc/imclexer.c: At top level: compilers/imcc/imclexer.c:4902: warning: unused parameter 'yyscanner' compilers/imcc/imclexer.c:5186: warning: unused parameter 'yyscanner' compilers/imcc/imclexer.c:5191: warning: unused parameter 'yyscanner' compilers/imcc/imclexer.c:5203: warning: unused parameter 'yyscanner' compilers/imcc/imc.c compilers/imcc/symreg.c compilers/imcc/instructions.c compilers/imcc/cfg.c compilers/imcc/reg_alloc.c compilers/imcc/sets.c compilers/imcc/debug.c compilers/imcc/optimizer.c compilers/imcc/pbc.c compilers/imcc/parser_util.c compilers/imcc/pcc.c compilers/ast/astparser.c compilers/ast/astlexer.c compilers/ast/ast_main.c compilers/ast/node.c /usr/bin/perl -MExtUtils::Command -e mkpath blib/lib ar cr blib/lib/libparrot.a src/ops/core_ops.o src/ops/core_ops_switch.o src/ops/core_ops_cg.o src/ops/core_ops_cgp.o src/exec.o src/exec_cpu.o src/exec_save.o src/charset.o src/encoding.o src/exceptions.o src/global_setup.o src/interpreter.o src/inter_call.o src/inter_cb.o src/inter_create.o src/inter_misc.o src/inter_run.o src/register.o src/memory.o src/objects.o src/packfile.o src/stacks.o src/stack_common.o src/string.o src/string_primitives.o src/sub.o src/runops_cores.o src/trace.o src/pmc.o src/pmc_freeze.o src/key.o src/hash.o src/core_pmcs.o src/platform.o src/jit.o src/jit_cpu.o src/jit_debug.o src/jit_debug_xcoff.o src/intlist.o src/list.o src/library.o src/global.o src/embed.o src/warnings.o src/packout.o src/byteorder.o src/debug.o src/smallobject.o src/headers.o src/hll.o src/dod.o src/gc_ims.o src/gc_gms.o src/exit.o src/misc.o src/spf_render.o src/spf_vtable.o src/datatypes.o src/fingerprint.o src/nci.o src/cpu_dep.o src/tsq.o src/longopt.o src/events.o src/thread.o src/dynext.o src/utils.o src/vtables.o src/pic.o src/pic_jit.o src/mmd.o src/builtin.o src/extend.o src/extend_vtable.o src/revision.o src/packfile/pf_items.o src/resources.o src/charset/ascii.o src/charset/binary.o src/charset/iso-8859-1.o src/charset/tables.o src/charset/unicode.o src/io/io.o src/io/io_buf.o src/io/io_layers.o src/io/io_unix.o src/io/io_utf8.o src/io/io_mmap.o src/io/io_win32.o src/io/io_stdio.o src/io/io_string.o src/io/io_passdown.o src/pmc/default.o src/pmc/null.o src/pmc/env.o src/pmc/key.o src/pmc/random.o src/pmc/unmanagedstruct.o src/pmc/managedstruct.o src/pmc/delegate.o src/pmc/csub.o src/pmc/compiler.o src/pmc/exception.o src/pmc/version.o src/pmc/vtablecache.o src/pmc/parrotio.o src/pmc/parrotlibrary.o src/pmc/parrotinterpreter.o src/pmc/parrotthread.o src/pmc/lexpad.o src/pmc/timer.o src/pmc/pointer.o src/pmc/sub.o src/pmc/closure.o src/pmc/continuation.o src/pmc/retcontinuation.o src/pmc/exception_handler.o src/pmc/coroutine.o src/pmc/eval.o src/pmc/nci.o src/pmc/float.o src/pmc/integer.o src/pmc/bigint.o src/pmc/complex.o src/pmc/string.o src/pmc/boolean.o src/pmc/ref.o src/pmc/sharedref.o src/pmc/array.o src/pmc/fixedintegerarray.o src/pmc/intlist.o src/pmc/iterator.o src/pmc/sarray.o src/pmc/fixedstringarray.o src/pmc/multiarray.o src/pmc/hash.o src/pmc/orderedhash.o src/pmc/tqueue.o src/pmc/parrotclass.o src/pmc/parrotobject.o src/pmc/os.o src/pmc/file.o src/pmc/addrregistry.o src/pmc/bound_nci.o src/pmc/deleg_pmc.o src/pmc/enumerate.o src/pmc/fixedbooleanarray.o src/pmc/fixedfloatarray.o src/pmc/fixedpmcarray.o src/pmc/lexinfo.o src/pmc/multisub.o src/pmc/namespace.o src/pmc/none.o src/pmc/pair.o src/pmc/resizablebooleanarray.o src/pmc/resizablefloatarray.o src/pmc/resizableintegerarray.o src/pmc/resizablepmcarray.o src/pmc/resizablestringarray.o src/pmc/scalar.o src/pmc/slice.o src/pmc/super.o src/pmc/undef.o src/encodings/fixed_8.o src/encodings/ucs2.o src/encodings/utf16.o src/encodings/utf8.o compilers/imcc/imcparser.o compilers/imcc/imclexer.o compilers/imcc/imc.o compilers/imcc/symreg.o compilers/imcc/instructions.o compilers/imcc/cfg.o compilers/imcc/reg_alloc.o compilers/imcc/sets.o compilers/imcc/debug.o compilers/imcc/optimizer.o compilers/imcc/pbc.o compilers/imcc/parser_util.o compilers/imcc/pcc.o compilers/ast/astparser.o compilers/ast/astlexer.o compilers/ast/ast_main.o compilers/ast/node.o : blib/lib/libparrot.a /usr/bin/perl -MExtUtils::Command -e mkpath blib/lib cc -shared -L/usr/local/lib -fPIC -L/usr/local/lib -o blib/lib/libparrot.so.0.4.5 -Wl,-soname=libparrot.so.0.4.5 \ src/ops/core_ops.o src/ops/core_ops_switch.o src/ops/core_ops_cg.o src/ops/core_ops_cgp.o src/exec.o src/exec_cpu.o src/exec_save.o src/charset.o src/encoding.o src/exceptions.o src/global_setup.o src/interpreter.o src/inter_call.o src/inter_cb.o src/inter_create.o src/inter_misc.o src/inter_run.o src/register.o src/memory.o src/objects.o src/packfile.o src/stacks.o src/stack_common.o src/string.o src/string_primitives.o src/sub.o src/runops_cores.o src/trace.o src/pmc.o src/pmc_freeze.o src/key.o src/hash.o src/core_pmcs.o src/platform.o src/jit.o src/jit_cpu.o src/jit_debug.o src/jit_debug_xcoff.o src/intlist.o src/list.o src/library.o src/global.o src/embed.o src/warnings.o src/packout.o src/byteorder.o src/debug.o src/smallobject.o src/headers.o src/hll.o src/dod.o src/gc_ims.o src/gc_gms.o src/exit.o src/misc.o src/spf_render.o src/spf_vtable.o src/datatypes.o src/fingerprint.o src/nci.o src/cpu_dep.o src/tsq.o src/longopt.o src/events.o src/thread.o src/dynext.o src/utils.o src/vtables.o src/pic.o src/pic_jit.o src/mmd.o src/builtin.o src/extend.o src/extend_vtable.o src/revision.o src/packfile/pf_items.o src/resources.o src/charset/ascii.o src/charset/binary.o src/charset/iso-8859-1.o src/charset/tables.o src/charset/unicode.o src/io/io.o src/io/io_buf.o src/io/io_layers.o src/io/io_unix.o src/io/io_utf8.o src/io/io_mmap.o src/io/io_win32.o src/io/io_stdio.o src/io/io_string.o src/io/io_passdown.o src/pmc/default.o src/pmc/null.o src/pmc/env.o src/pmc/key.o src/pmc/random.o src/pmc/unmanagedstruct.o src/pmc/managedstruct.o src/pmc/delegate.o src/pmc/csub.o src/pmc/compiler.o src/pmc/exception.o src/pmc/version.o src/pmc/vtablecache.o src/pmc/parrotio.o src/pmc/parrotlibrary.o src/pmc/parrotinterpreter.o src/pmc/parrotthread.o src/pmc/lexpad.o src/pmc/timer.o src/pmc/pointer.o src/pmc/sub.o src/pmc/closure.o src/pmc/continuation.o src/pmc/retcontinuation.o src/pmc/exception_handler.o src/pmc/coroutine.o src/pmc/eval.o src/pmc/nci.o src/pmc/float.o src/pmc/integer.o src/pmc/bigint.o src/pmc/complex.o src/pmc/string.o src/pmc/boolean.o src/pmc/ref.o src/pmc/sharedref.o src/pmc/array.o src/pmc/fixedintegerarray.o src/pmc/intlist.o src/pmc/iterator.o src/pmc/sarray.o src/pmc/fixedstringarray.o src/pmc/multiarray.o src/pmc/hash.o src/pmc/orderedhash.o src/pmc/tqueue.o src/pmc/parrotclass.o src/pmc/parrotobject.o src/pmc/os.o src/pmc/file.o src/pmc/addrregistry.o src/pmc/bound_nci.o src/pmc/deleg_pmc.o src/pmc/enumerate.o src/pmc/fixedbooleanarray.o src/pmc/fixedfloatarray.o src/pmc/fixedpmcarray.o src/pmc/lexinfo.o src/pmc/multisub.o src/pmc/namespace.o src/pmc/none.o src/pmc/pair.o src/pmc/resizablebooleanarray.o src/pmc/resizablefloatarray.o src/pmc/resizableintegerarray.o src/pmc/resizablepmcarray.o src/pmc/resizablestringarray.o src/pmc/scalar.o src/pmc/slice.o src/pmc/super.o src/pmc/undef.o src/encodings/fixed_8.o src/encodings/ucs2.o src/encodings/utf16.o src/encodings/utf8.o compilers/imcc/imcparser.o compilers/imcc/imclexer.o compilers/imcc/imc.o compilers/imcc/symreg.o compilers/imcc/instructions.o compilers/imcc/cfg.o compilers/imcc/reg_alloc.o compilers/imcc/sets.o compilers/imcc/debug.o compilers/imcc/optimizer.o compilers/imcc/pbc.o compilers/imcc/parser_util.o compilers/imcc/pcc.o compilers/ast/astparser.o compilers/ast/astlexer.o compilers/ast/ast_main.o compilers/ast/node.o -ldl -lm -lpthread -lcrypt -lrt -lgmp -lreadline ( cd blib/lib ; ln -sf libparrot.so.0.4.5 libparrot.so ) compilers/imcc/main.c /usr/bin/perl tools/build/parrot_config_c.pl --mini > \ src/null_config.c src/null_config.c cc -o miniparrot -L/usr/local/lib -Wl,-E compilers/imcc/main.o \ -Wl,-rpath=/usr/local/scm/svn/parrot/blib/lib -L/usr/local/scm/svn/parrot/blib/lib -lparrot -ldl -lm -lpthread -lcrypt -lrt -lgmp -lreadline src/null_config.o compilers/imcc/main.o: In function `parseflags': compilers/imcc/main.c:362: undefined reference to `IMCC_fatal_standalone' compilers/imcc/main.o: In function `do_pre_process': compilers/imcc/main.c:396: undefined reference to `do_yylex_init' compilers/imcc/main.o: In function `main': compilers/imcc/main.c:505: undefined reference to `do_yylex_init' compilers/imcc/main.c:536: undefined reference to `IMCC_fatal_standalone' compilers/imcc/main.c:550: undefined reference to `IMCC_fatal_standalone' compilers/imcc/main.c:565: undefined reference to `yylex_destroy' compilers/imcc/main.c:589: undefined reference to `IMCC_fatal_standalone' compilers/imcc/main.c:606: undefined reference to `IMCC_fatal_standalone' compilers/imcc/main.c:680: undefined reference to `IMCC_fatal_standalone' compilers/imcc/main.c:684: undefined reference to `IMCC_fatal_standalone' compilers/imcc/main.c:696: undefined reference to `IMCC_fatal_standalone' compilers/imcc/main.c:725: undefined reference to `yylex_destroy' collect2: ld returned 1 exit status make: *** [miniparrot] Error 1 -- Hugues Lafarge || Email: [EMAIL PROTECTED] Agence France Presse || Phone: +33 1 40 41 77 15 4 rue de la bourse, 75002 Paris || Fax: +33 1 40 41 79 24 ----------------------- This e-mail, and any file transmitted with it, is confidential and intended solely for the use of the individual or entity to whom it is addressed. If you have received this email in error, please contact the sender and delete the email from your system. If you are not the named addressee you should not disseminate, distribute or copy this email. For more information on Agence France-Presse, please visit our web site at http://www.afp.com -----------------------