nanogui: Re: Problems building FLTK for Nano-x
Subject:
Problems building FLTK for Nano-x
From:
####@####.####
Date:
27 Sep 2000 10:34:18 -0000
Message-Id: <48256967.003950E0.00@HKGWEB01.VTECH.COM.HK>
Hi Murphy,
> I've uploaded a new patch for fltk-1.0.9 on Nano-X.
> http://hpc.ee.ntu.edu.tw/~murphy/diff-fltk-1.0.9-mc5.gz
>
> The problem of Fl_Bitmap has been partially fixed.
> More test programs now runs happily.
>
> Note that you might like to modify fl_font.cxx, row 205
> for a default font.
>
>Murphy C. Chen ####@####.####
>HsinChu, Taiwan, ROC. http://murphy.somewhere.net/
Thank for your generous distribution of patch for fltk on nano-x.
I find it work on native Linux (X86) with slight font misalignment. Very cool.
However, I'd like to port it on my target platform, Assabet board. It is Intel
SA1110 development board.
I modify the compiler path in Makefile accordingly for arm-linux.
I find all sources under src can be built up but not successful in test, fluid
subdirectory.
i.e. lib/libfltk.a is successfully built up.
I just list out some errors when making hello program under test subdirectory.
/tmp/ccDNWOwK.o: In function `main':
/tmp/ccDNWOwK.o(.text+0x274): undefined reference to `L196'
/tmp/ccDNWOwK.o(.text+0x27c): undefined reference to `L202'
/tmp/ccDNWOwK.o(.text+0x28c): undefined reference to `L223'
/tmp/ccDNWOwK.o(.text+0x290): undefined reference to `L229'
../lib/libfltk.a(Fl_Box.o): In function `Fl_Box::Fl_Box(int, int, int, int, char
const *)':
Fl_Box.o(.text+0xd0): undefined reference to `L155'
../lib/libfltk.a(Fl_Box.o): In function `Fl_Box::Fl_Box(Fl_Boxtype, int, int,
int, int, char const *)':
Fl_Box.o(.text+0x198): undefined reference to `L166'
../lib/libfltk.a(Fl_Group.o): In function `Fl_Group::Fl_Group(int, int, int,
int, char const *)':
Fl_Group.o(.text+0x7d0): undefined reference to `L606'
../lib/libfltk.a(Fl_Window.o): In function `Fl_Window::Fl_Window(int, int, int,
int, char const *)':
Fl_Window.o(.text+0x16c): undefined reference to `L181'
Fl_Window.o(.text+0x174): undefined reference to `L187'
../lib/libfltk.a(Fl_Window.o): In function `Fl_Window::Fl_Window(int, int, char
const *)':
Fl_Window.o(.text+0x298): undefined reference to `L197'
Fl_Window.o(.text+0x2a0): undefined reference to `L203'
../lib/libfltk.a(fl_font.o): In function `find(int, int)':
fl_font.o(.text+0x620): undefined reference to `L641'
fl_font.o(.text+0x9fc): undefined reference to `L704'
fl_font.o(.text+0xa00): undefined reference to `L712'
fl_font.o(.text+0xa68): undefined reference to `L718'
collect2: ld returned 1 exit status
make: *** [hello] Error 1
Am I doing wrong?
Your help is highly appreciated.
Eric Wong.