Menu

#71 0.20-1 compile error on IRIX 6.5.22 (GCC 3.4.0)

All
open
nobody
All (7)
5
2005-11-10
2005-11-10
No

Invoking make throws the following warnings and finally
an error:

export.c: In function `gimp_export_image':
export.c:699: warning: enumeration value `U16_RGB' not
handled in switch
export.c:699: warning: enumeration value `U16_GRAY' not
handled in switch
export.c:699: warning: enumeration value `U16_INDEXED'
not handled in switch
export.c:699: warning: enumeration value `FLOAT_RGB'
not handled in switch
export.c:699: warning: enumeration value `FLOAT_GRAY'
not handled in switch
export.c:699: warning: enumeration value `FLOAT16_RGB'
not handled in switch
export.c:699: warning: enumeration value `FLOAT16_GRAY'
not handled in switch
export.c:699: warning: enumeration value `BFP_RGB' not
handled in switch
export.c:699: warning: enumeration value `BFP_GRAY' not
handled in switch
helpui.c:422:2: warning: no newline at end of file
image.c: In function `gimp_image_get_icc_profile_by_mem':
image.c:966: warning: implicit declaration of function
`calloc'
plugin_main.c:104: warning: 'write_buffer' defined but
not used
plugin_main.c:105: warning: 'write_buffer_index'
defined but not used
unitmenu.c: In function `gimp_unit_menu_new':
unitmenu.c:158: warning: suggest parentheses around &&
within ||
unitmenu.c: In function `gimp_unit_menu_create_selection':
unitmenu.c:488: warning: unused variable `vbox'
ld32: WARNING 85: definition of locale_charset in
/usr/nekoware/lib/libintl.so preempts that definition
in /usr/nekoware/lib/libiconv.so.
ld32: WARNING 85: definition of locale_charset in
/usr/nekoware/lib/libintl.so preempts that definition
in /usr/nekoware/lib/libiconv.so.
cc1plus: error: invalid option argument
`-OPT:Olimit=0:roundoff=3'

The last few lines of the full compile output are:

creating bmp
Making all in bracketing_to_hdr
if g++ -DHAVE_CONFIG_H -I. -I. -I../../lib
-I/usr/nekoware/include
-I/usr/nekoware/include/glib-1.2
-I/usr/nekoware/lib/glib/include
-I/usr/nekoware/include/gtk-1.2
-I/usr/nekoware/include/glib-1.2
-I/usr/nekoware/lib/glib/include -INONE/include
-I/usr/nekoware/include/gtk-1.2
-I/usr/nekoware/include/glib-1.2
-I/usr/nekoware/lib/glib/include
-I/usr/nekoware/include/glib-1.2
-I/usr/nekoware/lib/glib/include
-I/usr/nekoware/include
-I/usr/nekoware/include/freetype2
-I/usr/nekoware/include -O3 -Wl,-rpath
-Wl,/usr/nekoware/lib -mips4 -I/usr/nekoware/include
-OPT:Olimit=0:roundoff=3
-TARG:platform=IP27:proc=r10000 -LANG:std=off
-LANG:libc_in_namespace_std=off -I../..
-I/usr/local/include -I/usr/nekoware/include/glib-1.2
-I/usr/nekoware/lib/glib/include -g -O2 -MT
plugin_main.o -MD -MP -MF ".deps/plugin_main.Tpo" -c -o
plugin_main.o plugin_main.cpp; \ then mv -f ".deps/plugin_main.Tpo"
".deps/plugin_main.Po"; else rm -f
".deps/plugin_main.Tpo"; exit 1; fi
cc1plus: error: invalid option argument
`-OPT:Olimit=0:roundoff=3'
*** Error code 1 (bu21)
*** Error code 1 (bu21)
*** Error code 1 (bu21)

The full make output is available.

compile machine: Silicon Graphics O2 (R10000 250MHz,
256MB RAM, 4.3GB HDD)

Discussion

  • Simon Vannarath

    Simon Vannarath - 2005-11-10
    • summary: Compile error on IRIX 6.5.22 (GCC 3.4.0) --> 0.20-1 compile error on IRIX 6.5.22 (GCC 3.4.0)
     
  • George N. White III

    Logged In: YES
    user_id=1174289

    You didn't mention the steps that come before "make".

    The compiler options in your Makefile are for the SGI
    compilers. You may be better off looking for a binary
    compiled with the SGI compilers, as they are much better on
    MIPS than the GCC, but if you want to use GCC, you can set
    flags via the environment passed to configure, e.g., using ksh:

    $ CFLAGS='-mips4 -O2' ./configure ...

    This is all documented in the standard "INSTALL" file for
    configure
    apps, which seems to have been left out of cinepaint, but is
    included
    in many apps, so you should be able to find one,

     
  • Simon Vannarath

    Simon Vannarath - 2005-11-14

    Logged In: YES
    user_id=1376448

    Hi,

    I ended up cleaning the compiler environment by fixing
    options in the 'fltk-config' file. The rest happened to be
    OK. After running configure (with default options) I start
    gmake and it all runs smoothly until some linker errors show
    up, referring to unresolved text symbols. Again, this seems
    linked to FLTK:

    ld32: ERROR 33: Unresolved text symbol "fl_alert(char
    const*, ...)" -- 1st referenced by plugin_main.o.
    Use linker option -v to see when and which objects,
    archives and dsos are loaded.

    is one such error. Someone suggested to me that there maybe
    a missing -lfltk in the linkline but after checking there it
    was present. Would this still be an environment problem, or
    a a linker problem? Will I need to get the GNU ld? Thanks
    for the help.

    PS: New compile.log with new output uploaded for reference.

     
  • Simon Vannarath

    Simon Vannarath - 2005-11-14

    compile/link log file

     

Log in to post a comment.