
Hi, I have installed the new boost library(1_40).still i am getting the same hand error. Now my library are in /usr/local/include and library in /usr/local/lib compilation OK ///// g++ -g3 -O0 -I /usr/local/include boostindex.cpp -o boostindex -L /usr/local/lib -lrt run pblm (getting hang) [manish@synabase-dev1 main]$ gdb boostindex GNU gdb Red Hat Linux (6.3.0.0-1.143.el4rh) Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "ia64-redhat-linux-gnu"...Using host libthread_db library "/lib/tls/libthread_db.so.1". (gdb) run Starting program: /data/project/0811_gbrowser/data_repository/main/boostindex Reading symbols from shared object read from target memory...done. Loaded system supplied DSO at 0xa000000000000000 [Thread debugging using libthread_db enabled] [New Thread 2305843009215997536 (LWP 1209)] when i kill it i am getting following error message. Program received signal SIGINT, Interrupt. [Switching to Thread 2305843009215997536 (LWP 1209)] 0xa000000000010641 in __kernel_syscall_via_break () I think there is some threading pblm. I don't know much abt this. How can i solve my pblm. Please help...... Roland Bock-2 wrote:
manish4gupta wrote:
I have updated my compiler to 4.1.2 g++ -v Using built-in specs. Target: ia64-unknown-linux-gnu Configured with: ./configure --prefix=/usr/local/ Thread model: posix gcc version 4.1.2 still i am using boost 1.39 Following program is getting compiled now but when i run it is is getting hang.
It also runs fine on my machine (64bit).
I would assume library incompatibilities after the compiler update. Personally, I would run a debugger to see where it hangs. Take a closer look at the respective library.
Maybe it is just a question of LD_LIBRARY_PATH, maybe you'll have to recompile a library with the new compiler (but beware, other programs might depend on the old version!). I guess, you'll have to figure out that one by yourself.
Since such problems are sometimes very hard to solve, I tend to recompile all dependencies (or in your case update to a system which provides the compiler I need).
Regards,
Roland _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
-- View this message in context: http://www.nabble.com/compatibility-of-boost-1.39-tp25696866p25711804.html Sent from the Boost - Users mailing list archive at Nabble.com.