Git Product home page Git Product logo

xsdm's People

Contributors

stidofficial avatar v3l0c1r4pt0r avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

xsdm's Issues

Error Makefile

Makefile:342: die Regel für Ziel „all-recursive“ scheiterte
make: *** [all-recursive] Error 1

Cabinet with more than one file inside

Hello, i tried to download a file using your software and then this mesage appeared... Nice work btw 👍

%DEBUG_START%
edv: '224922653^^WmxvFwH9yCiwSTtrWJOgc5IloiLVl7b8Pa1DKn9z4gDnG2d44Pvou2QDCDE1ZGGi75576759'
header:
0000: 0xCA 0x51 0x53 0x10 0x96 0x44 0xDA 0xFD
0008: 0x00 0xAA 0xD9 0xA1 0xDC 0xE1 0xC4 0xAB
0010: 0xF1 0x26 0xA4 0xB0 0xA7 0xBC 0x05 0x10
0018: 0xBC 0x49 0x3B 0x54 0x7C 0x3E 0x24 0x48
0020: 0xF7 0xDB 0x07 0x0A 0x99 0xB6 0x77 0x36
0028: 0x03 0x5E 0xCF 0x90 0x97 0x9F 0xC2 0x88
0030: 0x0F 0x7D 0x15 0x0F 0x00 0x25 0x39 0x23
0038: 0x57 0xBD 0x51 0x4D 0x98 0x7F 0xF8 0xC2
0040: 0x1B 0x03 0xF1 0x43 0x44 0xA3 0xEA 0xAD
0048: 0xBC 0x01 0x65 0x9C 0x86 0x61 0xB2 0x09
0050: 0x32 0xFC 0xDC 0x64 0xD8 0xB7 0xE1 0xE7
0058: 0xAF 0xFF 0xF1 0x04 0x65 0x55 0x93 0xFC
0060: 0x66 0x5B 0x7A 0x0D 0xF2 0x9E 0x34 0x40
0068: 0x58 0x67 0x36 0x17 0xBD 0x11 0x56 0x85
0070: 0x0F 0x08 0x9F 0xF2 0x85 0x30 0xCF 0xD4
0078: 0x98 0x58 0x1A 0x95 0x94 0xB1 0xE2 0x99
0080: 0xD6 0x6E 0x5F 0x86 0x7A 0x47 0x75 0x41
0088: 0x89 0x1B 0x83 0xFE 0x27 0x50 0xEB 0xF0
0090: 0x8C 0xBB 0x26 0xAC 0x36 0x19 0x10 0xC3
0098: 0x7C 0x68 0x46 0x7A 0x40 0xB3 0x5F 0x65
00A0: 0x52 0xEC 0x3E 0x9D 0x09 0x54 0xE9 0x1F
00A8: 0x8A 0xFF 0xBF 0x74 0x39 0xE5 0x3C 0x0F
00B0: 0xF0 0x1C 0xD2 0x7B 0x03 0xD2 0x24 0xB2
00B8: 0x7A 0x2B 0x60 0x26 0xE5 0xFB 0x6D 0xCC
00C0: 0x7A 0x2B 0x60 0x26 0xE5 0xFB 0x6D 0xCC
00C8: 0x7A 0x2B 0x60 0x26 0xE5 0xFB 0x6D 0xCC
00D0: 0x7A 0x2B 0x60 0x26 0xE5 0xFB 0x6D 0xCC
00D8: 0x7A 0x2B 0x60 0x26 0xE5 0xFB 0x6D 0xCC
00E0: 0x7A 0x2B 0x60 0x26 0xE5 0xFB 0x6D 0xCC
00E8: 0x7A 0x2B 0x60 0x26 0xE5 0xFB 0x6D 0xCC
00F0: 0x7A 0x2B 0x60 0x26 0xE5 0xFB 0x6D 0xCC
00F8: 0x7A 0x2B 0x60 0x26 0xE5 0xFB 0x6D 0xCC
0100: 0x7A 0x2B 0x60 0x26 0xE5 0xFB 0x6D 0xCC
0108: 0x7A 0x2B 0x60 0x26 0xE5 0xFB 0x6D 0xCC
0110: 0x7A 0x2B 0x60 0x26 0xE5 0xFB 0x6D 0xCC
0118: 0x7A 0x2B 0x60 0x26 0xE5 0xFB 0x6D 0xCC
0120: 0x7A 0x2B 0x60 0x26 0xE5 0xFB 0x6D 0xCC
0128: 0x7A 0x2B 0x60 0x26 0xE5 0xFB 0x6D 0xCC
0130: 0x7A 0x2B 0x60 0x26 0xE5 0xFB 0x6D 0xCC
0138: 0x7A 0x2B 0x60 0x26 0xE5 0xFB 0x6D 0xCC
0140: 0x7A 0x2B 0x60 0x26 0xE5 0xFB 0x6D 0xCC
0148: 0x7A 0x2B 0x60 0x26 0xE5 0xFB 0x6D 0xCC
0150: 0x7A 0x2B 0x60 0x26 0xE5 0xFB 0x6D 0xCC
0158: 0x7A 0x2B 0x60 0x26 0xE5 0xFB 0x6D 0xCC
0160: 0x7A 0x2B 0x60 0x26 0xE5 0xFB 0x6D 0xCC
0168: 0x7A 0x2B 0x60 0x26 0xE5 0xFB 0x6D 0xCC
0170: 0x7A 0x2B 0x60 0x26 0xE5 0xFB 0x6D 0xCC
0178: 0x7A 0x2B 0x60 0x26 0xE5 0xFB 0x6D 0xCC
0180: 0x7A 0x2B 0x60 0x26 0xE5 0xFB 0x6D 0xCC
0188: 0x7A 0x2B 0x60 0x26 0xE5 0xFB 0x6D 0xCC
0190: 0x7A 0x2B 0x60 0x26 0xE5 0xFB 0x6D 0xCC
0198: 0x7A 0x2B 0x60 0x26 0xE5 0xFB 0x6D 0xCC
01A0: 0x7A 0x2B 0x60 0x26 0xE5 0xFB 0x6D 0xCC
01A8: 0x7A 0x2B 0x60 0x26 0xE5 0xFB 0x6D 0xCC
01B0: 0x7A 0x2B 0x60 0x26 0xE5 0xFB 0x6D 0xCC
01B8: 0x7A 0x2B 0x60 0x26 0xE5 0xFB 0x6D 0xCC
01C0: 0x7A 0x2B 0x60 0x26 0xE5 0xFB 0x6D 0xCC
01C8: 0x7A 0x2B 0x60 0x26 0xE5 0xFB 0x6D 0xCC
01D0: 0x7A 0x2B 0x60 0x26 0xE5 0xFB 0x6D 0xCC
01D8: 0x7A 0x2B 0x60 0x26 0xE5 0xFB 0x6D 0xCC
01E0: 0x7A 0x2B 0x60 0x26 0xE5 0xFB 0x6D 0xCC
01E8: 0x7A 0x2B 0x60 0x26 0xE5 0xFB 0x6D 0xCC
01F0: 0x7A 0x2B 0x60 0x26 0xE5 0xFB 0x6D 0xCC
01F8: 0x7A 0x2B 0x60 0x26 0xE5 0xFB 0x6D 0xCC
%DEBUG_END%

Trouble compiling on Xubuntu

Hi there,

I'm trying to build this from the latest tarball on the releases page, I have the required packages installed and can run configure without errors but when I try to compile I get a large number of compiler/linker errors. I've included the console output from trying to run make immediately after running configure.

I'd be happy to provide any more information that might be helpful.

username@hostname:~/git/xSDM-0.1.3-beta$ make
Making all in src
make[1]: Entering directory '/home/username/git/xSDM-0.1.3-beta/src'
depbase=echo main.o | sed 's|[^/]*$|.deps/&|;s|\.o$||';
gcc -DPACKAGE_NAME="xsdm" -DPACKAGE_TARNAME="xsdm" -DPACKAGE_VERSION="0.1.3" -DPACKAGE_STRING="xsdm\ 0.1.3" -DPACKAGE_BUGREPORT="" -DPACKAGE_URL="" -DPACKAGE="xsdm" -DVERSION="0.1.3" -DHAVE_LIBZ=1 -DHAVE_LIBMCRYPT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDINT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_ERRNO_H=1 -DHAVE_STDIO_H=1 -DHAVE_LIBGEN_H=1 -DHAVE_ZLIB_H=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_STRSTR=1 -DHAVE_STRTOUL=1 -I. -Wall -g -O2 -MT main.o -MD -MP -MF $depbase.Tpo -c -o main.o main.c &&
mv -f $depbase.Tpo $depbase.Po
main.c: In function ‘main’:
main.c:133:16: warning: format ‘%s’ expects argument of type ‘char _’, but argument 3 has type ‘void *’ [-Wformat=]
);
^
main.c:155:9: warning: format ‘%X’ expects argument of type ‘unsigned int’, but argument 4 has type ‘uLong’ [-Wformat=]
fprintf(stderr, "%s: crc32: 0x%08X; orig: 0x%08X\n", argv[0], crc, unpackData.checksum);
^
main.c:164:9: warning: format ‘%X’ expects argument of type ‘unsigned int’, but argument 5 has type ‘uLong’ [-Wformat=]
);
^
main.c:206:5: warning: format ‘%s’ expects argument of type ‘char *’, but argument 4 has type ‘void *’ [-Wformat=]
sprintf(outFile,"%s/%s",sdcDir,dirName);
^
main.c:226:5: warning: format ‘%s’ expects argument of type ‘char *’, but argument 4 has type ‘void *’ [-Wformat=]
sprintf(outFile,"%s/%s/%s",sdcDir,dirName,baseName);
^
main.c:246:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
if(r = fseek(in,headerSize+4,SEEK_SET)!=0)
^
main.c:78:5: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
fread(unformatted,1,unformattedLength,key);
^
main.c:98:5: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
fread(hdrSizeBuff,1,4,in);
^
depbase=echo xsdc.o | sed 's|[^/]_$|.deps/&|;s|.o$||';
gcc -DPACKAGE_NAME="xsdm" -DPACKAGE_TARNAME="xsdm" -DPACKAGE_VERSION="0.1.3" -DPACKAGE_STRING="xsdm\ 0.1.3" -DPACKAGE_BUGREPORT="" -DPACKAGE_URL="" -DPACKAGE="xsdm" -DVERSION="0.1.3" -DHAVE_LIBZ=1 -DHAVE_LIBMCRYPT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDINT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_ERRNO_H=1 -DHAVE_STDIO_H=1 -DHAVE_LIBGEN_H=1 -DHAVE_ZLIB_H=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_STRSTR=1 -DHAVE_STRTOUL=1 -I. -Wall -g -O2 -MT xsdc.o -MD -MP -MF $depbase.Tpo -c -o xsdc.o xsdc.c &&
mv -f $depbase.Tpo $depbase.Po
xsdc.c: In function ‘loadHeader’:
xsdc.c:141:5: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
fread(data,1,hdrSize,f);
^
gcc -Wall -g -O2 -o xsdm main.o xsdc.o -lmcrypt -lz
make[1]: Leaving directory '/home/username/git/xSDM-0.1.3-beta/src'
Making all in tests
make[1]: Entering directory '/home/username/git/xSDM-0.1.3-beta/tests'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/username/git/xSDM-0.1.3-beta/tests'
make[1]: Entering directory '/home/username/git/xSDM-0.1.3-beta'
make[1]: Nothing to be done for 'all-am'.
make[1]: Leaving directory '/home/username/git/xSDM-0.1.3-beta'

aclocal and autoconf versions hardcoded

Hello, I wanted to build and install on openSUSE 13.2. I have a version of aclocal and autoconf that do not match the xSDM versions, so I had to manuall override the xSDM missing files.

xSDM/missing: line 81: aclocal-1.15: command not found
xSDM/missing: line 81: automake-1.15: command not found

after changing the missing file, the build went out as expected.

I think those versions are hardcoded on https://github.com/v3l0c1r4pt0r/xSDM/blob/master/aclocal.m4#L35

Cheers

Makefile

I'm having difficulty building this on Ubuntu. "make" wants a Makefile without an extension. I found these instructions - http://inti.sourceforge.net/tutorial/libinti/autotoolsproject.html - which tell me to run ./configure first (which does generate a Makefile!). Running make gives the following error, though:

$ make
/bin/bash ./config.status --recheck
running CONFIG_SHELL=/bin/bash /bin/bash ./configure --no-create --no-recursion
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
./configure: line 4030: syntax error near unexpected token 0.9,' ./configure: line 4030:AM_PATH_CHECK(0.9, ,'
make: *** [config.status] Error 2

It doesn't like some syntax in the config file. What do you suggest?

xSDM-0.1.3-beta/src/xsdm': free(): invalid pointer

Hi!

Im getting an error saying:
"*** Error in `xSDM-0.1.3-beta/src/xsdm': free(): invalid pointer: 0x00007f33b3caa406 ***
Unpacking file(s)... Aborted (core dumped)"
When trying to unpack a sdc file.
The whole thing is here:

Opening SDC file... [OK]
Verifying keyfile... [OK]
Validating SDC header... [OK]
Checking file integrity... [OK]
Decoding file name... [OK]
Creating directory structure... [OK]
*** Error in `xSDM-0.1.3-beta/src/xsdm': free(): invalid pointer: 0x00007f33b3caa406 ***
Unpacking file(s)... Aborted (core dumped)

Easier way to download files.

New Key URL

The old one (from your 404'd blog)
http://[SDXdomain]/WebStore/Account/SDMAuthorize.aspx?oiopu=[oiopu]&f=[fileID]&oiop=[oiop]&dl=[dlSelect] (not .ashx)

Results in

The current download configuration has changed. You need to remove this client from your machine and download again from the webstore; you can find your download from the Your Account section of the site once you have signed into the system.

As that new client crashes for me, I was trying this project.
Anyone able to get a new URL?

doesn't work with file in other folder

$ ./xsdm ~/Downloads/de_windows_8.1_with_update_x86_dvd_4048128.01.sdc
Opening SDC file... [OK]
Verifying keyfile... [OK]
Validating SDC header... [OK]
Checking file integrity... [OK]
Decoding file name... [OK]
*** Error in `./xsdm': malloc(): memory corruption: 0x000000000216e400 ***

moving in sdc into same folder solves the problem

missing separator

I tried to build, but got the following error:

$ ./configure

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating tests/Makefile
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for CHECK... no
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for inflate in -lz... yes
checking for mcrypt_module_open in -lmcrypt... no
Libmcrypt is required for this program

$ make

Making all in src
make[1]: Entering directory '/home/xxx/xSDM/src'
Makefile:345: *** missing separator (did you mean TAB instead of 8 spaces?). Stop.
make[1]: Leaving directory '/home/xxx/xSDM/src'
Makefile:342: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1

Value too large for defined data type

When i launch the executable with the sdc as parameter (in my case is larger than 2GB), it immediately fail with this output:
Opening SDC file... [FAIL]
/home/gabriele/Downloads/01.sdc: Value too large for defined data type

Even with -f option, the result is the same.

Makefile:345: *** missing separator (did you mean TAB instead of 8 spaces?)

Anyone know what this means?

root@kali:~/Desktop/xSDM-master# make
Making all in src
make[1]: Entering directory '/root/Desktop/xSDM-master/src'
Makefile:345: *** missing separator (did you mean TAB instead of 8 spaces?). Stop.
make[1]: Leaving directory '/root/Desktop/xSDM-master/src'
Makefile:342: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1

The same error happens with "make install" and even when I use " sudo make or sudo make install"

THANKS!

Directory creation failed with errno: 2

I'm having a problem when I try to unpack en_sql_server_2008_r2_developer_x86_x64_ia64_dvd_522665.01.sdc
it says
Opening SDC file... [OK]
Verifying keyfile... [OK]
Validating SDC header... [OK]
Warning! This container contains more than one file. However this program can only extract first one. Check for updates!
I don't know why this message comes out because I used xSDM a lot and it never happened before.

Problem with unpacking by SDM

$ xsdm '/home/gulliver/Python/SDM Downloader/SDC/1.sdc' 
Opening SDC file...     [OK]
[FAIL]
/home/gulliver/Python/SDM Downloader/SDC/1.sdc.key: No such file or directory

The file have 3.6 GB (en_windows_8_1_x64_dvd). This file has been from two files via dd.

Does not make: aclocal

Hello
Almost have it running. ./configure looks okay. However, during make there is an issue with aclocal. Someone recommends touch aclocal but this does not necessarily help. See below. Any ideas?

[dave@localhost xSDM]$ uname -a
Linux localhost 4.3.4-200.fc22.x86_64 #1 SMP Mon Jan 25 13:37:15 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

Before touch:

[dave@localhost xSDM]$ make install

CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /home/dave/Desktop/xSDM/xSDM/missing aclocal-1.15 
/home/dave/Desktop/xSDM/xSDM/missing: line 81: aclocal-1.15: command not found
WARNING: 'aclocal-1.15' is missing on your system.
         You should only need it if you modified 'acinclude.m4' or
         'configure.ac' or m4 files included by 'configure.ac'.
         The 'aclocal' program is part of the GNU Automake package:
         <http://www.gnu.org/software/automake>
         It also requires GNU Autoconf, GNU m4 and Perl in order to run:
         <http://www.gnu.org/software/autoconf>
         <http://www.gnu.org/software/m4/>
         <http://www.perl.org/>
Makefile:332: recipe for target 'aclocal.m4' failed
make: *** [aclocal.m4] Error 127

[dave@localhost xSDM]$ touch configure.ac aclocal.m4 configure Makefile.am Makefile.in

Afterward touch:

[dave@localhost xSDM]$ make
Making all in src
make[1]: Entering directory '/home/dave/Desktop/xSDM/xSDM/src'
depbase=`echo main.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DPACKAGE_NAME=\"xsdm\" -DPACKAGE_TARNAME=\"xsdm\" -DPACKAGE_VERSION=\"1.0.0\" -DPACKAGE_STRING=\"xsdm\ 1.0.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"xsdm\" -DVERSION=\"1.0.0\" -DHAVE_LIBZ=1 -DHAVE_LIBMCRYPT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDINT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_ERRNO_H=1 -DHAVE_STDIO_H=1 -DHAVE_LIBGEN_H=1 -DHAVE_ZLIB_H=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_STRSTR=1 -DHAVE_STRTOUL=1 -I.    -Wall -g -O2 -MT main.o -MD -MP -MF $depbase.Tpo -c -o main.o main.c &&\
mv -f $depbase.Tpo $depbase.Po
main.c: In function ‘main’:
main.c:33:24: warning: passing argument 1 of ‘perror’ from incompatible pointer type [-Wincompatible-pointer-types]
                 perror(hdrout);
                        ^
In file included from xsdc.h:5:0,
                 from main.h:3,
                 from main.c:1:
/usr/include/stdio.h:846:13: note: expected ‘const char *’ but argument is of type ‘FILE * {aka struct _IO_FILE *}’
 extern void perror (const char *__s);
             ^
main.c:145:11: warning: unused variable ‘sdcSize’ [-Wunused-variable]
     off_t sdcSize = ftello(in);//FIXME: check if still needed
           ^
depbase=`echo xsdc.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DPACKAGE_NAME=\"xsdm\" -DPACKAGE_TARNAME=\"xsdm\" -DPACKAGE_VERSION=\"1.0.0\" -DPACKAGE_STRING=\"xsdm\ 1.0.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"xsdm\" -DVERSION=\"1.0.0\" -DHAVE_LIBZ=1 -DHAVE_LIBMCRYPT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDINT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_ERRNO_H=1 -DHAVE_STDIO_H=1 -DHAVE_LIBGEN_H=1 -DHAVE_ZLIB_H=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_STRSTR=1 -DHAVE_STRTOUL=1 -I.    -Wall -g -O2 -MT xsdc.o -MD -MP -MF $depbase.Tpo -c -o xsdc.o xsdc.c &&\
mv -f $depbase.Tpo $depbase.Po
xsdc.c: In function ‘unixTimeToStr’:
xsdc.c:173:31: warning: pointer targets in passing argument 1 of ‘localtime’ differ in signedness [-Wpointer-sign]
     struct tm *ts = localtime(&time);
                               ^
In file included from xsdc.h:6:0,
                 from xsdc.c:1:
/usr/include/time.h:243:19: note: expected ‘const time_t * {aka const long int *}’ but argument is of type ‘uint64_t * {aka long unsigned int *}’
 extern struct tm *localtime (const time_t *__timer) __THROW;
                   ^
gcc -Wall -g -O2   -o xsdm main.o xsdc.o  -lmcrypt -lz 
make[1]: Leaving directory '/home/dave/Desktop/xSDM/xSDM/src'
Making all in tests
make[1]: Entering directory '/home/dave/Desktop/xSDM/xSDM/tests'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/dave/Desktop/xSDM/xSDM/tests'
make[1]: Entering directory '/home/dave/Desktop/xSDM/xSDM'
make[1]: Nothing to be done for 'all-am'.
make[1]: Leaving directory '/home/dave/Desktop/xSDM/xSDM'

Mac OS X notes

Hi there, this has been a really helpful tool (and guide)!

Just thought I'd share my experiences and how I got it working on Mac.

Firstly, neither check nor libmcrypt appear to be installed by default - but they are in MacPorts. I found I had to copy the mcrypt files across from their various locations in /opt/ to their various locations in /usr/...

Actual potential issue - there are various versions of ulong versus uLong in xsdc.c; I changed both to uLong and it finally compiled!

Next up I found that sdcDir and dirName both contain the exact same string and caused errors in directory creation, so I modified the relevant portions of main.c to only use one of them. (NB: this was with the SDC file in the same directory that xsdm compiled in).

Now I have a shiny new ISO and with any luck it will all work :)

No such file or directory

I got a problem using the program. I tried to decrypt the file. What can I do?

peel@peel:~/open-source/xSDM$ make
Making all in src
make[1]: Entering directory '/home/peel/open-source/xSDM/src'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/peel/open-source/xSDM/src'
Making all in tests
make[1]: Entering directory '/home/peel/open-source/xSDM/tests'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/peel/open-source/xSDM/tests'
make[1]: Entering directory '/home/peel/open-source/xSDM'
make[1]: Nothing to be done for 'all-am'.
make[1]: Leaving directory '/home/peel/open-source/xSDM'
peel@peel:~/open-source/xSDM$ src/xsdm es_windows_7_professional_with_sp1_x64_dvd_u_676947.01.sdc 
 [  OK  ] Opening SDC file
 [ FAIL ]
es_windows_7_professional_with_sp1_x64_dvd_u_676947.01.sdc.key: No such file or directory
peel@peel:~/open-source/xSDM$
``

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.