On 3/28/07, Ron Blaschke <[EMAIL PROTECTED]> wrote:
Joshua Gatcomb wrote: > Really? No one on #parrot has been able to get parrot to work on Cygwin > for months. Interesting, didn't know about this.
The issue for the longest time was that miniparrot.exe would silently die and not even gdb could figure out why. It appeared to be a linking issue but as static linking also didn't work and there were no cygwin experts around, it went unresolved. The problem I am experiencing now is happening earlier. Could you, or someone else, please add the error message to the ticket,
or create a new one? Maybe I can help with that. If you could hang out on #parrot (irc.perl.org) when myself, Jonathan, particle, etc are around - it would go a long way towards getting a reproduceable test case that can be correctly articulated as to the nature of the problem. A few years ago I used to build parrot on cygwin daily and opened several tickets that years later I was asked if were still applicable. I am not interested in repeating the past. It's a fairly standard Windows XP SP2 box with Cygwin, everything up to
date. I have tried to install everything optional (like ICU), too.
My configuration is identical to yours with the following exceptions: Despite having GMP and bc installed Configure.PL doesn't find them. I am interested in knowing why this is but I doubt it has anything to do with the problem. Here is the tail end of my make output: see attached Cheers, Joshua Gatcomb a.k.a. Limbic~Region
src/pmc/stmlog.c src/pmc/stmref.c src/pmc/stmvar.c src/pmc/super.c src/pmc/undef.c src/encodings/fixed_8.c src/encodings/ucs2.c src/encodings/utf16.c src/encodings/utf16.c: In function `to_encoding': src/encodings/utf16.c:104: warning: passing arg 3 of `u_strFromUTF8_3_6' from incompatible pointer type src/encodings/utf16.c:118: warning: passing arg 3 of `u_strFromUTF8_3_6' from incompatible pointer type src/encodings/utf8.c compilers/imcc/imcparser.c compilers/imcc/imclexer.c compilers/imcc/imclexer.c: In function `yy_get_next_buffer': compilers/imcc/imclexer.c:4356: warning: comparison between signed and unsigned 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 /usr/bin/perl.exe -MExtUtils::Command -e mkpath blib/lib gcc -shared -s -L/usr/local/lib -o blib/lib/libparrot.dll \ src/ops/core_ops.o src/ops/core_ops_switch.o src/ops/core_ops_cg.o src/ops/core_ops_cgp.o src/charset.o src/encoding.o sr c/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/i nter_run.o src/gc/register.o src/gc/memory.o src/objects.o src/packfile.o src/stacks.o src/stack_common.o src/string.o src/st ring_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 sr c/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/headers.o src/hll.o src/gc/smallobject.o src/gc/do d.o src/gc/gc_ims.o src/gc/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 s rc/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/stm/backend. o src/stm/waitlist.o src/gc/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/p mc/key.o src/pmc/random.o src/pmc/unmanagedstruct.o src/pmc/managedstruct.o src/pmc/delegate.o src/pmc/compiler.o src/pmc/exc eption.o src/pmc/version.o src/pmc/vtablecache.o src/pmc/parrotio.o src/pmc/parrotlibrary.o src/pmc/parrotinterpreter.o src/p mc/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 s rc/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/ar ray.o src/pmc/fixedintegerarray.o src/pmc/intlist.o src/pmc/iterator.o src/pmc/sarray.o src/pmc/fixedstringarray.o src/pmc/mu ltiarray.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 sr c/pmc/file.o src/pmc/addrregistry.o src/pmc/bound_nci.o src/pmc/capture.o src/pmc/class.o src/pmc/deleg_pmc.o src/pmc/enumera te.o src/pmc/exporter.o src/pmc/fixedbooleanarray.o src/pmc/fixedfloatarray.o src/pmc/fixedpmcarray.o src/pmc/lexinfo.o src/p mc/multisub.o src/pmc/namespace.o src/pmc/object.o src/pmc/pair.o src/pmc/parrotrunningthread.o src/pmc/pccmethod_test.o src/ pmc/resizablebooleanarray.o src/pmc/resizablefloatarray.o src/pmc/resizableintegerarray.o src/pmc/resizablepmcarray.o src/pmc /resizablestringarray.o src/pmc/role.o src/pmc/scalar.o src/pmc/slice.o src/pmc/smop_attribute.o src/pmc/smop_class.o src/pmc /stmlog.o src/pmc/stmref.o src/pmc/stmvar.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/im cc/symreg.o compilers/imcc/instructions.o compilers/imcc/cfg.o compilers/imcc/reg_alloc.o compilers/imcc/sets.o compilers/imc c/debug.o compilers/imcc/optimizer.o compilers/imcc/pbc.o compilers/imcc/parser_util.o compilers/imcc/pcc.o -lcrypt -lreadlin e -L/c/GHC -L/c/GHC/gcc-lib -lpthread -lm -L/usr/local/lib -lcygicuin36 -lcygicuuc36 -lcygicudt36 -lpthread -lm compilers/imcc/main.c /usr/bin/perl.exe tools/build/parrot_config_c.pl --mini > \ src/null_config.c src/null_config.c gcc -o miniparrot.exe compilers/imcc/main.o \ -L/cygdrive/c/Parrot/blib/lib -lparrot -L/c/GHC -L/c/GHC/gcc-lib -lpthread -lm -L/usr/local/lib -lcygicuin36 -lcygicuuc3 6 -lcygicudt36 -lpthread -lm -lcrypt -lreadline -s -L/usr/local/lib src/null_config.o compilers/imcc/main.o: In function `imcc_version': /home/Gat/parrot/compilers/imcc/main.c:126: undefined reference to `__imp__Parrot_config_revision' /home/Gat/parrot/compilers/imcc/main.c:141: undefined reference to `__imp__Parrot_exit' compilers/imcc/main.o: In function `parseflags': /home/Gat/parrot/compilers/imcc/main.c:208: undefined reference to `__imp__longopt_get' /home/Gat/parrot/compilers/imcc/main.c:211: undefined reference to `__imp__Parrot_set_flag' /home/Gat/parrot/compilers/imcc/main.c:214: undefined reference to `__imp__Parrot_set_flag' /home/Gat/parrot/compilers/imcc/main.c:218: undefined reference to `__imp__Parrot_set_trace' /home/Gat/parrot/compilers/imcc/main.c:221: undefined reference to `__imp__Parrot_set_trace' /home/Gat/parrot/compilers/imcc/main.c:248: undefined reference to `__imp__Parrot_set_debug' /home/Gat/parrot/compilers/imcc/main.c:251: undefined reference to `__imp__Parrot_set_debug' /home/Gat/parrot/compilers/imcc/main.c:254: undefined reference to `__imp__Parrot_setwarnings' /home/Gat/parrot/compilers/imcc/main.c:276: undefined reference to `__imp__Parrot_get_runtime_prefix' /home/Gat/parrot/compilers/imcc/main.c:292: undefined reference to `__imp__yydebug' /home/Gat/parrot/compilers/imcc/main.c:360: undefined reference to `__imp__Parrot_set_flag' /home/Gat/parrot/compilers/imcc/main.c:363: undefined reference to `__imp__Parrot_set_flag' /home/Gat/parrot/compilers/imcc/main.c:366: undefined reference to `__imp__IMCC_fatal_standalone' compilers/imcc/main.o: In function `do_pre_process': /home/Gat/parrot/compilers/imcc/main.c:400: undefined reference to `__imp__do_yylex_init' /home/Gat/parrot/compilers/imcc/main.c:402: undefined reference to `__imp__IMCC_push_parser_state' /home/Gat/parrot/compilers/imcc/main.c:403: undefined reference to `__imp__yylex' /home/Gat/parrot/compilers/imcc/main.c:417: undefined reference to `__imp__yylex' compilers/imcc/main.o: In function `main': /home/Gat/parrot/compilers/imcc/main.c:514: undefined reference to `__imp__Parrot_new' /home/Gat/parrot/compilers/imcc/main.c:516: undefined reference to `__imp__do_yylex_init' /home/Gat/parrot/compilers/imcc/main.c:518: undefined reference to `__imp__Parrot_shared_DOD_block' /home/Gat/parrot/compilers/imcc/main.c:526: undefined reference to `__imp__string_from_cstring' /home/Gat/parrot/compilers/imcc/main.c:527: undefined reference to `__imp__pmc_new' /home/Gat/parrot/compilers/imcc/main.c:552: undefined reference to `__imp__IMCC_fatal_standalone' /home/Gat/parrot/compilers/imcc/main.c:555: undefined reference to `__imp__imc_yyin_set' /home/Gat/parrot/compilers/imcc/main.c:565: undefined reference to `__imp__imc_yyin_set' /home/Gat/parrot/compilers/imcc/main.c:566: undefined reference to `__imp__IMCC_fatal_standalone' /home/Gat/parrot/compilers/imcc/main.c:577: undefined reference to `__imp__Parrot_destroy' /home/Gat/parrot/compilers/imcc/main.c:578: undefined reference to `__imp__yylex_destroy' /home/Gat/parrot/compilers/imcc/main.c:579: undefined reference to `__imp__Parrot_exit' /home/Gat/parrot/compilers/imcc/main.c:598: undefined reference to `__imp__IMCC_fatal_standalone' /home/Gat/parrot/compilers/imcc/main.c:602: undefined reference to `__imp__IMCC_fatal_standalone' /home/Gat/parrot/compilers/imcc/main.c:609: undefined reference to `__imp__IMCC_info' /home/Gat/parrot/compilers/imcc/main.c:610: undefined reference to `__imp__imc_yyin_get' /home/Gat/parrot/compilers/imcc/main.c:610: undefined reference to `__imp__IMCC_info' /home/Gat/parrot/compilers/imcc/main.c:617: undefined reference to `__imp__Parrot_readbc' /home/Gat/parrot/compilers/imcc/main.c:619: undefined reference to `__imp__IMCC_fatal_standalone' /home/Gat/parrot/compilers/imcc/main.c:621: undefined reference to `__imp__Parrot_loadbc' /home/Gat/parrot/compilers/imcc/main.c:626: undefined reference to `__imp__IMCC_info' /home/Gat/parrot/compilers/imcc/main.c:628: undefined reference to `__imp__PackFile_new' /home/Gat/parrot/compilers/imcc/main.c:629: undefined reference to `__imp__Parrot_loadbc' /home/Gat/parrot/compilers/imcc/main.c:631: undefined reference to `__imp__IMCC_push_parser_state' /home/Gat/parrot/compilers/imcc/main.c:634: undefined reference to `__imp__emit_open' /home/Gat/parrot/compilers/imcc/main.c:636: undefined reference to `__imp__IMCC_info' /home/Gat/parrot/compilers/imcc/main.c:642: undefined reference to `__imp__yyparse' /home/Gat/parrot/compilers/imcc/main.c:647: undefined reference to `__imp__imc_compile_all_units' /home/Gat/parrot/compilers/imcc/main.c:651: undefined reference to `__imp__string_to_cstring' /home/Gat/parrot/compilers/imcc/main.c:654: undefined reference to `__imp__IMCC_print_inc' /home/Gat/parrot/compilers/imcc/main.c:655: undefined reference to `__imp__Parrot_exit' /home/Gat/parrot/compilers/imcc/main.c:659: undefined reference to `__imp__string_to_cstring' /home/Gat/parrot/compilers/imcc/main.c:662: undefined reference to `__imp__IMCC_print_inc' /home/Gat/parrot/compilers/imcc/main.c:663: undefined reference to `__imp__Parrot_exit' /home/Gat/parrot/compilers/imcc/main.c:667: undefined reference to `__imp__imc_cleanup' /home/Gat/parrot/compilers/imcc/main.c:669: undefined reference to `__imp__imc_yyin_get' /home/Gat/parrot/compilers/imcc/main.c:671: undefined reference to `__imp__IMCC_info' /home/Gat/parrot/compilers/imcc/main.c:673: undefined reference to `__imp__PackFile_fixup_subs' /home/Gat/parrot/compilers/imcc/main.c:681: undefined reference to `__imp__IMCC_info' /home/Gat/parrot/compilers/imcc/main.c:683: undefined reference to `__imp__PackFile_pack_size' /home/Gat/parrot/compilers/imcc/main.c:685: undefined reference to `__imp__IMCC_info' /home/Gat/parrot/compilers/imcc/main.c:686: undefined reference to `__imp__mem_sys_allocate' /home/Gat/parrot/compilers/imcc/main.c:687: undefined reference to `__imp__PackFile_pack' /home/Gat/parrot/compilers/imcc/main.c:691: undefined reference to `__imp__IMCC_fatal_standalone' /home/Gat/parrot/compilers/imcc/main.c:695: undefined reference to `__imp__IMCC_fatal_standalone' /home/Gat/parrot/compilers/imcc/main.c:698: undefined reference to `__imp__IMCC_info' /home/Gat/parrot/compilers/imcc/main.c:704: undefined reference to `__imp__IMCC_info' /home/Gat/parrot/compilers/imcc/main.c:705: undefined reference to `__imp__Parrot_readbc' /home/Gat/parrot/compilers/imcc/main.c:707: undefined reference to `__imp__IMCC_fatal_standalone' /home/Gat/parrot/compilers/imcc/main.c:709: undefined reference to `__imp__Parrot_loadbc' /home/Gat/parrot/compilers/imcc/main.c:721: undefined reference to `__imp__Parrot_shared_DOD_unblock' /home/Gat/parrot/compilers/imcc/main.c:725: undefined reference to `__imp__IMCC_info' /home/Gat/parrot/compilers/imcc/main.c:727: undefined reference to `__imp__IMCC_info' /home/Gat/parrot/compilers/imcc/main.c:730: undefined reference to `__imp__PackFile_fixup_subs' /home/Gat/parrot/compilers/imcc/main.c:732: undefined reference to `__imp__Parrot_runcode' /home/Gat/parrot/compilers/imcc/main.c:737: undefined reference to `__imp__Parrot_destroy' /home/Gat/parrot/compilers/imcc/main.c:738: undefined reference to `__imp__yylex_destroy' /home/Gat/parrot/compilers/imcc/main.c:739: undefined reference to `__imp__Parrot_exit' src/null_config.o: In function `Parrot_set_config_hash': /home/Gat/parrot/src/null_config.c:29: undefined reference to `_Parrot_set_config_hash_internal' collect2: ld returned 1 exit status make: *** [miniparrot.exe] Error 1