Go Back   ZeroC Forums > Bug Reports

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 08-05-2008
javiroman javiroman is offline
Registered User
 
Name: Javier Roman
Organization: www.cediant.es
Project: Providers of Grid solutions for Bank field
 
Join Date: Aug 2007
Location: Madrid (Spain)
Posts: 2
Send a message via Skype™ to javiroman
-->
HelloWorld syntax error with OpenSuSe11

Hi:

I've tried to compile the helloworld example in OpenSuse 11.0 386 32bits with gcc 4.3.1 but I get some errors :

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
g++ -I. -c Printer.cpp
In file included from ./Printer.h:23,
from Printer.cpp:13:
/usr/include/Ice/Outgoing.h:56: error: invalid use of ‘::’
/usr/include/Ice/Outgoing.h:56: error: expected ‘;’ before ‘<’ token
/usr/include/Ice/Outgoing.h:84: error: invalid use of ‘::’
/usr/include/Ice/Outgoing.h:84: error: expected ‘;’ before ‘<’ token
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

I have copied the example from documentation.

I've installed the Sle10 version from zeroc.

I know that OpenSuse is not a supported version but i wonder if there is some fixes in order to get running Ice


Thanks.
Reply With Quote
  #2 (permalink)  
Old 08-05-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,055
What is at those lines in the source files? It might be better to try compiling Ice from source, rather than using our RPMs on this unsupported operating system.
Reply With Quote
  #3 (permalink)  
Old 08-06-2008
javiroman javiroman is offline
Registered User
 
Name: Javier Roman
Organization: www.cediant.es
Project: Providers of Grid solutions for Bank field
 
Join Date: Aug 2007
Location: Madrid (Spain)
Posts: 2
Send a message via Skype™ to javiroman
-->
Hi,

I've managed to compile Ice-3.2.1 and HelloWorld example, nevertheless I've to change the compiler version, from gcc 4.3.1 to gcc 4.1 (also included in OpenSuse 11.0 packages). Anyway I couldn't compile neither with 4.3.1 compiler.

Thank you.

Best regards.
Reply With Quote
  #4 (permalink)  
Old 08-06-2008
dwayne's Avatar
dwayne dwayne is offline
ZeroC Staff
 
Name: Dwayne Boone
Organization: ZeroC, Inc.
Project: Internet Communications Engine
 
Join Date: Jan 2005
Location: St. John's, Newfoundland
Posts: 209
You might have better luck with GCC 4.3 if you used Ice 3.3. I know that it was tested on some platforms with GCC 4.3, while I am pretty sure Ice 3.2.1 never was.
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
Error with the HelloWorld program of User Manual sylvain.cool Help Center 3 03-05-2008 09:52 AM
Include syntax of generated files. JohnB Help Center 4 02-23-2005 05:36 PM
slice2cpp syntax error using string simple types MKoleoso Help Center 2 09-28-2004 02:12 PM
Any editor with SLICE syntax highlight ? hack Help Center 2 09-27-2004 10:17 AM
sequences syntax panic Help Center 1 12-04-2003 09:55 AM


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