Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 04-06-2008
sober sober is offline
Registered User
 
Name: sober ding
Organization: bupt
Project: net security mangement
 
Join Date: Mar 2008
Posts: 28
version problem

Hi,
when I update ICE to 3.3 ,I got this problem :
LDR: LdrpWalkImportDescriptor() failed to probe C:\Ice-3.3b\bin\ice33bd.dll for its manifest, ntstatus 0xc0150002
I delete 3.2 folders directly in c:.
I use the demo,and the problem is the same,where am I going wrong?
thank you .

sober
Reply With Quote
  #2 (permalink)  
Old 04-06-2008
dwayne's Avatar
dwayne dwayne is online now
ZeroC Staff
 
Name: Dwayne Boone
Organization: ZeroC, Inc.
Project: Internet Communications Engine
 
Join Date: Jan 2005
Location: St. John's, Newfoundland
Posts: 208
Hi,

Could you please provide a bit more infomation. What OS are you using? Did you compile Ice yourself or are you using our Windows installers? What compiler are you using? What are you doing that causes this error?

Dwayne
Reply With Quote
  #3 (permalink)  
Old 04-06-2008
sober sober is offline
Registered User
 
Name: sober ding
Organization: bupt
Project: net security mangement
 
Join Date: Mar 2008
Posts: 28
more detail

Hi,Dwayne
I use Windows OS and vs2005,the former ice-3.2.1 works well on it ,after I download the Ice-3.3b-VC80.msi ,I install it directly without remove the Ice-3.2.1, then I modify the path and vs invironment to buid my project and it builds well ,but when I run it the problem occurs .

I don't know why ,so I delete the Ice-3.2.1 and reinstall Ice-3.3b-VC80.msi,it still has the problem.

Do I need some change to vs ?
Reply With Quote
  #4 (permalink)  
Old 04-06-2008
dwayne's Avatar
dwayne dwayne is online now
ZeroC Staff
 
Name: Dwayne Boone
Organization: ZeroC, Inc.
Project: Internet Communications Engine
 
Join Date: Jan 2005
Location: St. John's, Newfoundland
Posts: 208
The supported compiler for Ice 3.3b is VS2005 SP1. I expect that you might not have the service pack installed. You can download it from here:

Visual Studio 2005 SP1

Dwayne
Reply With Quote
  #5 (permalink)  
Old 04-08-2008
sober sober is offline
Registered User
 
Name: sober ding
Organization: bupt
Project: net security mangement
 
Join Date: Mar 2008
Posts: 28
3x

Hi,

I try to install vs2005 sp1,but failed ,cause it's too heavy . So I try to install vs 2008 and the problem no longer exists!

Thank you very much !

cheers!

sober
Reply With Quote
  #6 (permalink)  
Old 04-08-2008
sober sober is offline
Registered User
 
Name: sober ding
Organization: bupt
Project: net security mangement
 
Join Date: Mar 2008
Posts: 28
linux problem

Hi,

Sorry to trouble again , but the problem is hard to handle .

When I try to compile cpp in Linux , I try to make directly and I get the following info :
c++ -shared -Wl,--enable-new-dtags -Wl,-rpath,/opt/Ice-3.3b/lib -ftemplate-depth-128 -Wall -D_REENTRANT -I/usr/include/nptl -fPIC -g -L../../lib -o ../../lib/libSlice.so.3.3b -Wl,-h,libSlice.so.33b Scanner.o Grammar.o Parser.o CPlusPlusUtil.o CsUtil.o JavaUtil.o Preprocessor.o Checksum.o PythonUtil.o DotNetNames.o RubyUtil.o Util.o MD5.o MD5I.o SignalHandler.o -lIceUtil -lmcpp -lpthread -lrt
/usr/bin/ld: cannot find -lmcpp
collect2: ld returned 1 exit status
make[2]: *** [../../lib/libSlice.so.3.3b] Error 1

then I download mcpp-2.7 and do it like this : ./configure --enable-replace-cpp && make && make install

then I try to compile ice, the problem still there ,I don't know why ?

What does mcpp for ? I see in Make.rules MCPP_HOME is not used .

Can you help ?

sober
Reply With Quote
  #7 (permalink)  
Old 04-09-2008
bernard's Avatar
bernard bernard is online now
ZeroC Staff
 
Name: Bernard Normier
Organization: ZeroC, Inc.
Project: Ice
 
Join Date: Feb 2003
Location: Palm Beach Gardens, FL
Posts: 813
Please download ThirdParty-Sources-3.3b.tar.gz from our beta download page; the README explains how to build mcpp for Ice.

Cheers,
Bernard
__________________
Bernard Normier
ZeroC, Inc.
Reply With Quote
  #8 (permalink)  
Old 04-09-2008
sober sober is offline
Registered User
 
Name: sober ding
Organization: bupt
Project: net security mangement
 
Join Date: Mar 2008
Posts: 28
3x

Hi,

Thank you , I make it !


cheers!
sober
Reply With Quote
  #9 (permalink)  
Old 04-09-2008
sober sober is offline
Registered User
 
Name: sober ding
Organization: bupt
Project: net security mangement
 
Join Date: Mar 2008
Posts: 28
sorry

Sorry about this , I am new on Linux , I do it like your words , but there is another problem :

../../../include/Ice/IconvStringConverter.h:162: undefined reference to `libiconv_open'
../../../include/Ice/IconvStringConverter.h:171: undefined reference to `libiconv_open'
../../../include/Ice/IconvStringConverter.h:174: undefined reference to `libiconv_close'
Client.o: In function `Ice::IconvStringConverter<char>::fromUTF8(unsigne d char const*, unsigned char const*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >&) const':
../../../include/Ice/IconvStringConverter.h:291: undefined reference to `libiconv'
../../../include/Ice/IconvStringConverter.h:335: undefined reference to `libiconv'

I bet some libs must be ignored , so how should I do ?

thank you very much .

sober
Reply With Quote
  #10 (permalink)  
Old 04-09-2008
matthew's Avatar
matthew matthew is offline
ZeroC Staff
 
Name: Matthew Newhook
Organization: ZeroC, Inc.
Project: Internet Communications Engine
 
Join Date: Feb 2003
Location: NL, Canada
Posts: 1,052
Looks like you need to install iconv.
Reply With Quote
  #11 (permalink)  
Old 04-09-2008
sober sober is offline
Registered User
 
Name: sober ding
Organization: bupt
Project: net security mangement
 
Join Date: Mar 2008
Posts: 28
again

Hi,there

I reinstall libiconv(./configure && make && make install) and gettext ,then I reboot the machine ,the problem is still there !

like:

c++ -Wl,--enable-new-dtags -Wl,-rpath,/opt/Ice-3.3b/lib -ftemplate-depth-128 -Wall -D_REENTRANT -I/usr/include/nptl -fPIC -g -L../../../lib -o client Test.o Client.o -lIce -lIceUtil -L/usr/lib/nptl -lpthread -lrt
Client.o: In function `Ice::IconvStringConverter<char>::createDescriptor s() const':
../../../include/Ice/IconvStringConverter.h:162: undefined reference to `libiconv_open'
../../../include/Ice/IconvStringConverter.h:171: undefined reference to `libiconv_open'
../../../include/Ice/IconvStringConverter.h:174: undefined reference to `libiconv_close'
Client.o: In function `Ice::IconvStringConverter<char>::fromUTF8(unsigne d char const*, unsigned char const*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >&) const':
../../../include/Ice/IconvStringConverter.h:291: undefined reference to `libiconv'
../../../include/Ice/IconvStringConverter.h:335: undefined reference to `libiconv'
Client.o: In function `Ice::IconvStringConverter<char>::toUTF8(char const*, char const*, Ice::UTF8Buffer&) const':
../../../include/Ice/IconvStringConverter.h:245: undefined reference to `libiconv'
../../../include/Ice/IconvStringConverter.h:265: undefined reference to `libiconv'
Client.o: In function `Ice::IconvStringConverter<char>::close(std:air< void*, void*>)':
../../../include/Ice/IconvStringConverter.h:227: undefined reference to `libiconv_close'
../../../include/Ice/IconvStringConverter.h:230: undefined reference to `libiconv_close'
Client.o: In function `Ice::IconvStringConverter<wchar_t>::createDescrip tors() const':
../../../include/Ice/IconvStringConverter.h:162: undefined reference to `libiconv_open'
../../../include/Ice/IconvStringConverter.h:171: undefined reference to `libiconv_open'
../../../include/Ice/IconvStringConverter.h:174: undefined reference to `libiconv_close'
Client.o: In function `Ice::IconvStringConverter<wchar_t>::toUTF8(wchar_ t const*, wchar_t const*, Ice::UTF8Buffer&) const':
../../../include/Ice/IconvStringConverter.h:245: undefined reference to `libiconv'
../../../include/Ice/IconvStringConverter.h:265: undefined reference to `libiconv'
Client.o: In function `Ice::IconvStringConverter<wchar_t>::close(std:a ir<void*, void*>)':
../../../include/Ice/IconvStringConverter.h:227: undefined reference to `libiconv_close'
../../../include/Ice/IconvStringConverter.h:230: undefined reference to `libiconv_close'
Client.o: In function `Ice::IconvStringConverter<wchar_t>::fromUTF8(unsi gned char const*, unsigned char const*, std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&) const':
../../../include/Ice/IconvStringConverter.h:291: undefined reference to `libiconv'
../../../include/Ice/IconvStringConverter.h:335: undefined reference to `libiconv'
collect2: ld returned 1 exit status
make[3]: *** [client] Error 1

can you see it ?

sober
Reply With Quote
  #12 (permalink)  
Old 04-09-2008
bernard's Avatar
bernard bernard is online now
ZeroC Staff
 
Name: Bernard Normier
Organization: ZeroC, Inc.
Project: Ice
 
Join Date: Feb 2003
Location: Palm Beach Gardens, FL
Posts: 813
I recommend you just skip this test, unless you want to use this iconv-based string-converter in your code.

Ice does not depend on iconv. We provide a template, in Ice/IconvStringConverter.h, that you may (or may not) choose to use. And of course we have a test that verifies this iconv-based string convertion works.

On RHEL and SLES, the iconv functions are part of glibc. If you're using RHEL, maybe you just need to install glibc-headers.

Cheers,
Bernard
__________________
Bernard Normier
ZeroC, Inc.
Reply With Quote
  #13 (permalink)  
Old 04-10-2008
sober sober is offline
Registered User
 
Name: sober ding
Organization: bupt
Project: net security mangement
 
Join Date: Mar 2008
Posts: 28
got it

Hi,

We use FC6 ,I think gcc version or other lib are too old .

I finally modify Makefile to tell the libiconv location and it can compile . In RHEL we can successfully compile it .

thanks all the same.

cheers,
sober
Reply With Quote
  #14 (permalink)  
Old 04-10-2008
sober sober is offline
Registered User
 
Name: sober ding
Organization: bupt
Project: net security mangement
 
Join Date: Mar 2008
Posts: 28
another one

Hi,

Sorry to trouble again , but the problem is always strange .

When compiling 3.3b , I got the following error :
Quote:
../../../config/Make.common.rules:115: Ignoring ICE_HOME environment variable to build current source tree.
rm -f ../../include/Ice/BuiltinSequences.h BuiltinSequences.cpp
../../bin/slice2cpp --ice --include-dir Ice --dll-export ICE_API -I../../../slice --stream ../../../slice/Ice/BuiltinSequences.ice
slice2cpp: Parser.cpp:5516: int Slice::Unit:arse(const std::string&, FILE*, bool, Slice::FeatureProfile): Assertion `_definitionContextStack.size() == 1' failed.
make[2]: *** [BuiltinSequences.cpp] Aborted (core dumped)
I can see it ,can you help again ?
Reply With Quote
  #15 (permalink)  
Old 04-11-2008
matthew's Avatar
matthew matthew is offline
ZeroC Staff
 
Name: Matthew Newhook
Organization: ZeroC, Inc.
Project: Internet Communications Engine
 
Join Date: Feb 2003
Location: NL, Canada
Posts: 1,052
That is a strange error. Are you using the pre-translated bison and flex files that accompanied the Ice distribution, or did you build your own? To do this you would have had to edit the Makefiles and uncomment the bison and flex rules.
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
A strange problem under bcb2006 with ice 3.2 version qhbo Help Center 3 06-13-2007 03:21 PM
About Mobile version level Help Center 4 07-12-2005 07:40 AM
the different between debug version and release version huaciom Help Center 1 04-05-2005 04:18 AM
Release version problem fengxb Help Center 7 11-04-2004 04:21 AM
about release version simpley Help Center 5 07-13-2004 10:18 AM


All times are GMT -4. The time now is 01:08 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.