nanogui: a fltk cross-compiling problem


Previous by date: 12 May 2005 07:45:23 +0100 Project help, Alain Volmat
Next by date: 12 May 2005 07:45:23 +0100 Project's activity reaching 0% ?, adrien\.constancin
Previous in thread:
Next in thread:

Subject: a fltk cross-compiling problem
From: "=?gb2312?B?0KTIzQ==?=" ####@####.####
Date: 12 May 2005 07:45:23 +0100
Message-Id: <AINTS2ki4jsGvs0Qzfu00043c96@aints2.asiainfo.com>

Hi, there

Could anyone please tell me why I can't compile fltk?(in redhat9.2 with arm-elf-g++), the error message is listed below, thanks very much!

=== making src ===
make[1]: Entering directory `/EM85xx.envision/thirdparties/flnx/src'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/EM85xx.envision/thirdparties/flnx/src'
=== making fluid ===
make[1]: Entering directory `/EM85xx.envision/thirdparties/flnx/fluid'
arm-elf-g++ -I.. -O2 -Wall -Wno-return-type -elf2flt="-s16384" -DNANO_X -I/EM85xx.envision/thirdparties/microwindows/src/include -DNANOXFOLDER='"/EM85xx.envision/thirdparties/microwindows/src/bin"' -c Fluid_Image.cxx
Fluid_Image.cxx: In method `pixmap_image::pixmap_image(const char *, FILE *)':
Fluid_Image.cxx:159: internal error--unrecognizable insn:
(insn 1242 1239 1227 (set (reg:QI 4 r4)
        (mem:QI (plus:SI (reg:SI 2 r2)
                (const_int -2256 [0xfffff730])) 0)) -1 (nil)
    (nil))
make[1]: *** [Fluid_Image.o] Error 1
make[1]: Leaving directory `/EM85xx.envision/thirdparties/flnx/fluid'
=== making test ===
make[1]: Entering directory `/EM85xx.envision/thirdparties/flnx/test'
arm-elf-g++ -I.. -O2 -Wall -Wno-return-type -elf2flt="-s16384" -DNANO_X -I/EM85xx.envision/thirdparties/microwindows/src/include -DNANOXFOLDER='"/EM85xx.envision/thirdparties/microwindows/src/bin"' valuators.cxx -L../lib -lfltk -DNANO_X=1 -L/lib   -L/EM85xx.envision/thirdparties/microwindows/src/lib -lnano-X -lmwengine -lmwdrivers -lmwfonts -lm -L/EM85xx.envision/thirdparties/zlib -lz -o valuators
valuators.elf2flt:/root/utars/SourceDir/arm-elf-gcc/gcc/include/typeinfo:22: undefined reference to `RUA_ReleaseDevice'
valuators.elf2flt:/root/utars/SourceDir/arm-elf-gcc/gcc/../../gcc-2.95.3/gcc/cp/tinfo.h:11: undefined reference to `RUA_OpenDevice'
valuators.elf2flt:/root/utars/SourceDir/arm-elf-gcc/gcc/../../gcc-2.95.3/gcc/cp/tinfo.h:11: undefined reference to `RUA_OSDFB_SWITCH'
valuators.elf2flt: In function `qosd_open':
valuators.elf2flt(.text.qosd_open+0x100): undefined reference to `RUA_DECODER_SET_PROPERTY'
valuators.elf2flt(.text.qosd_open+0x134): undefined reference to `RUA_DECODER_SET_PROPERTY'
valuators.elf2flt:/root/utars/SourceDir/arm-elf-gcc/gcc/include/exception:22: undefined reference to `png_sig_cmp'
valuators.elf2flt:/root/utars/SourceDir/arm-elf-gcc/gcc/../../gcc-2.95.3/gcc/cp/tinfo.h:50: undefined reference to `png_create_read_struct'
valuators.elf2flt:/root/utars/SourceDir/arm-elf-gcc/gcc/../../gcc-2.95.3/gcc/cp/tinfo.h:50: undefined reference to `png_create_info_struct'
valuators.elf2flt:/root/utars/SourceDir/arm-elf-gcc/gcc/../../gcc-2.95.3/gcc/cp/tinfo.h:50: undefined reference to `png_destroy_read_struct'
valuators.elf2flt:/root/utars/SourceDir/arm-elf-gcc/gcc/../../gcc-2.95.3/gcc/cp/tinfo.h:50: undefined reference to `png_set_read_fn'
valuators.elf2flt: In function `LoadPNG':
valuators.elf2flt(.text.LoadPNG+0x100): undefined reference to `png_set_sig_bytes'
valuators.elf2flt(.text.LoadPNG+0x10c): undefined reference to `png_read_info'
valuators.elf2flt(.text.LoadPNG+0x138): undefined reference to `png_get_IHDR'
valuators.elf2flt(.text.LoadPNG+0x288): undefined reference to `png_destroy_read_struct'
valuators.elf2flt(.text.LoadPNG+0x2b4): undefined reference to `png_destroy_read_struct'
valuators.elf2flt(.text.LoadPNG+0x2f8): undefined reference to `png_read_image'
valuators.elf2flt(.text.LoadPNG+0x304): undefined reference to `png_read_end'
valuators.elf2flt(.text.LoadPNG+0x31c): undefined reference to `png_destroy_read_struct'
collect2: ld returned 1 exit status
make[1]: *** [valuators] Error 1
make[1]: Leaving directory `/EM85xx.envision/thirdparties/flnx/test'
make: *** [all] Error 2



B/R
Ray


Previous by date: 12 May 2005 07:45:23 +0100 Project help, Alain Volmat
Next by date: 12 May 2005 07:45:23 +0100 Project's activity reaching 0% ?, adrien\.constancin
Previous in thread:
Next in thread:


Powered by ezmlm-browse 0.20.