#9 arena_create undefined

closed-wont-fix
nobody
None
5
2009-05-31
2008-08-22
Anonymous
No

this is a problem on cygwin, where all symbols must be defined to run

Discussion

  • Catenary
    Catenary
    2008-09-07

    Logged In: YES
    user_id=1605740
    Originator: NO

    Hi,

    I've never tried running on cygwin, and I'm afraid I don't have time right now to try and set it up. If you could provide a bit more detail, I'd have a better chance of fixing this.

    ie:
    when do you see the problem? Is this when running setup.py or afterwards when running gnofract4d?
    What exactly is the error message?

     
  • Logged In: NO

    everything builds fine, but when you go to run it

    % ./gnofract4d
    A fatal error occurred:
    Error reported by C compiler:/home/paul/.gnofract4d-cache/fract4d_2e76a1db7ed6bb2236c35185ce040216.c:1: warning: -fPIC ignored for target (all code is position independent)
    /tmp/ccvG9ToF.o:fract4d_2e76a1db7ed6bb2236c35185ce040216.c:(.text+0x2c1): undefined reference to `_arena_delete'
    /tmp/ccvG9ToF.o:fract4d_2e76a1db7ed6bb2236c35185ce040216.c:(.text+0x302): undefined reference to `_arena_create'
    /tmp/ccvG9ToF.o:fract4d_2e76a1db7ed6bb2236c35185ce040216.c:(.text+0x246): undefined reference to `_arena_clear'
    collect2: ld returned 1 exit status

    Traceback (most recent call last):
    File "./gnofract4d", line 152, in <module>
    main(sys.argv[1:])
    File "./gnofract4d", line 81, in main
    gtkmain(opts)
    File "./gnofract4d", line 128, in gtkmain
    mainWindow = main_window.MainWindow()
    File "/src/gnofract4d/fract4dgui/main_window.py", line 69, in __init__
    self.f = gtkfractal.T(self.compiler,self)
    File "/src/gnofract4d/fract4dgui/gtkfractal.py", line 439, in __init__
    Hidden.__init__(self,comp,width,height)
    File "/src/gnofract4d/fract4dgui/gtkfractal.py", line 77, in __init__
    self.try_init_fractal()
    File "/src/gnofract4d/fract4dgui/gtkfractal.py", line 89, in try_init_fractal
    self.f.compile()
    File "/src/gnofract4d/fract4d/fractal.py", line 611, in compile
    self.compiler_options)
    File "/src/gnofract4d/fract4d/fc.py", line 268, in compile_all
    outputfile = os.path.abspath(self.generate_code(t, cg))
    File "/src/gnofract4d/fract4d/fc.py", line 414, in generate_code
    "Error reported by C compiler:%s" % output)
    fract4d.fracttypes.TranslationError: Error reported by C compiler:/home/paul/.gnofract4d-cache/fract4d_2e76a1db7ed6bb2236c35185ce040216.c:1: warning: -fPIC ignored for target (all code is position independent)
    /tmp/ccvG9ToF.o:fract4d_2e76a1db7ed6bb2236c35185ce040216.c:(.text+0x2c1): undefined reference to `_arena_delete'
    /tmp/ccvG9ToF.o:fract4d_2e76a1db7ed6bb2236c35185ce040216.c:(.text+0x302): undefined reference to `_arena_create'
    /tmp/ccvG9ToF.o:fract4d_2e76a1db7ed6bb2236c35185ce040216.c:(.text+0x246): undefined reference to `_arena_clear'
    collect2: ld returned 1 exit status
    Exit 1

     
  • Catenary
    Catenary
    2009-05-31

    Realistically I'm never going to get to this myself - cygwin isn't really a priority for me I'm afraid. Would happily accept patches if anyone else feels like fixing it.

     
  • Catenary
    Catenary
    2009-05-31

    • status: open --> open-wont-fix
     
  • Catenary
    Catenary
    2009-05-31

    • status: open-wont-fix --> closed-wont-fix