[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

Re: [Openvpn-users] Solaris 8 build problem


  • Subject: Re: [Openvpn-users] Solaris 8 build problem
  • From: James Yonan <jim@xxxxxxxxx>
  • Date: Fri, 6 May 2005 18:00:45 -0600 (MDT)

On Fri, 6 May 2005, Chris Stankaitis wrote:

> Chris Stankaitis wrote:
> > Greetings All; build lzo, tun, openvpn and all built well however when I
> > run openvpn It dumps a core... and not a very informative core at that;
> > some insite would be appriciated.
> > 
> > Notes:
> > 
> > LZO-1.08 - build fine all make check;make test said everything was good
> > TUN-1.1 - I couldn't get the thing to build in 64 bit. I was only able
> > to build it in 32 bit mode.
> > 
> > Openvpn-2.0 - everything built and compiled happily (or at least I
> > though it did)
> > 
> > just trying to do a openvpn --help or any command causes the following
> > 
> > (gdb) core  20461.openvpn.1115391515.core
> > Core was generated by `/opt/build/DWopvpn/openvpn/sbin/openvpn'.
> > Program terminated with signal 4, Illegal instruction.
> > Reading symbols from /usr/local/ssl/lib/libssl.so.0.9.7...done.
> > Loaded symbols for /usr/local/ssl/lib/libssl.so.0.9.7
> > Reading symbols from /usr/local/ssl/lib/libcrypto.so.0.9.7...done.
> > Loaded symbols for /usr/local/ssl/lib/libcrypto.so.0.9.7
> > Reading symbols from /usr/lib/libsocket.so.1...done.
> > Loaded symbols for /usr/lib/libsocket.so.1
> > Reading symbols from /usr/lib/libc.so.1...done.
> > Loaded symbols for /usr/lib/libc.so.1
> > Reading symbols from /usr/lib/libnsl.so.1...done.
> > Loaded symbols for /usr/lib/libnsl.so.1
> > Reading symbols from /usr/lib/libdl.so.1...done.
> > Loaded symbols for /usr/lib/libdl.so.1
> > Reading symbols from /usr/local/lib/libgcc_s.so.1...done.
> > Loaded symbols for /usr/local/lib/libgcc_s.so.1
> > Reading symbols from /usr/lib/libmp.so.2...done.
> > Loaded symbols for /usr/lib/libmp.so.2
> > Reading symbols from /usr/platform/SUNW,UltraAX-i2/lib/libc_psr.so.1...done.
> > Loaded symbols for /usr/platform/SUNW,UltraAX-i2/lib/libc_psr.so.1
> > #0  0x0007733c in atexit ()
> > (gdb) bt
> > #0  0x0007733c in atexit ()
> > 
> > 
> > I am no expert but it looks like the first thing it's doing is calling
> > the atexit function... I could find that funxtion either when I greped
> > the code.
> > 
> 
> More Information:
> 
> when I run openvpn in gdb I am seeing a SIGILL,
> 
> (gdb) run
> Starting program: /export/home/chris/openvpn-2.0/openvpn
> [New LWP 1]
> [New LWP 2]
> [New LWP 3]
> 
> Program received signal SIGILL, Illegal instruction.
> 0x000773b8 in atexit ()
> 
> 
>  ldd openvpn
>         libssl.so.0.9.7 =>       /usr/local/ssl/lib/libssl.so.0.9.7
>         libcrypto.so.0.9.7 =>    /usr/local/ssl/lib/libcrypto.so.0.9.7
>         libsocket.so.1 =>        /usr/lib/libsocket.so.1
>         libpthread.so.1 =>       /usr/lib/libpthread.so.1
>         libc.so.1 =>     /usr/lib/libc.so.1
>         libnsl.so.1 =>   /usr/lib/libnsl.so.1
>         libdl.so.1 =>    /usr/lib/libdl.so.1
>         libgcc_s.so.1 =>         /usr/local/lib/libgcc_s.so.1
>         libmp.so.2 =>    /usr/lib/libmp.so.2
>         libthread.so.1 =>        /usr/lib/libthread.so.1
>         /usr/platform/SUNW,UltraAX-i2/lib/libc_psr.so.1
> 
> Note: OpenSSL-0.9.7f (sunfreeware package)
> We are using an ancient version of gcc 2.95.3

I would try a more recent version of gcc.  It would also be useful to see 
how far the code gets before it crashes.  Any idea if the crash is 
occurring before or after main() gets called?

James


____________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users


Warning: require_once(../../../archive_common.php) [function.require-once]: failed to open stream: No such file or directory in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2005-05/msg00082.html on line 260

Fatal error: require_once() [function.require]: Failed opening required '../../../archive_common.php' (include_path='/usr/local/lib/php') in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2005-05/msg00082.html on line 260