Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 05-02-2003
Diego Giraldez Diego Giraldez is offline
Registered User
 
 
Join Date: Apr 2003
Posts: 10
Question Test fail

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.
Reply With Quote
  #2 (permalink)  
Old 05-02-2003
mes's Avatar
mes mes is online now
ZeroC Staff
 
Name: Mark Spruiell
Organization: ZeroC, Inc.
Project: Ice Developer
 
Join Date: Feb 2003
Location: California
Posts: 967
Change to the test/IceUtil/thread directory and run

$ ./client

Please let us know what you find out.

Also, can you provide the output of 'gcc -v'?

- Mark
Reply With Quote
  #3 (permalink)  
Old 05-02-2003
Diego Giraldez Diego Giraldez is offline
Registered User
 
 
Join Date: Apr 2003
Posts: 10
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.
Reply With Quote
  #4 (permalink)  
Old 05-02-2003
mes's Avatar
mes mes is online now
ZeroC Staff
 
Name: Mark Spruiell
Organization: ZeroC, Inc.
Project: Ice Developer
 
Join Date: Feb 2003
Location: California
Posts: 967
What does 'gcc -v' report?

On my system (RH 7.1) I get the following:

$ gcc -v
Reading specs from /opt/gcc-3.2.3/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/specs
Configured with: ../configure --prefix=/opt/gcc-3.2.3 --enable-threads
Thread model: posix
gcc version 3.2.3
Reply With Quote
  #5 (permalink)  
Old 05-08-2003
Diego Giraldez Diego Giraldez is offline
Registered User
 
 
Join Date: Apr 2003
Posts: 10
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
Reply With Quote
  #6 (permalink)  
Old 05-09-2003
mes's Avatar
mes mes is online now
ZeroC Staff
 
Name: Mark Spruiell
Organization: ZeroC, Inc.
Project: Ice Developer
 
Join Date: Feb 2003
Location: California
Posts: 967
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.
Reply With Quote
  #7 (permalink)  
Old 05-09-2003
Diego Giraldez Diego Giraldez is offline
Registered User
 
 
Join Date: Apr 2003
Posts: 10
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.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

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


All times are GMT -4. The time now is 01:04 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.