|
Boost : |
From: Mutlu Özdemir (mutlu.oezdemir_at_[hidden])
Date: 2003-11-20 13:16:36
hi Boost developers and users,
I have found a runtime error concerning the boost library.
I coded following simple programme (test2.cc):
/**************** program start ***********************/
#include <boost/signal.hpp>
#include <time.h>
typedef long long int clock_cycleT;
boost::signal<void ()> signal_clock_started;
boost::signal<void ()> signal_clock_started2;
boost::signal<void ()> signal_clock_started3;
void get_time_since_epoch()
{
struct timespec time_value;
clock_gettime( CLOCK_REALTIME, &time_value);
}
int main( int argc, char* argv[])
{
return 0;
}
/****************** program end *************************/
Than I compiled it with following command:
g++ -o test2 test2.cc -lboost_signals -lrt
I started the programm: ./test2
But the programme did not terminate !
Why ?
Some further information about the system I am using:
Boost-Version: 1.30.2
Compiler: g++ 3.3, (debian package 3.3.2-4)
OS: Linux Debian sarge, Kernel 2.4.18-bf2.4
Processor: Intel Pentium IV
Output of "ldd test2":
libboost_signals.so.1.30.2 => /usr/lib/libboost_signals.so.1.30.2 (0x4001d000)
librt.so.1 => /lib/librt.so.1 (0x40033000)
libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x40046000)
libm.so.6 => /lib/libm.so.6 (0x400fd000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x4011f000)
libc.so.6 => /lib/libc.so.6 (0x40127000)
libpthread.so.0 => /lib/libpthread.so.0 (0x40259000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
I would be glad if you could help !
Nice greetings,
Mutlu
--- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.532 / Virus Database: 326 - Release Date: 27.10.2003
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk