[Ottawa-pm] Perl 5 to 6 tutorials

Michael P. Soulier msoulier at digitaltorque.ca
Mon Oct 13 07:25:16 PDT 2008


On 12/10/08 Yanick Champoux said:

> 	I would expect Perl 5.8 to be just fine for the task (and it's 
> 	exactly what is required within Parrot's Makefile.PL).  At which point of 
> the build process did it choke?

During the link. 

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

Mike
-- 
Michael P. Soulier <msoulier at digitaltorque.ca>
"Any intelligent fool can make things bigger and more complex... It
takes a touch of genius - and a lot of courage to move in the opposite
direction." --Albert Einstein
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
URL: <http://mail.pm.org/pipermail/ottawa-pm/attachments/20081013/7fe49c5e/attachment.bin>


More information about the Ottawa-pm mailing list