Mark - 2007-05-28

first I tried building the enigma library and I got THIS:
[kram1024@localhost Enigma]$ g++ -Wno-deprecated -L../include -I../include -D_LINUX__ -shared -fPIC -Wl,-soname,libenigma.so.1 E-Compressor.cpp E-Decompressor.cpp -o libenigma.so.1.4
E-Compressor.cpp:47:16: error: io.h: No such file or directory
E-Compressor.cpp:484:2: warning: no newline at end of file
E-Compressor.cpp: In function ‘long int EComp(char*, char*, bool)’:
E-Compressor.cpp:131: error: ‘_S_IWRITE’ was not declared in this scope
E-Compressor.cpp:131: error: ‘_O_BINARY’ was not declared in this scope
E-Compressor.cpp:131: error: ‘_open’ was not declared in this scope
E-Compressor.cpp:137: error: ‘_creat’ was not declared in this scope
E-Compressor.cpp:138: error: ‘_setmode’ was not declared in this scope
E-Compressor.cpp:140: error: ‘_filelength’ was not declared in this scope
E-Compressor.cpp:148: error: ‘_lseek’ was not declared in this scope
E-Compressor.cpp:151: error: ‘_tell’ was not declared in this scope
E-Compressor.cpp:152: error: ‘_read’ was not declared in this scope
E-Compressor.cpp:159: error: ‘_read’ was not declared in this scope
E-Compressor.cpp:190: error: ‘_write’ was not declared in this scope
E-Compressor.cpp:257: error: ‘_close’ was not declared in this scope
E-Compressor.cpp: In function ‘unsigned char writebit(unsigned char)’:
E-Compressor.cpp:274: error: ‘_write’ was not declared in this scope
E-Decompressor.cpp:29:16: error: io.h: No such file or directory
E-Decompressor.cpp:316:2: warning: no newline at end of file
E-Decompressor.cpp: In function ‘long int EDecomp(char*, char*, long int, bool)’:
E-Decompressor.cpp:83: error: ‘itoa’ was not declared in this scope
E-Decompressor.cpp:106: error: ‘_S_IWRITE’ was not declared in this scope
E-Decompressor.cpp:106: error: ‘_O_BINARY’ was not declared in this scope
E-Decompressor.cpp:106: error: ‘_open’ was not declared in this scope
E-Decompressor.cpp:112: error: ‘_setmode’ was not declared in this scope
E-Decompressor.cpp:113: error: ‘_filelength’ was not declared in this scope
E-Decompressor.cpp:118: error: ‘_read’ was not declared in this scope
E-Decompressor.cpp:233: error: ‘_creat’ was not declared in this scope
E-Decompressor.cpp:237: error: ‘_write’ was not declared in this scope
E-Decompressor.cpp:248: error: ‘_write’ was not declared in this scope
E-Decompressor.cpp:261: error: ‘_close’ was not declared in this scope

next I went and successfully built libkosinski.so.1.4:
[kram1024@localhost Enigma]$ cd '/home/kram1024/Desktop/kens-v1.4-rc1-win32-source/Kosinski'
[kram1024@localhost Kosinski]$ g++ -Wno-deprecated -L../include -I../include -D_LINUX__ -shared -fPIC -Wl,-soname,libkosinski.so.1 K-Compressor.cpp K-Decompressor.cpp GetFileSize.cpp -o libkosinski.so.1.4
K-Compressor.cpp:218:2: warning: no newline at end of file
K-Decompressor.cpp:157:2: warning: no newline at end of file
[kram1024@localhost Kosinski]$ ls
GetFileSize.cpp   K-Decompressor.cpp  Kosinski.dsp        Main.cpp
K-Compressor.cpp  Kosinski.def        <font color="green">libkosinski.so.1.4</font>  Main.h

next I attempted to build libsaxman.so.1.4 and succeeded:
[kram1024@localhost Kosinski]$ cd '/home/kram1024/Desktop/kens-v1.4-rc1-win32-source/Saxman'
[kram1024@localhost Saxman]$ g++ -Wno-deprecated -L../include -I../include -D_LINUX__ -shared -fPIC -Wl,-soname,libsaxman.so.1 S-Compressor.cpp S-Decompressor.cpp GetFileSize.cpp -o libsaxman.so.1.4
S-Compressor.cpp:158:2: warning: no newline at end of file
S-Decompressor.cpp:114:2: warning: no newline at end of file
[kram1024@localhost Saxman]$ ls
GetFileSize.cpp   Main.cpp  Saxman.def  S-Compressor.cpp
<font color="green">libsaxman.so.1.4</font>  Main.h    Saxman.dsp  S-Decompressor.cpp

now I tried to build libnemesis.so.1.4 and failed with THIS:
[kram1024@localhost Saxman]$ cd '/home/kram1024/Desktop/kens-v1.4-rc1-win32-source/Nemesis'
[kram1024@localhost Nemesis]$ g++ -Wno-deprecated -L../include -I../include -D_LINUX__ -shared -fPIC -Wl,-soname,libnemesis.so.1 N-Compressor.cpp N-Decompressor.cpp -o libnemesis.so.1.4
N-Compressor.cpp:43:16: error: io.h: No such file or directory
N-Compressor.cpp:601:2: warning: no newline at end of file
N-Compressor.cpp:93: error: ‘__cdecl’ does not name a type
N-Decompressor.cpp:32:16: error: io.h: No such file or directory
N-Decompressor.cpp:217:2: warning: no newline at end of file
N-Decompressor.cpp:40: error: ‘__cdecl’ does not name a type
N-Decompressor.cpp: In function ‘int stage_1(long int*, char*, char*)’:
N-Decompressor.cpp:136: warning: converting to ‘short unsigned int’ from ‘double’
N-Decompressor.cpp:142: warning: converting to ‘short unsigned int’ from ‘double’
N-Decompressor.cpp: In function ‘void stage_2(long int*, char*, char*, long unsigned int*, short int, bool, int*)’:
N-Decompressor.cpp:179: warning: converting to ‘short unsigned int’ from ‘double’

Magus, we need to speak, maybe then we can fix those errors in those two libraries.