Archived
This forum has been archived. Please start a new discussion on GitHub.
Test fail
Diego Giraldez
in Help Center
I've Redhat 7.2 and gcc 3.2.3
I have successfully compiled Ice. But when I run the tests, it fails:
make test
*** running tests in ./test/IceUtil/thread:
starting client... ok
running thread create test... ok
running thread detach test... test failed with exit status 1
make: *** [test] Error 1
How can I know the reason? How can I enable logs?
Thanks in advance.
I have successfully compiled Ice. But when I run the tests, it fails:
make test
*** running tests in ./test/IceUtil/thread:
starting client... ok
running thread create test... ok
running thread detach test... test failed with exit status 1
make: *** [test] Error 1
How can I know the reason? How can I enable logs?
Thanks in advance.
0
Comments
-
Here are the information you requested (while running ./client I could see a sequence of numbers running on the console)
[ax10077@uxds03 thread]$ ./client
running thread create test... ok
running thread detach test... Aborted
[ax10077@uxds03 thread]$ gcc --version
gcc (GCC) 3.2.3
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.0 -
Despite a number of problemas with gcc 3.2.3, I decided to come back to my old stable version of gcc 3.2
Now I'm compiling again, disabled Unicode, and this is the next error a have encountered:
c++ -L../../lib -o ../../bin/icepatchclient Client.o -lIcePatch -lGlacier -lIceSSL -lIce -ldl -lbz2 -lIceUtil -lpthread -luuid -lssl -lcrypto
../../lib/libIcePatch.so: undefined reference to `std::basic_istream<char, std::char_traints<char> >::seekg(std::fpos<__mbstate_t>)'
collect2: ld returned 1 exit status
make[2]: *** [../../bin/icepatchclient] Error 1
Here are more info:
[ax10077@uxds03 Ice-1.0.1]$ gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2/specs
Configured with: ../configure --prefix=/usr --infodir=/usr/info --mandir=/usr/man --enable-shared --enable-threads=posix --enable-languages=c,c++,f77,gcov,java,objc --enable-long-long --enable-multilib --with-gnu-as --with-gnu-ld --with-system-zlib --with-slibdir=/lib --without-x i386-redhat-linux
Thread model: posix
gcc version 3.2
[ax10077@uxds03 c++]$ rpm -qa|grep c++
libstdc++-3.2-1
libstdc++-2.96-98
gcc-c++-3.2-1
libstdc++-devel-3.2-1
Any ideas?
Best Regards. Diego0
