UPDATE ERRORS

Asked by Vladimir

 0x255@SonicTorment:~/dev/adchpp$ scons mode=release
scons: Reading SConscript files ...
Checking for C header file poll.h... (cached) no
Checking for C header file sys/epoll.h... (cached) no
Checking for C header file ruby.h... (cached) no
Checking for dlopen() in C library dl... (cached) no
Checking for pthread_create() in C library pthread... (cached) no
Checking for SSL_connect() in C library ssl... (cached) no
Ruby not found, skipping ruby module
Python.h not found, not building python extension
No Linux support for PHP extensions yet
scons: done reading SConscript files.
scons: Building targets ...
Compiling build/release-default/adchpp/AdcCommand.os (shared)
In file included from adchpp/Mutex.h:22:0,
                 from adchpp/Pool.h:22,
                 from adchpp/Buffer.h:22,
                 from adchpp/AdcCommand.h:25,
                 from adchpp/AdcCommand.cpp:21:
adchpp/Thread.h:82:2: error: #error No threading support found
In file included from adchpp/Pool.h:22:0,
                 from adchpp/Buffer.h:22,
                 from adchpp/AdcCommand.h:25,
                 from adchpp/AdcCommand.cpp:21:
adchpp/Mutex.h:103:2: error: #error No mutex found
In file included from adchpp/Buffer.h:22:0,
                 from adchpp/AdcCommand.h:25,
                 from adchpp/AdcCommand.cpp:21:
adchpp/Pool.h:87:2: error: ‘FastMutex’ does not name a type
adchpp/Pool.h: In member function ‘T* adchpp: ool<T, Clear>::get()’:
adchpp/Pool.h:76:3: error: ‘FastMutex’ has not been declared
adchpp/Pool.h:76:19: error: expected ‘;’ before ‘l’
adchpp/Pool.h: In member function ‘void adchpp: ool<T, Clear>: ut(T ’:
adchpp/Pool.h:80:3: error: ‘FastMutex’ has not been declared
adchpp/Pool.h:80:19: error: expected ‘;’ before ‘l’

 In file included from adchpp/Buffer.h:23:0,
                 from adchpp/AdcCommand.h:25,
                 from adchpp/AdcCommand.cpp:21:
adchpp/FastAlloc.h: At global scope:
adchpp/FastAlloc.h:28:19: error: ‘FastMutex’ does not name a type
adchpp/FastAlloc.h: In static member function ‘static void* adchpp::FastAlloc<T>::allocate()’:
adchpp/FastAlloc.h:63:3: error: ‘FastMutex’ has not been declared
adchpp/FastAlloc.h:63:19: error: expected ‘;’ before ‘l’
adchpp/FastAlloc.h: In static member function ‘static void adchpp::FastAlloc<T>: eallocate(void ’:
adchpp/FastAlloc.h:73:3: error: ‘FastMutex’ has not been declared
adchpp/FastAlloc.h:73:19: error: expected ‘;’ before ‘l’
scons: *** [build/release-default/adchpp/AdcCommand.os] Error 1
scons: building terminated because of errors.
0x255@SonicTorment:~/dev/adchpp$

PLease help me ....

Question information

Language:
English Edit question
Status:
Answered
For:
ADCH++ Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Vladimir (ludoed66) said :
#1

hub is not compiled

Revision history for this message
Vladimir (ludoed66) said :
#2

addititonal information - http://pastebin.com/gkDU3B4H

Revision history for this message
poy (poy) said :
#3

you need pthreads.

Revision history for this message
Vladimir (ludoed66) said :
#4

how to solve this problem ?

Revision history for this message
poy (poy) said :
#5

it seems more than just pthreads is missing; try to reinstall your compiler...

Revision history for this message
iceman50 (bdcdevel) said :
#6

vladimir if you could please login to the dcdev public hub it would be far easier to assist you there ... adcs://devpublic.adcportal.com:16591

Revision history for this message
Vladimir (ludoed66) said :
#7

in debug - http://pastebin.com/ERE5CBvA
in release - http://pastebin.com/eu5zVn0Q
HELP, wtf ...........

Revision history for this message
poy (poy) said :
#8

this last problem is because Debian has disabled a flag in their OpenSSL build and Boost hasn't yet followed up with the change:
<https://svn.boost.org/trac/boost/ticket/5453>
<http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=589706>

should be fixed in rev 502.

Revision history for this message
E_zombie (lv77) said :
#9

revno: 520
committer: pR0Ps <email address hidden>
branch nick: adchpp
timestamp: Tue 2011-08-30 21:52:09 -0400

openssl-devel-1.0.0d-1.fc15.i686
openssl-1.0.0d-1.fc15.i686

# LANG=en_US scons
scons: Reading SConscript files ...
Checking for C header file poll.h... (cached) yes
Checking for C header file sys/epoll.h... (cached) yes
Checking for C header file ruby.h... (cached) no
Checking for dlopen() in C library dl... (cached) no
Checking for pthread_create() in C library pthread... (cached) no
Checking for SSL_connect() in C library ssl... (cached) no
Ruby not found, skipping ruby module
Python.h not found, not building python extension
scons: done reading SConscript files.
scons: Building targets ...
Compiling build/debug-default/adchpp/AdcCommand.os (shared)
In file included from adchpp/Mutex.h:22:0,
                 from adchpp/Pool.h:22,
                 from adchpp/Buffer.h:22,
                 from adchpp/AdcCommand.h:25,
                 from adchpp/AdcCommand.cpp:21:
adchpp/Thread.h:82:2: error: #error No threading support found
In file included from adchpp/Pool.h:22:0,
                 from adchpp/Buffer.h:22,
                 from adchpp/AdcCommand.h:25,
                 from adchpp/AdcCommand.cpp:21:
adchpp/Mutex.h:103:2: error: #error No mutex found
In file included from adchpp/Buffer.h:22:0,
                 from adchpp/AdcCommand.h:25,
                 from adchpp/AdcCommand.cpp:21:
adchpp/Pool.h:87:2: error: 'FastMutex' does not name a type
adchpp/Pool.h: In member function 'T* adchpp::Pool<T, Clear>::get()':
adchpp/Pool.h:76:3: error: 'FastMutex' has not been declared
adchpp/Pool.h:76:19: error: expected ';' before 'l'
adchpp/Pool.h: In member function 'void adchpp::Pool<T, Clear>::put(T*)':
adchpp/Pool.h:80:3: error: 'FastMutex' has not been declared
adchpp/Pool.h:80:19: error: expected ';' before 'l'
scons: *** [build/debug-default/adchpp/AdcCommand.os] Error 1
scons: building terminated because of errors.

Can you help with this problem?

Provide an answer of your own, or ask Vladimir for more information if necessary.

To post a message you must log in.