Results 1 to 5 of 5

Thread: Can't compile with gcj

  1. #1
    mefoster is offline Registered User
    Name: Mary Ellen Foster
    Organization: Heriot-Watt University, Edinburgh
    Project: ECHOES learning environment
    Join Date
    Jun 2006
    Posts
    121

    Can't compile with gcj

    Okay, this is very weird ... if I try to compile the Java part of Ice 3.3.0 with gcj, I get the following error:

    [javac] 1636. ERROR in /hd/home/mef/rpmbuild/BUILD/Ice-3.3.0/java/src/IceInternal/Timer.java (at line 21)
    [javac] interface TimerTask
    [javac] ^^^^^^^^^
    [javac] The type TimerTask is already defined
    It compiles fine with Sun Java, and I think the above is a spurious error, but I can't figure out what's going on (still trying ...). Any ideas?

    MEF

  2. #2
    bernard's Avatar
    bernard is offline ZeroC Staff
    Name: Bernard Normier
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Palm Beach Gardens, FL
    Posts
    1,294
    Hi Mary-Ellen,

    I think that's just a bug in Timer.java . TimerTask should be in its own TimerTask.java file.

    Cheers,
    Bernard
    Bernard Normier
    ZeroC, Inc.

  3. #3
    fmoya is offline Registered User
    Name: Francisco Moya
    Organization: UCLM
    Project: Debian packages
    Join Date
    Oct 2004
    Posts
    51
    There are patches available for this and some other distrib-related issues in my personal repo:

    Code:
    http://arco.inf-cr.uclm.es/~francisco.moya/debian/
    Everything compiles ok under gcj although running Ice binaries is another issue...

    Regards,
    Paco
    Francisco Moya Fernandez
    Computer Architecture and Tecnology Group
    University of Castilla-La Mancha

    Debian Maintainer of ZeroC Ice packages.

  4. #4
    mefoster is offline Registered User
    Name: Mary Ellen Foster
    Organization: Heriot-Watt University, Edinburgh
    Project: ECHOES learning environment
    Join Date
    Jun 2006
    Posts
    121
    Cool, thanks for the pointer! Would it be acceptable to include your man pages in my Fedora RPM? I'd have to remove the pointers to the "non-free zeroc-ice-manual package" but otherwise they'd go in unchanged.

    MEF

  5. #5
    fmoya is offline Registered User
    Name: Francisco Moya
    Organization: UCLM
    Project: Debian packages
    Join Date
    Oct 2004
    Posts
    51
    Quote Originally Posted by mefoster View Post
    Cool, thanks for the pointer! Would it be acceptable to include your man pages in my Fedora RPM? I'd have to remove the pointers to the "non-free zeroc-ice-manual package" but otherwise they'd go in unchanged.
    Hi Mary Ellen,

    Actually these manpages are not mine, they are taken unmodified from the ZeroC manual. I asked for permission on this forum to include them in my packages. Unfortunately I got a complaint on the licensing terms of the manpages and I had to replace them by stubs which are now GPLd.

    Best regards,
    Paco
    Francisco Moya Fernandez
    Computer Architecture and Tecnology Group
    University of Castilla-La Mancha

    Debian Maintainer of ZeroC Ice packages.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 5
    Last Post: 06-21-2010, 04:03 AM
  2. compile with GCC
    By jeylee in forum Comments
    Replies: 3
    Last Post: 03-31-2005, 08:53 AM
  3. C# compile error!!
    By xpiao in forum Help Center
    Replies: 1
    Last Post: 11-19-2004, 04:06 PM
  4. compile error!
    By ouloba in forum Help Center
    Replies: 7
    Last Post: 09-23-2004, 11:41 PM
  5. Compile error
    By frostzero in forum Help Center
    Replies: 2
    Last Post: 05-07-2004, 04:09 PM

Posting Permissions

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