[mico-devel] compile error under cygwin using gcc-3.4.4
Anthony Chan
achan at acm.org
Tue Mar 20 13:07:09 PDT 2007
Hello All,
I now reinstalled the cygwin and using the gcc version 3.4.4 to recompile
the mico 2.3.12. This time, it goes through all the compilation without
error but it breaks at linking. The errors are list as follow:
ar rc libmico2.3.12.a os-unix.o dii.o typecode.o any.o codec.o buffer.o
context.o except.o dispatch.o string.o object.o address.o ior.o orb.o dsi.o
transport.o transport/tcp.o transport/udp.o transport/unix.o iop.o util.o
basic_seq.o fast_array.o ssl.o fixed.o intercept.o codeset.o queue.o
static.o current.o policy_impl.o service_info.o ioptypes.o ssliop.o value.o
valuetype.o valuetype_impl.o dynany_impl.o policy2.o tckind.o orb_excepts.o
policy.o poa.o poa_base.o poa_impl.o dynany.o uni_base64.o uni_unicode.o
uni_fromuni.o uni_touni.o except2.o pi.o pi_impl.o typecode_seq.o timebase.o
ir.o ir_base.o imr.o mtdebug.o reflection.o security/csi_base.o
security/csi.o security/csiiop.o security/gssup.o security/csiv2.o
security/csiv2_impl.o
ranlib libmico2.3.12.a
/f/dev/mico/mico/./admin/mkinstalldirs ../libs
cd ../libs; rm -f libmico2.3.12.a; cp ../orb/libmico2.3.12.a .
make[1]: Leaving directory `/f/dev/mico/mico/orb'
make[1]: Entering directory `/f/dev/mico/mico/ir'
echo '# Module dependencies' > .depend
/f/dev/mico/mico/./admin/mkdepend -I. -I../idl -I../include -Wall
-L/usr/lib *.cc >> .depend
c++ -mthreads -I. -I../idl -I../include -Wall -L/usr/lib -DPIC -c
ir_skel.cc -o ir_skel.pic.o
c++ -mthreads -I. -I../idl -I../include -Wall -L/usr/lib -DPIC -c
ir_impl.cc -o ir_impl.pic.o
rm -f libmicoir2.3.12.dll
/f/dev/mico/mico/./admin/mico-shld -o libmicoir2.3.12 ir_skel.pic.o
ir_impl.pic.o -L../libs -lmico2.3.12 ../orb/libmico2.3.12.dll
c++ -mthreads -shared '-L../libs' -o libmicoir2.3.12.dll
'ir_skel.pic.o' 'ir_impl.pic.o' '-lmico2.3.12' '../orb/libmico2.3.12.dll'
../libs/libmico2.3.12.a(ssl.o):ssl.cc:(.text+0x163b): undefined reference to
`_BIO_new'
../libs/libmico2.3.12.a(ssl.o):ssl.cc:(.text+0x1695): undefined reference to
`_BIO_ctrl'
../libs/libmico2.3.12.a(ssl.o):ssl.cc:(.text+0x16a8): undefined reference to
`_SSL_new'
../libs/libmico2.3.12.a(ssl.o):ssl.cc:(.text+0x16d0): undefined reference to
`_SSL_set_bio'
---
---
---
../libs/libmico2.3.12.a(ssl.o):ssl.cc:(.text+0x8449): undefined reference to
`_X509_NAME_get_text_by_NID'
../libs/libmico2.3.12.a(ssl.o):ssl.cc:(.text+0x86a4): undefined reference to
`_X509_get_subject_name'
../libs/libmico2.3.12.a(ssl.o):ssl.cc:(.text+0x880d): undefined reference to
`_X509_get_issuer_name'
collect2: ld returned 1 exit status
make[1]: *** [libmicoir2.3.12.dll] Error 1
make[1]: Leaving directory `/f/dev/mico/mico/ir'
make: *** [system] Error 1
I have checked that the file, MakeVars, contains option to link the library
of crypto - "CONFLIBS = -lssl -lcrypto -ldl -lm".
Also, all patches are applied.
Any suggestions? Thank you.
Regards,
Anthony
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.mico.org/pipermail/mico-devel/attachments/20070320/1c09bda9/attachment.html
More information about the Mico-devel
mailing list