WizTeam / WizQTClient

为知笔记跨平台客户端
Other
2.63k stars 811 forks source link

2.5.8版本编译出错 #513

Open daya-prac opened 6 years ago

daya-prac commented 6 years ago

环境:Linuxmint18 Qt5.10 报错信息:

[  0%] Building CXX object lib/cryptopp/CMakeFiles/cryptlib.dir/whrlpool.cpp.o
/home/nicalos/.build/WizQTClient/lib/cryptopp/whrlpool.cpp:425:3: error: unknown token in expression
                ASL(0)
                ^
/home/nicalos/.build/WizQTClient/lib/cryptopp/cpu.h:224:17: note: expanded from macro 'ASL'
        #define ASL(x) GNU_ASL(x)
                       ^
/home/nicalos/.build/WizQTClient/lib/cryptopp/cpu.h:218:26: note: expanded from macro 'GNU_ASL'
        #define GNU_ASL(x) "\n" #x ":"
                                ^
<scratch space>:10:2: note: expanded from here
"0"
 ^
<inline asm>:2:31: note: instantiated into assembly here
0:movq mm0, [rcx+8*rsi];movq [%r8+8*rsi], mm0;pxor mm0, [rdx+8*rsi];movq [%r8+64+8*rsi], mm0;movq [rcx+8*rsi], mm0;inc rsi;cmp rsi, 8;jne 0b;xor esi, esi;
                              ^
/home/nicalos/.build/WizQTClient/lib/cryptopp/whrlpool.cpp:425:3: error: unknown token in expression
                ASL(0)
                ^
/home/nicalos/.build/WizQTClient/lib/cryptopp/cpu.h:224:17: note: expanded from macro 'ASL'
        #define ASL(x) GNU_ASL(x)
                       ^
/home/nicalos/.build/WizQTClient/lib/cryptopp/cpu.h:218:26: note: expanded from macro 'GNU_ASL'
        #define GNU_ASL(x) "\n" #x ":"
                                ^
<scratch space>:10:2: note: expanded from here
"0"
 ^
<inline asm>:2:75: note: instantiated into assembly here
0:movq mm0, [rcx+8*rsi];movq [%r8+8*rsi], mm0;pxor mm0, [rdx+8*rsi];movq [%r8+64+8*rsi], mm0;movq [rcx+8*rsi], mm0;inc rsi;cmp rsi, 8;jne 0b;xor esi, esi;
                                                                          ^
/home/nicalos/.build/WizQTClient/lib/cryptopp/whrlpool.cpp:436:3: error: unknown token in expression
                ASL(1)
                ^
/home/nicalos/.build/WizQTClient/lib/cryptopp/cpu.h:224:17: note: expanded from macro 'ASL'
        #define ASL(x) GNU_ASL(x)
                       ^
/home/nicalos/.build/WizQTClient/lib/cryptopp/cpu.h:218:26: note: expanded from macro 'GNU_ASL'
        #define GNU_ASL(x) "\n" #x ":"
                                ^
<scratch space>:39:2: note: expanded from here
"1"
 ^
<inline asm>:3:13: note: instantiated into assembly here
/home/nicalos/.build/WizQTClient/lib/cryptopp/whrlpool.cpp:436:3: error: unknown token in expression
                ASL(1)
                ^
/home/nicalos/.build/WizQTClient/lib/cryptopp/cpu.h:224:17: note: expanded from macro 'ASL'
        #define ASL(x) GNU_ASL(x)
                       ^
/home/nicalos/.build/WizQTClient/lib/cryptopp/cpu.h:218:26: note: expanded from macro 'GNU_ASL'
        #define GNU_ASL(x) "\n" #x ":"
                                ^
<scratch space>:39:2: note: expanded from here
"1"
 ^
<inline asm>:3:209: note: instantiated into assembly here
/home/nicalos/.build/WizQTClient/lib/cryptopp/whrlpool.cpp:436:3: error: unknown token in expression
                ASL(1)
                ^
/home/nicalos/.build/WizQTClient/lib/cryptopp/cpu.h:224:17: note: expanded from macro 'ASL'
        #define ASL(x) GNU_ASL(x)
                       ^
/home/nicalos/.build/WizQTClient/lib/cryptopp/cpu.h:218:26: note: expanded from macro 'GNU_ASL'
        #define GNU_ASL(x) "\n" #x ":"
                                ^
<scratch space>:39:2: note: expanded from here
"1"
 ^
<inline asm>:3:405: note: instantiated into assembly here
/home/nicalos/.build/WizQTClient/lib/cryptopp/whrlpool.cpp:436:3: error: unknown token in expression
                ASL(1)
                ^
/home/nicalos/.build/WizQTClient/lib/cryptopp/cpu.h:224:17: note: expanded from macro 'ASL'
        #define ASL(x) GNU_ASL(x)
                       ^
/home/nicalos/.build/WizQTClient/lib/cryptopp/cpu.h:218:26: note: expanded from macro 'GNU_ASL'
        #define GNU_ASL(x) "\n" #x ":"
                                ^
<scratch space>:39:2: note: expanded from here
"1"
 ^
<inline asm>:3:601: note: instantiated into assembly here
/home/nicalos/.build/WizQTClient/lib/cryptopp/whrlpool.cpp:436:3: error: unknown token in expression
                ASL(1)
                ^
/home/nicalos/.build/WizQTClient/lib/cryptopp/cpu.h:224:17: note: expanded from macro 'ASL'
        #define ASL(x) GNU_ASL(x)
                       ^
/home/nicalos/.build/WizQTClient/lib/cryptopp/cpu.h:218:26: note: expanded from macro 'GNU_ASL'
        #define GNU_ASL(x) "\n" #x ":"
                                ^
<scratch space>:39:2: note: expanded from here
"1"
 ^
<inline asm>:3:797: note: instantiated into assembly here
/home/nicalos/.build/WizQTClient/lib/cryptopp/whrlpool.cpp:436:3: error: unknown token in expression
                ASL(1)
                ^
/home/nicalos/.build/WizQTClient/lib/cryptopp/cpu.h:224:17: note: expanded from macro 'ASL'
        #define ASL(x) GNU_ASL(x)
                       ^
/home/nicalos/.build/WizQTClient/lib/cryptopp/cpu.h:218:26: note: expanded from macro 'GNU_ASL'
        #define GNU_ASL(x) "\n" #x ":"
                                ^
<scratch space>:39:2: note: expanded from here
"1"
 ^
<inline asm>:3:993: note: instantiated into assembly here
/home/nicalos/.build/WizQTClient/lib/cryptopp/whrlpool.cpp:436:3: error: unknown token in expression
                ASL(1)
                ^
/home/nicalos/.build/WizQTClient/lib/cryptopp/cpu.h:224:17: note: expanded from macro 'ASL'
        #define ASL(x) GNU_ASL(x)
                       ^
/home/nicalos/.build/WizQTClient/lib/cryptopp/cpu.h:218:26: note: expanded from macro 'GNU_ASL'
        #define GNU_ASL(x) "\n" #x ":"
                                ^
<scratch space>:39:2: note: expanded from here
"1"
 ^
<inline asm>:3:1189: note: instantiated into assembly here
/home/nicalos/.build/WizQTClient/lib/cryptopp/whrlpool.cpp:436:3: error: unknown token in expression
                ASL(1)
                ^
/home/nicalos/.build/WizQTClient/lib/cryptopp/cpu.h:224:17: note: expanded from macro 'ASL'
        #define ASL(x) GNU_ASL(x)
                       ^
/home/nicalos/.build/WizQTClient/lib/cryptopp/cpu.h:218:26: note: expanded from macro 'GNU_ASL'
        #define GNU_ASL(x) "\n" #x ":"
                                ^
<scratch space>:39:2: note: expanded from here
"1"
 ^
<inline asm>:3:1385: note: instantiated into assembly here
/home/nicalos/.build/WizQTClient/lib/cryptopp/whrlpool.cpp:436:3: error: unknown token in expression
                ASL(1)
                ^
/home/nicalos/.build/WizQTClient/lib/cryptopp/cpu.h:224:17: note: expanded from macro 'ASL'
        #define ASL(x) GNU_ASL(x)
                       ^
/home/nicalos/.build/WizQTClient/lib/cryptopp/cpu.h:218:26: note: expanded from macro 'GNU_ASL'
        #define GNU_ASL(x) "\n" #x ":"
                                ^
<scratch space>:39:2: note: expanded from here
"1"
 ^
<inline asm>:3:1581: note: instantiated into assembly here
/home/nicalos/.build/WizQTClient/lib/cryptopp/whrlpool.cpp:436:3: error: unknown token in expression
                ASL(1)
                ^
/home/nicalos/.build/WizQTClient/lib/cryptopp/cpu.h:224:17: note: expanded from macro 'ASL'
        #define ASL(x) GNU_ASL(x)
                       ^
/home/nicalos/.build/WizQTClient/lib/cryptopp/cpu.h:218:26: note: expanded from macro 'GNU_ASL'
        #define GNU_ASL(x) "\n" #x ":"
                                ^
<scratch space>:39:2: note: expanded from here
"1"
 ^
<inline asm>:3:1929: note: instantiated into assembly here
/home/nicalos/.build/WizQTClient/lib/cryptopp/whrlpool.cpp:436:3: error: unknown token in expression
                ASL(1)
                ^
/home/nicalos/.build/WizQTClient/lib/cryptopp/cpu.h:224:17: note: expanded from macro 'ASL'
        #define ASL(x) GNU_ASL(x)
                       ^
/home/nicalos/.build/WizQTClient/lib/cryptopp/cpu.h:218:26: note: expanded from macro 'GNU_ASL'
        #define GNU_ASL(x) "\n" #x ":"
                                ^
<scratch space>:39:2: note: expanded from here
"1"
 ^
<inline asm>:3:2277: note: instantiated into assembly here
/home/nicalos/.build/WizQTClient/lib/cryptopp/whrlpool.cpp:436:3: error: unknown token in expression
                ASL(1)
                ^
/home/nicalos/.build/WizQTClient/lib/cryptopp/cpu.h:224:17: note: expanded from macro 'ASL'
        #define ASL(x) GNU_ASL(x)
                       ^
/home/nicalos/.build/WizQTClient/lib/cryptopp/cpu.h:218:26: note: expanded from macro 'GNU_ASL'
        #define GNU_ASL(x) "\n" #x ":"
                                ^
<scratch space>:39:2: note: expanded from here
"1"
 ^
<inline asm>:3:2493: note: instantiated into assembly here
/home/nicalos/.build/WizQTClient/lib/cryptopp/whrlpool.cpp:436:3: error: unknown token in expression
                ASL(1)
                ^
/home/nicalos/.build/WizQTClient/lib/cryptopp/cpu.h:224:17: note: expanded from macro 'ASL'
        #define ASL(x) GNU_ASL(x)
                       ^
/home/nicalos/.build/WizQTClient/lib/cryptopp/cpu.h:218:26: note: expanded from macro 'GNU_ASL'
        #define GNU_ASL(x) "\n" #x ":"
                                ^
<scratch space>:39:2: note: expanded from here
"1"
 ^
<inline asm>:3:2709: note: instantiated into assembly here
/home/nicalos/.build/WizQTClient/lib/cryptopp/whrlpool.cpp:436:3: error: unknown token in expression
                ASL(1)
                ^
/home/nicalos/.build/WizQTClient/lib/cryptopp/cpu.h:224:17: note: expanded from macro 'ASL'
        #define ASL(x) GNU_ASL(x)
                       ^
/home/nicalos/.build/WizQTClient/lib/cryptopp/cpu.h:218:26: note: expanded from macro 'GNU_ASL'
        #define GNU_ASL(x) "\n" #x ":"
                                ^
<scratch space>:39:2: note: expanded from here
"1"
 ^
<inline asm>:3:2925: note: instantiated into assembly here
/home/nicalos/.build/WizQTClient/lib/cryptopp/whrlpool.cpp:436:3: error: unknown token in expression
                ASL(1)
                ^
/home/nicalos/.build/WizQTClient/lib/cryptopp/cpu.h:224:17: note: expanded from macro 'ASL'
        #define ASL(x) GNU_ASL(x)
                       ^
/home/nicalos/.build/WizQTClient/lib/cryptopp/cpu.h:218:26: note: expanded from macro 'GNU_ASL'
        #define GNU_ASL(x) "\n" #x ":"
                                ^
<scratch space>:39:2: note: expanded from here
"1"
 ^
<inline asm>:3:3141: note: instantiated into assembly here
/home/nicalos/.build/WizQTClient/lib/cryptopp/whrlpool.cpp:436:3: error: unknown token in expression
                ASL(1)
                ^
/home/nicalos/.build/WizQTClient/lib/cryptopp/cpu.h:224:17: note: expanded from macro 'ASL'
        #define ASL(x) GNU_ASL(x)
                       ^
/home/nicalos/.build/WizQTClient/lib/cryptopp/cpu.h:218:26: note: expanded from macro 'GNU_ASL'
        #define GNU_ASL(x) "\n" #x ":"
                                ^
<scratch space>:39:2: note: expanded from here
"1"
 ^
<inline asm>:3:3218: note: instantiated into assembly here
/home/nicalos/.build/WizQTClient/lib/cryptopp/whrlpool.cpp:436:3: error: unknown token in expression
                ASL(1)
                ^
/home/nicalos/.build/WizQTClient/lib/cryptopp/cpu.h:224:17: note: expanded from macro 'ASL'
        #define ASL(x) GNU_ASL(x)
                       ^
/home/nicalos/.build/WizQTClient/lib/cryptopp/cpu.h:218:26: note: expanded from macro 'GNU_ASL'
        #define GNU_ASL(x) "\n" #x ":"
                                ^
<scratch space>:39:2: note: expanded from here
"1"
 ^
<inline asm>:3:3280: note: instantiated into assembly here
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
lib/cryptopp/CMakeFiles/cryptlib.dir/build.make:350: recipe for target 'lib/cryptopp/CMakeFiles/cryptlib.dir/whrlpool.cpp.o' failed
make[2]: *** [lib/cryptopp/CMakeFiles/cryptlib.dir/whrlpool.cpp.o] Error 1
make[1]: *** [lib/cryptopp/CMakeFiles/cryptlib.dir/all] Error 2
CMakeFiles/Makefile2:106: recipe for target 'lib/cryptopp/CMakeFiles/cryptlib.dir/all' failed
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
15:01:00: The process "/usr/bin/cmake" exited with code 2.
Error while building/deploying project Project (kit: Desktop Qt 5.10.0 GCC 64bit)
When executing step "CMake Build"
15:01:00: Elapsed time: 00:01.
godmarvin commented 6 years ago

2.5.7可用,qt5.7/linux mint 18.2