Results 1 to 4 of 4

Thread: HelloWorld syntax error with OpenSuSe11

  1. #1
    javiroman is offline Registered User
    Name: Javier Roman
    Organization: www.cediant.es
    Project: HPC Banking
    Join Date
    Aug 2007
    Location
    Madrid (Spain)
    Posts
    2

    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.

  2. #2
    matthew's Avatar
    matthew is offline ZeroC Staff
    Name: Matthew Newhook
    Organization: ZeroC, Inc.
    Project: Internet Communications Engine
    Join Date
    Feb 2003
    Location
    NL, Canada
    Posts
    1,458
    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.

  3. #3
    javiroman is offline Registered User
    Name: Javier Roman
    Organization: www.cediant.es
    Project: HPC Banking
    Join Date
    Aug 2007
    Location
    Madrid (Spain)
    Posts
    2
    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.

  4. #4
    dwayne's Avatar
    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
    397
    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.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. HelloWorld: Problems with C++
    By JAX82 in forum Help Center
    Replies: 6
    Last Post: 09-07-2011, 09:16 AM
  2. Error with the HelloWorld program of User Manual
    By sylvain.cool in forum Help Center
    Replies: 3
    Last Post: 03-05-2008, 08:52 AM
  3. slice2cpp syntax error using string simple types
    By MKoleoso in forum Help Center
    Replies: 2
    Last Post: 09-28-2004, 01:12 PM
  4. C# helloworld example's problem
    By ghc in forum Help Center
    Replies: 2
    Last Post: 07-29-2004, 12:32 AM
  5. sequences syntax
    By panic in forum Help Center
    Replies: 1
    Last Post: 12-04-2003, 08:55 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •