|
|
|
|||||
|
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. |
|
|||||
|
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. |
|
|||||
|
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. Diego |
|
||||||
|
I too recently discovered problems with GCC 3.2.3 and have since reverted to 3.2.
I'm afraid I don't have any good ideas. Have you tried building GCC 3.2 from source yourself? If you do build GCC 3.2 yourself, don't forget to update your PATH and LD_LIBRARY_PATH accordingly. |
|
|||||
|
The function seekg is the unique function that isn't find. So I disabled IcePatch, and the rest of the packages builds and tests successfully.
I'll try to find why this definition is the only error during the building. Best regards and thanks. Diego. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| DefaultContext fail on Ice-3.0.0 ? | phia | Help Center | 1 | 01-11-2006 10:05 AM |
| Fail in test | Francis Rioux | Help Center | 3 | 12-07-2005 11:35 AM |
| build fail on AIX5.1, Visual Age C++ 6 | xiao | Help Center | 2 | 01-19-2005 03:13 AM |
| ice-freeze test fail? | ponyboy | Help Center | 2 | 04-07-2004 11:09 AM |
| Ice 1.2.0 tests fail on 64 bit platform | rbx | Help Center | 2 | 02-18-2004 09:04 AM |