Opened 14 years ago
Closed 14 years ago
#186 closed defect (fixed)
svn 805 and 806 Compile error on linux
Reported by: | sudanking | Owned by: | nightmann |
---|---|---|---|
Priority: | critical | Component: | |
Severity: | high | Keywords: | |
Cc: | Sensitive: | no |
Description
I tried to compile svn 805 and 806 but I get the following error:
root@pbx:~/oscam/oscam-svn $ make ----------------------------------------------------- Build for platform i686-pc-linux ----------------------------------------------------- make -C cscrypt gcc -O2 -DOS_LINUX -DCS_CONFDIR='"/usr/local/etc"' -Winline -Wall -Wno-implicit-function-declaration -Wno-parentheses -finline-functions -fomit-frame-pointer -D'CS_SVN_VERSION="806"' -c md5.c In file included from cscrypt.h:14, from md5.c:81: bn.h:235: error: expected specifier-qualifier-list before ‘BN_ULONG’ bn.h:272: error: expected specifier-qualifier-list before ‘BN_ULONG’ bn.h:336: warning: parameter names (without types) in function declaration bn.h:354: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘BN_mod_word’ bn.h:355: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘BN_div_word’ bn.h:356: error: expected declaration specifiers or ‘...’ before ‘BN_ULONG’ bn.h:357: error: expected declaration specifiers or ‘...’ before ‘BN_ULONG’ bn.h:358: error: expected declaration specifiers or ‘...’ before ‘BN_ULONG’ bn.h:359: error: expected declaration specifiers or ‘...’ before ‘BN_ULONG’ bn.h:360: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘BN_get_word’ bn.h:371: error: expected declaration specifiers or ‘...’ before ‘BN_ULONG’ bn.h:456: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘bn_mul_add_words’ bn.h:457: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘bn_mul_words’ bn.h:458: error: expected ‘)’ before ‘*’ token bn.h:459: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘bn_div_words’ bn.h:460: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘bn_add_words’ bn.h:461: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘bn_sub_words’ make[2]: *** [../lib/libcscrypt-i686-pc-linux.a(md5.o)] Error 1 make[1]: *** [prepare] Error 2 make: [i386-pc-linux] Error 2 (ignored)
Change History (2)
comment:1 by , 14 years ago
Owner: | set to |
---|---|
Status: | new → assigned |
comment:2 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
thanks, I use cmake with 806 and it is working now.
Note:
See TracTickets
for help on using tickets.
please see ticket 185. use as workaround cmake.