Re: [stunnel-users] compilation errors

This is a discussion on Re: [stunnel-users] compilation errors within the Stunnel Users forums, part of the Networking and Network Related category; On Thu, 2005-03-03 at 11:51 +0100, Michal Trojnara wrote: > Greg Matthews wrote: > > it seems ...


Go Back   Usenet Forums > Networking and Network Related > Stunnel Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-03-2005
Greg Matthews
 
Posts: n/a
Default Re: [stunnel-users] compilation errors

On Thu, 2005-03-03 at 11:51 +0100, Michal Trojnara wrote:
> Greg Matthews wrote:
> > it seems socklen_t is undefined as a type on this OS (and also older
> > versions of solaris).

>
> ftp://stunnel.mirt.net/stunnel/socklen_t.patch
>
> It will get integrated in the next release.


excellent! compilation almost completes now. It falls over at the
linking stage:

/bin/sh ../libtool --tag=CC --mode=link cc -n32 -g
-I/usr/local/ssl/include -L/usr/lib32 -o stunnel client.o log.o
options.o protocol.o network.o resolver.o ssl.o sthreads.o stunnel.o
pty.o -lpthread -lsocket -lnsl -ldl -L/usr/local/ssl/lib -lssl
-lcrypto
cc -n32 -g -I/usr/local/ssl/include -o stunnel client.o log.o options.o
protocol.o network.o resolver.o ssl.o sthreads.o stunnel.o pty.o
-L/usr/lib32 -lpthread -lsocket -lnsl -ldl -L/usr/local/ssl/lib -lssl
-lcrypto

<...warnings snipped...>

ld32: ERROR 33: Unresolved text symbol "ENGINE_load_builtin_engines" --
1st referenced by ssl.o.
Use linker option -v to see when and which objects, archives and
dsos are loaded.
ld32: ERROR 33: Unresolved text symbol "ENGINE_register_all_complete" --
1st referenced by ssl.o.
Use linker option -v to see when and which objects, archives and
dsos are loaded.
ld32: ERROR 33: Unresolved text symbol "ENGINE_by_id" -- 1st referenced
by ssl.o.
Use linker option -v to see when and which objects, archives and
dsos are loaded.
ld32: ERROR 33: Unresolved text symbol "ENGINE_init" -- 1st referenced
by ssl.o. Use linker option -v to see when and which objects,
archives and dsos are loaded.
ld32: ERROR 33: Unresolved text symbol "ENGINE_free" -- 1st referenced
by ssl.o. Use linker option -v to see when and which objects,
archives and dsos are loaded.
ld32: ERROR 33: Unresolved text symbol "ENGINE_set_default" -- 1st
referenced by ssl.o.
Use linker option -v to see when and which objects, archives and
dsos are loaded.
ld32: ERROR 33: Unresolved text symbol "ENGINE_finish" -- 1st referenced
by ssl.o.
Use linker option -v to see when and which objects, archives and
dsos are loaded.
ld32: INFO 152: Output file removed because of error.
*** Error code 2 (bu21)
*** Error code 1 (bu21)

these symbols should be included from engine.h which was found during
configure (/usr/local/ssl/include/openssl/engine.h). I've tried setting
CPPFLAGS to explicitly point to the right directory. Any idea what I can
do here?

here is the relevant o/p from configure:
configure: **************************************** SSL and entropy
checking for SSL directory... /usr/local/ssl
checking /usr/local/ssl/include/openssl/engine.h usability... yes
checking /usr/local/ssl/include/openssl/engine.h presence... yes
checking for /usr/local/ssl/include/openssl/engine.h... yes
checking for "/dev/urandom"... no

I've snipped out the warnings before the above errors as I'm told the
mips compiler complains a lot anyway but let me know if you think they
might be useful (mainly weak definitions).

GREG

>
> Best regards,
> Mike
> _______________________________________________
> stunnel-users mailing list
> stunnel-users@mirt.net
> http://stunnel.mirt.net/mailman/listinfo/stunnel-users

--
Greg Matthews
iTSS Wallingford 01491 692445

_______________________________________________
stunnel-users mailing list
stunnel-users@mirt.net
http://stunnel.mirt.net/mailman/listinfo/stunnel-users
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:09 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0