Hi, All!
I have a problem with creation of DWF Toolkit library files from source code on my machine with Ubuntu 10.10 64bit.
When I do "make" command I receive next message:
In file included from Core.cpp:60:../../dwfcore/config.h:114: warning: "_DWFCORE_X64_SYSTEM" redefined../../dwfcore/Core.h:58: note: this is the location of the previous definitionCore.cpp: In function ‘int DWFCore::AtomicIncrement(volatile int*)’:Core.cpp:91: error: ‘atomic_t’ was not declared in this scopeCore.cpp:91: error: expected ‘;’ before ‘tValue’Core.cpp:92: error: ‘tValue’ was not declared in this scopeCore.cpp:92: error: ‘atomic_set’ was not declared in this scopeCore.cpp:99: error: ‘atomic_read’ was not declared in this scopeCore.cpp: In function ‘int DWFCore::AtomicDecrement(volatile int*)’:Core.cpp:108: error: ‘atomic_t’ was not declared in this scopeCore.cpp:108: error: expected ‘;’ before ‘tValue’Core.cpp:109: error: ‘tValue’ was not declared in this scopeCore.cpp:109: error: ‘atomic_set’ was not declared in this scopeCore.cpp:116: error: ‘atomic_read’ was not declared in this scope
I tried to reolve atomic.h problem manually. I downloaded linux-headers and copied 'asm' folder with 'atomic.h' to my /usr/include/. But I haven't had a successfull result.
If anyone know solution or DWF Toolkit compilation help document?
Thanks in advance for reply,
Timofey Tatarinov
Solved! Go to Solution.
Solved by timofey.tatarinov. Go to Solution.
I found a solution.
The problem was in the file "atomic.h". I installed "libasound2-dev" and problem was solved.
The question is closed