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


After learning that some folks were having troubles building parrot on
Cygwin, I decided to dust off my local copy and give it a go

step 1:  PATH=/usr/bin:home/Gat/parrot/blib/lib
step 2:  make realclean; svn up; perl Configure.PL; make

failure:

gcc -o digest_group.dll lib-digest_group.o md2.o md4.o md5.o ripemd160.o
sha.o sha1.o   -s -L/usr/local/lib   -shared -L/home
/Gat/parrot/blib/lib -lparrot
md2.o: In function `Parrot_MD2_nci_MD2_Init':
/home/Gat/parrot/src/dynpmc/./md2.pmc:101: undefined reference to
`_MD2_Init'
md2.o: In function `Parrot_MD2_nci_MD2_Update':
/home/Gat/parrot/src/dynpmc/./md2.pmc:115: undefined reference to
`_MD2_Update

bunch of lines removed


in #parrot chromatic suggested attempting to link by hand with the following
working:

Step 3: cd src/dynpmc
Step 4:  gcc -o digest_group.dll lib-digest_group.o md2.o md4.o md5.o
ripemd160.o sha.o sha1.o -lcrypto  -s -L/usr/local/lib   -shared
-L/home/Gat/parrot/blib/lib -lparrot

note:  the addition of -lcrypto

Step 5:  cd ../..
Step 6:  make

which finishes as expected

Cheers,
Joshua Gatcomb
a.k.a. Limbic~Region

Reply via email to