# New Ticket Created by  Justin Koser 
# Please include the string:  [perl #37997]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/rt3/Ticket/Display.html?id=37997 >


Hello Parrot hackers,

I'm trying to build Subversion revision 10604 of Parrot on Cygwin, and 
everything seems fine until I end up with a bunch of linker errors. 
Below, please find the contents of `myconfig' and some of the build 
output.  Naturally, I'm willing to help solve this in any way that I can.

Thanks,
Justin


Summary of my parrot 0.4.0 (r10604) configuration:
   configdate='Tue Dec 20 19:56:39 2005'
   Platform:
     osname=cygwin, archname=cygwin-thread-multi-64int
     jitcapable=1, jitarchname=i386-cygwin,
     jitosname=CYGWIN, jitcpuarch=i386
     execcapable=0
     perl=/usr/bin/perl
   Compiler:
     cc='gcc', ccflags=' -pipe -I/usr/local/include',
   Linker and Libraries:
     ld='gcc', ldflags=' -s -L/usr/local/lib',
     cc_ldflags='',
     libs='-lcrypt -lgmp'
   Dynamic Linking:
     share_ext='.dll', ld_share_flags='-shared',
     load_ext='.dll', ld_load_flags='-shared'
   Types:
     iv=long, intvalsize=4, intsize=4, opcode_t=long, opcode_t_size=4,
     ptrsize=4, ptr_alignment=1 byteorder=1234,
     nv=double, numvalsize=8, doublesize=8


gcc -pipe -I/usr/local/include -g -Wall -Wstrict-prototypes 
-Wmissing-prototypes -Winline -Wshadow -Wpointer-arith -Wcast-qual 
-Wcast-align -Wwrite-strings -Waggregate-return -Winline -W -Wno-unused 
-Wsign-compare -Wformat-nonliteral -Wformat-security -Wpacked 
-Wdisabled-optimization -Wno-shadow -falign-functions=16 -I./include 
-DHAS_JIT -DI386 -DHAVE_COMPUTED_GOTO -I. -o xx.o -c xx.c
make -C docs
make[1]: Entering directory `/usr/local/src/parrot/docs'
/usr/bin/perl -e '-d or mkdir $_,0777 or die foreach @ARGV' ops
make[1]: Leaving directory `/usr/local/src/parrot/docs'
make -C src/dynclasses
make[1]: Entering directory `/usr/local/src/parrot/src/dynclasses'
gcc  -s -L/usr/local/lib  -shared -o match_group.dll lib-match_group.o 
match.o matchrange.o  /usr/local/src/parrot/src/extend.o
lib-match_group.o: In function `Parrot_lib_match_group_load':
/usr/local/src/parrot/src/dynclasses/match_group.c:35: undefined 
reference to `_pmc_new'
/usr/local/src/parrot/src/dynclasses/match_group.c:43: undefined 
reference to `_const_string'
/usr/local/src/parrot/src/dynclasses/match_group.c:44: undefined 
reference to `_pmc_register'
/usr/local/src/parrot/src/dynclasses/match_group.c:45: undefined 
reference to `_const_string'
/usr/local/src/parrot/src/dynclasses/match_group.c:46: undefined 
reference to `_pmc_register'
match.o: In function `make_hash_key':
/usr/local/src/parrot/src/dynclasses/match.pmc:33: undefined reference 
to `_internal_exception'
/usr/local/src/parrot/src/dynclasses/match.pmc:37: undefined reference 
to `_key_string'
match.o: In function `match_range':
/usr/local/src/parrot/src/dynclasses/match.pmc:42: undefined reference 
to `_const_string'
/usr/local/src/parrot/src/dynclasses/match.pmc:48: undefined reference 
to `_hash_get_bucket'
/usr/local/src/parrot/src/dynclasses/match.pmc:50: undefined reference 
to `_internal_exception'
/usr/local/src/parrot/src/dynclasses/match.pmc:64: undefined reference 
to `_string_substr'
match.o: In function `fetch_integer':
/usr/local/src/parrot/src/dynclasses/match.pmc:80: undefined reference 
to `_string_to_int'
[ ... more undefined references ... ]
/usr/local/src/parrot/src/extend.o: In function `Parrot_new_string':
/usr/local/src/parrot/src/extend.c:976: undefined reference to 
`_string_make'
/usr/local/src/parrot/src/extend.o: In function `Parrot_register_pmc':
/usr/local/src/parrot/src/extend.c:1028: undefined reference to 
`_dod_register_pmc'
/usr/local/src/parrot/src/extend.o: In function `Parrot_unregister_pmc':
/usr/local/src/parrot/src/extend.c:1054: undefined reference to 
`_dod_unregister_pmc'
/usr/local/src/parrot/src/extend.o: In function `Parrot_get_dod_registry':
/usr/local/src/parrot/src/extend.c:1064: undefined reference to `_pmc_new'
/usr/local/src/parrot/src/extend.o: In function `Parrot_get_vtable':
/usr/local/src/parrot/src/extend.c:1104: undefined reference to 
`_Parrot_base_vtables'
collect2: ld returned 1 exit status
partial link match_group.dll failed (256)
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/local/src/parrot/src/dynclasses'
make: *** [dynclasses.dummy] Error 2

Reply via email to