|
02-05-2008, 02:30 PM
|
#1
|
Human being with feelings
Join Date: Nov 2006
Posts: 24
|
WDL on 64bit Systems
Hi,
I needed the following patch to get the authentication of the ninjam-server working on a 64bit Linux.
Code:
--- sha.cpp (Revision 73)
+++ sha.cpp (Arbeitskopie)
@@ -69,7 +69,7 @@
}
-#define SHA_ROTL(X,n) (((X) << (n)) | ((X) >> (32-(n))))
+#define SHA_ROTL(X,n) ((((X)&0xffffffffL) << (n)) | (((X)&0xffffffffL) >> (32-(n))))
#define SHUFFLE() E = D; D = C; C = SHA_ROTL(B, 30); B = A; A = TEMP
void WDL_SHA1::add(const void *data, int datalen)
|
|
|
02-07-2008, 11:48 AM
|
#2
|
Administrator
Join Date: Jan 2005
Location: NYC
Posts: 15,746
|
Cool, I'll merge in...
-Justin
|
|
|
03-28-2017, 05:36 AM
|
#3
|
Human being with feelings
Join Date: Mar 2007
Posts: 4,018
|
Hi Justin,
it seems that updating of the source code for 64bit systems never happened...?
I did install linux ninjam server (64 bit Ubuntu server) few weeks ago and I had the same problem with authenticating until I found this thread and modified the sha.cpp file by myself according to tgehrig's suggestion.
It would be fine to have the downloadable sources updated ;-)
Thanks
akademie
|
|
|
03-28-2017, 05:41 AM
|
#4
|
Human being with feelings
Join Date: Feb 2007
Location: Oulu, Finland
Posts: 8,062
|
Quote:
Originally Posted by akademie
Hi Justin,
it seems that updating of the source code for 64bit systems never happened...?
I did install linux ninjam server (64 bit Ubuntu server) few weeks ago and I had the same problem with authenticating until I found this thread and modified the sha.cpp file by myself according to tgehrig's suggestion.
It would be fine to have the downloadable sources updated ;-)
Thanks
akademie
|
You must be using some very old WDL source, the change is in the WDL source I've got from the WDL git repo. (Using git is preferable over using source code direct downloads.)
__________________
I am no longer part of the REAPER community. Please don't contact me with any REAPER-related issues.
|
|
|
03-28-2017, 05:52 AM
|
#5
|
Human being with feelings
Join Date: Mar 2007
Posts: 4,018
|
Hello Xenakios, thank you for reply. I have not much experience with Linux and gits...
When installing ninjam server, from terminal I downloaded sourcecode.gz from cockos site unpacked and make...
How can I incorporate/perform git sync/update of downloaded source code from Terminal before "make", please?
Thank you
akademie
|
|
|
03-28-2017, 06:04 AM
|
#6
|
Human being with feelings
Join Date: Feb 2007
Location: Oulu, Finland
Posts: 8,062
|
Quote:
Originally Posted by akademie
Hello Xenakios, thank you for reply. I have not much experience with Linux and gits...
When installing ninjam server, from terminal I downloaded sourcecode.gz from cockos site unpacked and make...
How can I incorporate/perform git sync/update of downloaded source code from Terminal before "make", please?
Thank you
akademie
|
Ah, you are using some source code that has the very old WDL included with it? I don't suppose there's anything to be done in that case except manually edit the wrong WDL line.
__________________
I am no longer part of the REAPER community. Please don't contact me with any REAPER-related issues.
|
|
|
Thread Tools |
|
Display Modes |
Hybrid Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -7. The time now is 08:33 PM.
|