Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > General > Decrypting
Register FAQ Calendar Today's Posts Search

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 17th August 2008, 15:34   #10  |  Link
Oopho2ei
Guest
 
Posts: n/a
I need the following patch to compile aacskeys on my my linux distribution (debian/lenny) with gcc (version 4.3.1):

Code:
diff -rupN aacskeys-0.3.0/src/aacs_ecdsa.cpp aacskeys-0.3.0_fixed/src/aacs_ecdsa.cpp
--- aacskeys-0.3.0/src/aacs_ecdsa.cpp   2008-07-24 07:06:58.000000000 +0200
+++ aacskeys-0.3.0_fixed/src/aacs_ecdsa.cpp     2008-08-17 16:09:28.000000000 +0200
@@ -2,6 +2,7 @@

 #include <cstdio>
 #include <string>
+#include <cstring>

 #include <openssl/bn.h>
 #include <openssl/evp.h>
diff -rupN aacskeys-0.3.0/src/aacskeys.cpp aacskeys-0.3.0_fixed/src/aacskeys.cpp
--- aacskeys-0.3.0/src/aacskeys.cpp     2008-07-24 08:31:29.000000000 +0200
+++ aacskeys-0.3.0_fixed/src/aacskeys.cpp       2008-08-17 16:10:36.000000000 +0200
@@ -35,6 +35,7 @@
 // general
 #include <cstdio>
 #include <string>
+#include <cstring>
 //#include <malloc.h>

 /* *** KenD00 start: Added include for variable argument list processing *** */
diff -rupN aacskeys-0.3.0/src/ioctl.cpp aacskeys-0.3.0_fixed/src/ioctl.cpp
--- aacskeys-0.3.0/src/ioctl.cpp        2008-07-24 07:06:58.000000000 +0200
+++ aacskeys-0.3.0_fixed/src/ioctl.cpp  2008-08-17 16:11:42.000000000 +0200
@@ -2,6 +2,7 @@

 #include <cstdio>
 #include <sstream>
+#include <cstring>
 #include <iomanip>


diff -rupN aacskeys-0.3.0/src/mmc.cpp aacskeys-0.3.0_fixed/src/mmc.cpp
--- aacskeys-0.3.0/src/mmc.cpp  2008-07-24 07:06:58.000000000 +0200
+++ aacskeys-0.3.0_fixed/src/mmc.cpp    2008-08-17 16:12:21.000000000 +0200
@@ -1,6 +1,7 @@
 #include "mmc.h"

 #include <string>
+#include <cstring>
 #include <cstdio>

 #define CDB_SIZE 16
Otherwise i get errors like:
Code:
aacs_ecdsa.cpp                                                                                                                                                         
src/aacs_ecdsa.cpp: In function ‘int aacs_calculate_bus_key(unsigned char*, unsigned char*, unsigned char*, unsigned char*)’:                                          
src/aacs_ecdsa.cpp:330: error: ‘memcpy’ was not declared in this scope
copy the file in the root directory of aacskeys and use patch -p1 < patchname.diff

Maybe you can fix this in the upcomping new release too
  Reply With Quote
 


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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.