Thread: GCJ

  1. #1
    Registered User
    Join Date
    Jun 2009
    Posts
    1

    GCJ

    Dear All ,

    i am tring to compile a jar file using gcj45 under freebsd thisduring compilation it gives me the a lot of undefined reference errors like :
    /var/tmp//cc1e9TFE.o(.data+0x844): undefined reference to `org::apache::log4j::Logger::class$'
    /var/tmp//cc1e9TFE.o(.data+0xafc): undefined reference to `org::apache::log4j::Logger::class$'
    /var/tmp//cc1e9TFE.o(.data+0xc8c): undefined reference to `org::apache::log4j::Logger::class$'
    /var/tmp//cc1e9TFE.o(.data+0x1854): undefined reference to `org::apache::log4j::Logger::class$'
    /var/tmp//cc1e9TFE.o(.data+0x1b10): undefined reference to `org::apache::log4j::Logger::class$'

    do any now know how to solve that problem .

    Thanks and best regards
    Hegazy

  2. #2
    Registered User
    Join Date
    Sep 2001
    Posts
    4,912
    Moved to the Tech board - GCJ has nothing to do with C++

  3. #3
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,895
    Do you have the log4j jar available and compiled?
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. GCJ & GCC, MingW
    By @nthony in forum A Brief History of Cprogramming.com
    Replies: 8
    Last Post: 09-12-2007, 03:23 AM