[ gaim-Support Requests-1384517 ] Gaim 2.0.0cvs on IRIX - needed tweaks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Support Requests item #1384517, was opened at 2005-12-18 19:08
Message generated for change (Comment added) made by alverino
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=200235&aid=1384517&group_id=235

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Priority: 5
Submitted By: Lennert Van Alboom (alverino)
Assigned to: Mark Doliner (thekingant)
Summary: Gaim 2.0.0cvs on IRIX - needed tweaks

Initial Comment:
I compiled gaim 2.0.0cvs (16-12-2005, around 20:00
GMT+1, if that matters) on IRIX 6.5.27, with the
following tweaks:

1) All needed dependencies from nekoware (supplied by
the www.nekochan.net community).


2) Edited the "configure" script to replace all
instances of "-lnls" by "-lnls -lgnutls". If not, no
SSL support, for some obscure reason.


3) Following configure line:

LD_LIBRARY_PATH=/usr/nekoware ./configure
--enable-nss=no --enable-gnutls=yes
--with-tclconfig=/usr/nekoware/lib
--with-tkconfig=/usr/nekoware/lib --enable-debug

This got me tons of warnings of the type: 

ld32: WARNING <number>: weak definition of XXX in
/usr/lib32/libnsl.so preempts that weak definition in
/usr/lib32/mips3/libc.so.

Some other warnings too - I attached config.log.


4) libgadu-config.h:

#include <stdint.h>
needs to be commented out.


5) getopts.c:

#include <string.h>
needs to be added.


6) dnssrv.c: IRIX has no arpa/nameser-compat.h, and no
decent arpa/nameser.h.

#include <arpa/nameser_compat.h>
needs to be commented out;

# define NS_GET16(src, dst)     __putshort((unsigned
short) src, dst)
needs to be added. I *hope* this has the exact same
behaviour, but so far it seems to work.


After that, gmake && gmake install, and all went smooth. 

----------------------------------------------------------------------

>Comment By: Lennert Van Alboom (alverino)
Date: 2006-02-11 15:06

Message:
Logged In: YES 
user_id=885350

Update:

Thanks for the fixes - right now I only need the configure
hack and a way to get NS_GET16 working, to have a gaim build.

I've tried to add a jabber account, at which it crashed in
gnutls. Disabling TLS for the jabber account gives a working
(yet unable to connect) jabber account.Strange thing since
MSN works just fine with that same GnuTLS.

I've tried a different approach this time for the
arpe/nameser.h problem - I inserted the "custom" headers
Bind 9 ships with its source to handle this dns issue on
various platforms, which also builds fine after deleting an
include.

Here's a (dbx, since gdb won't work) backtrace of the core:

Core from signal SIGBUS: Bus error
(dbx) where
>  0 do_encrypt(0x105f09a8, 0x105fae9d, 0x105fae9d, 0x90,
0x90, 0x20, 0x4, 0x105fae9d)
["/raids/strip2/MIPS/libgcrypt-1.2.0/cipher/rijndael.c":1899,
0x4afe38c]
   1 rijndael_encrypt(0x105f09a8, 0x105fae9d, 0x105fae9d,
0x90, 0x90, 0x20, 0x4, 0x105fae9d)
["/raids/strip2/MIPS/libgcrypt-1.2.0/cipher/rijndael.c":1976,
0x4afe920]
   2 do_cbc_encrypt(0x105f0958, 0x105fae9d, 0x105fae9d, 0x0,
0x90, 0x20, 0x4, 0x105fae9d)
["/raids/strip2/MIPS/libgcrypt-1.2.0/cipher/cipher.c":786,
0x4ae3fe0]
   3 cipher_encrypt(0x105f09a8, 0x105fae9d, 0x105fae9d,
0x90, 0x90, 0x20, 0x4, 0x105fae9d)
["/raids/strip2/MIPS/libgcrypt-1.2.0/cipher/cipher.c":1034,
0x4ae5040]
   4 gcry_cipher_encrypt(0x105f09a8, 0x105fae9d, 0x90, 0x90,
0x90, 0x20, 0x4, 0x105fae9d)
["/raids/strip2/MIPS/libgcrypt-1.2.0/cipher/cipher.c":1075,
0x4ae5230]
   5 _gnutls_cipher_encrypt(0x105f09a8, 0x105fae9d,
0x105fae9d, 0x90, 0x90, 0x20, 0x4, 0x105fae9d)
["/raids/strip2/MIPS/gnutls-1.0.20/lib/gnutls_cipher_int.c":72,
0x42671e4]
   6 _gnutls_compressed2ciphertext(0x105f1a40, 0x0, 0x0,
0x7fff1a50, 0x0, 0x0, 0x4, 0x105fae9d)
["/raids/strip2/MIPS/gnutls-1.0.20/lib/gnutls_cipher.c":346,
0x4257424]
   7 _gnutls_encrypt(0x105f1a40, 0x0, 0x5, 0x7fff1a50, 0x10,
0x105fae98, 0x0, 0x0)
["/raids/strip2/MIPS/gnutls-1.0.20/lib/gnutls_cipher.c":90,
0x4256d1c]
   8 _gnutls_send_int(0x105f1a40, 0x16, 0x0, 0x0, 0x90,
0x20, 0x4, 0x105fae9d)
["/raids/strip2/MIPS/gnutls-1.0.20/lib/gnutls_record.c":340,
0x425524c]
   9 _gnutls_handshake_io_send_int(0x0, 0x0, 0x105fae9d,
0x0, 0x10, 0x20, 0x4, 0x0)
["/raids/strip2/MIPS/gnutls-1.0.20/lib/gnutls_buffers.c":776,
0x4259bec]
   10 _gnutls_send_handshake(0x105f09a8, 0x105fae9d, 0x14,
0x90, 0x90, 0x20, 0x4, 0x105fae9d)
["/raids/strip2/MIPS/gnutls-1.0.20/lib/gnutls_handshake.c":793,
0x425c204]
   11 _gnutls_send_finished(0x105f1a40, 0x105fae9d,
0x105fae9d, 0x90, 0x90, 0x20, 0x4, 0x105fae9d)
["/raids/strip2/MIPS/gnutls-1.0.20/lib/gnutls_handshake.c":443,
0x425b334]
   12 _gnutls_send_handshake_final(0x0, 0x0, 0x105fae9d,
0x90, 0x90, 0x20, 0x4, 0x105fae9d)
["/raids/strip2/MIPS/gnutls-1.0.20/lib/gnutls_handshake.c":2109,
0x425f3f0]
   13 _gnutls_handshake_common(0x105f1a40, 0x105fae9d,
0x105fae9d, 0x90, 0x0, 0x20, 0x4, 0x105fae9d)
["/raids/strip2/MIPS/gnutls-1.0.20/lib/gnutls_handshake.c":2300,
0x4260228]
   14 gnutls_handshake(0x105f1a40, 0x105fae9d, 0x105fae9d,
0x90, 0x90, 0x20, 0x4, 0x105fae9d)
["/raids/strip2/MIPS/gnutls-1.0.20/lib/gnutls_handshake.c":1920,
0x425e7e4]
   15 ssl_gnutls_handshake_cb(data = 0x104e9718, source =
274706077, cond = GAIM_INPUT_READ=1)
["/usr/people/alver/Build/gaim/plugins/ssl/ssl-gnutls.c":77,
0x5ffc35e4]
   16 rijndael_encrypt(0x105f09a8, 0x105fae9d, 0x105fae9d,
0x90, 0x90, 0x20, 0x4, 0x105fae9d)
["/raids/strip2/MIPS/libgcrypt-1.2.0/cipher/rijndael.c":1976,
0x4afe920]
   17 gaim_gtk_io_invoke(source = 0x105f09a8, condition =
274706077, data = 0x105fae9d)
["/usr/people/alver/Build/gaim/src/gtkeventloop.c":46,
0x100c1c20]
   18 rijndael_encrypt(0x105f09a8, 0x105fae9d, 0x105fae9d,
0x90, 0x90, 0x20, 0x4, 0x105fae9d)
["/raids/strip2/MIPS/libgcrypt-1.2.0/cipher/rijndael.c":1976,
0x4afe920]
   19 <Unknown>() [< unknown >, 0x2fef918]
(dbx)

----------------------------------------------------------------------

Comment By: Richard Laager (rlaager)
Date: 2005-12-19 13:48

Message:
Logged In: YES 
user_id=156487

I committed some stuff. All that should be left is dealing 
with #2 and the NS_GET16 part of #6, which I'm not sure is 
correct. My version of NS_GET16 increments dst. Does 
__putshort? 

----------------------------------------------------------------------

Comment By: Lennert Van Alboom (alverino)
Date: 2005-12-19 13:01

Message:
Logged In: YES 
user_id=885350

Argh, retarded typo in 2): -lnsl of course, not -lnls.

----------------------------------------------------------------------

Comment By: Luke Schierer (lschiere)
Date: 2005-12-18 19:21

Message:
Logged In: YES 
user_id=28833

Mark, can you look at these changes? will they break us
elsewhere? 

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=200235&aid=1384517&group_id=235


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Gaim-support mailing list
Gaim-support@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/gaim-support

[Index of Archives]     [Kernel Development]     [Red Hat Install]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux