TACK!
![:D](https://www.minhembio.com/forum/public/style_emoticons/default/biggrin.png)
God hjälp på vägen. Allt verkar gå bra tills jag skriver kommandot:
"sudo make #sasc-ng"", då får jag följande felmeddelande:
peter@aria:~$ cd /usr/src
peter@aria:/usr/src$ cd sasc-ng/trunk
peter@aria:/usr/src/sasc-ng/trunk$ sudo make #sasc-ng
echo 'const char *source_version =' '"'`(svnversion /usr/src/sasc-ng/trunk 2>/dev/null) || echo Unknown`/`(svnversion /usr/src/sasc-ng/trunk/dvbloopback 2>/dev/null) || echo Unknown`'";' > .vers.new ; diff .vers.new objs/version.cpp > .vers.diff 2>&1 ; if test -s .vers.diff ; then mv -f .vers.new objs/version.cpp ; fi ; rm -f .vers.new .vers.diff
make -C ./sc/PLUGINS/src/sc-src CXX=g++ SASC=1 STATIC=1 all
cat: .distvers: No such file or directory
sed: can't read ../../../ci.c: No such file or directory
make[1]: Entering directory `/usr/src/sasc-ng/trunk/sc/PLUGINS/src/sc-src'
g++ -O2 -g -fPIC -Wall -Woverloaded-virtual -c -DPLUGIN_NAME_I18N='"sc"' -DSASC -DAPIVERSNUM=10505 -D_GNU_SOURCE -DSTATICBUILD -I../../../include crypto.c
In file included from crypto.c:24:
crypto.h:32:33: error: openssl/opensslconf.h: No such file or directory
crypto.h:33:30: error: openssl/opensslv.h: No such file or directory
crypto.h:36:2: error: #error Openssl version 0.9.7 or newer is strongly recomended
In file included from crypto.h:39,
from crypto.c:24:
crypto-bn.h:23:24: error: openssl/bn.h: No such file or directory
crypto.c:91:2: warning: #warning ** openssl lacks IDEA support. Using deprecated static support code. Update your openssl package.
crypto.c:385:2: warning: #warning ** openssl lacks AES support. Using deprecated static support code. Update your openssl package.
crypto-bn.h:34: error: ‘BIGNUM’ does not name a type
crypto-bn.h:38: error: expected type-specifier before ‘BIGNUM’
crypto-bn.h:39: error: ISO C++ forbids declaration of ‘BIGNUM’ with no type
crypto-bn.h:39: error: expected ‘;’ before ‘*’ token
crypto-bn.h:40: error: expected `;' before ‘bool’
crypto-bn.h: In constructor ‘cBN::cBN()’:
crypto-bn.h:36: error: ‘big’ was not declared in this scope
crypto-bn.h:36: error: ‘BN_init’ was not declared in this scope
crypto-bn.h: In destructor ‘cBN::~cBN()’:
crypto-bn.h:37: error: ‘big’ was not declared in this scope
crypto-bn.h:37: error: ‘BN_free’ was not declared in this scope
crypto-bn.h: At global scope:
crypto-bn.h:48: error: ISO C++ forbids declaration of ‘BN_CTX’ with no type
crypto-bn.h:48: error: expected ‘;’ before ‘*’ token
crypto-bn.h:52: error: expected type-specifier before ‘BN_CTX’
crypto-bn.h: In constructor ‘cBNctx::cBNctx()’:
crypto-bn.h:50: error: ‘ctx’ was not declared in this scope
crypto-bn.h:50: error: ‘BN_CTX_new’ was not declared in this scope
crypto-bn.h: In destructor ‘cBNctx::~cBNctx()’:
crypto-bn.h:51: error: ‘ctx’ was not declared in this scope
crypto-bn.h:51: error: ‘BN_CTX_free’ was not declared in this scope
crypto.h: At global scope:
crypto.h:131: error: expected ‘,’ or ‘...’ before ‘*’ token
crypto.h:131: error: ISO C++ forbids declaration of ‘BIGNUM’ with no type
crypto.h:132: error: ‘BIGNUM’ has not been declared
crypto.h:132: error: expected ‘,’ or ‘...’ before ‘*’ token
crypto.h:132: error: ISO C++ forbids declaration of ‘BIGNUM’ with no type
crypto.h:133: error: ‘BIGNUM’ has not been declared
crypto.h:133: error: expected ‘,’ or ‘...’ before ‘*’ token
crypto.h:133: error: ISO C++ forbids declaration of ‘BIGNUM’ with no type
crypto.c: In member function ‘bool cBN::Get(const unsigned char*, int)’:
crypto.c:54: error: ‘big’ was not declared in this scope
crypto.c:54: error: ‘BN_bin2bn’ was not declared in this scope
crypto.c: In member function ‘int cBN::Put(unsigned char*, int) const’:
crypto.c:59: error: ‘big’ was not declared in this scope
crypto.c:59: error: ‘BN_num_bytes’ was not declared in this scope
crypto.c:62: error: ‘BN_bn2bin’ was not declared in this scope
crypto.c:68: error: ‘BN_bn2bin’ was not declared in this scope
crypto.c:70: error: ‘BN_bn2bin’ was not declared in this scope
crypto.c: In member function ‘bool cBN::GetLE(const unsigned char*, int)’:
crypto.c:78: error: ‘big’ was not declared in this scope
crypto.c:78: error: ‘BN_bin2bn’ was not declared in this scope
crypto.c: At global scope:
crypto.c:157: error: expected ‘,’ or ‘...’ before ‘*’ token
crypto.c:157: error: ISO C++ forbids declaration of ‘BIGNUM’ with no type
crypto.c: In member function ‘int cRSA::RSA(unsigned char*, const unsigned char*, int, int) const’:
crypto.c:161: error: ‘LE’ was not declared in this scope
crypto.c:162: error: ‘exp’ was not declared in this scope
crypto.c:162: error: ‘mod’ was not declared in this scope
crypto.c:162: error: ‘BN_mod_exp’ was not declared in this scope
crypto.c: At global scope:
crypto.c:168: error: ‘int cRSA::RSA’ is not a static member of ‘class cRSA’
crypto.c:168: error: ‘BIGNUM’ was not declared in this scope
crypto.c:168: error: ‘out’ was not declared in this scope
crypto.c:168: error: expected primary-expression before ‘const’
crypto.c:168: error: expected primary-expression before ‘int’
crypto.c:168: error: expected primary-expression before ‘const’
crypto.c:168: error: expected primary-expression before ‘const’
crypto.c:168: error: expected primary-expression before ‘bool’
crypto.c:168: error: initializer expression list treated as compound expression
crypto.c:168: error: expected ‘,’ or ‘;’ before ‘const’
crypto.c:179: error: ‘BIGNUM’ has not been declared
crypto.c:179: error: expected ‘,’ or ‘...’ before ‘*’ token
crypto.c:179: error: ISO C++ forbids declaration of ‘BIGNUM’ with no type
crypto.c: In member function ‘int cRSA::RSA(unsigned char*, int, int*, int) const’:
crypto.c:183: error: ‘exp’ was not declared in this scope
crypto.c:183: error: ‘mod’ was not declared in this scope
crypto.c:183: error: ‘BN_mod_exp’ was not declared in this scope
crypto.c:183: error: ‘LE’ was not declared in this scope
make[1]: *** [crypto.o] Error 1
make[1]: Leaving directory `/usr/src/sasc-ng/trunk/sc/PLUGINS/src/sc-src'
make: *** [sc-plugin] Error 2
peter@aria:/usr/src/sasc-ng/trunk$
Vad gör jag för fel?