Hi,

I'm curious if the change in LDLIBS is unnecessary or not. Could you be so kind and:

1) check that you do have -lssl -lcrypto defined in CONFLIBS variable in top-level MakeVars file

and

2) apply attached patch and test if it is working correctly? (you'll needed to revert your changes first)

I don't have cygwin platform here so I'm not able to test it myself.

Thanks,
Karel
--
Karel Gardas                  [EMAIL PROTECTED]
ObjectSecurity Ltd.           http://www.objectsecurity.com
---
Need experienced, fast, reliable technical MICO support?
---> http://www.objectsecurity.com/mico_commsup_referral.html <---
---

On Wed, 11 Oct 2006, Arun Biyani wrote:

Patrick Gräbel wrote:
Hi!

I experienced the same linking problem, but I solved it by adding the
lib "crypto" (and maybe "ssl") somewhere in the Makefile. Search for
gcc's "-l" parameter inside the Makefile (maybe more than a single one).

Seems that libssl depends on libcrypto which does not get linked via the
make procedure.

After building MICO you always have to link libcrypto/libssl to your
MICO-based projects.

-Patrick
_______________________________________________
Mico-devel mailing list
Mico-devel@mico.org
http://www.mico.org/mailman/listinfo/mico-devel




Thx Patrick for the hint. It was file "mico/ir/Makefile. I had to

LDLIBS   := -lssl -lcrypto -lidl $(LDMICOIR) $(LDMICO) $(CONFLIBS)

PLATFORM_LIBS = -lssl -lcrypto

It works fine now.
Thx
Arun


_______________________________________________
Mico-devel mailing list
Mico-devel@mico.org
http://www.mico.org/mailman/listinfo/mico-devel
--- old-mico/ir/Makefile        2006-02-18 21:49:57.000000000 +0100
+++ new-mico/ir/Makefile        2006-10-12 10:07:43.000000000 +0200
@@ -28,7 +28,7 @@
 
 PLATFORM_LIBS =
 ifeq ($(HAVE_CYGWIN), yes)
-PLATFORM_LIBS := $(PLATFORM_LIBS) ../orb/libmico$(VERSION).$(SOEXT)
+PLATFORM_LIBS := $(PLATFORM_LIBS) $(CONFLIBS) ../orb/libmico$(VERSION).$(SOEXT)
 endif
 
 ifeq ($(HAVE_EXCEPTIONS), yes)

_______________________________________________
Mico-devel mailing list
Mico-devel@mico.org
http://www.mico.org/mailman/listinfo/mico-devel

Reply via email to