nanogui: problem compiling flnx-0.17
Subject:
problem compiling flnx-0.17
From:
Barbra Jane Santos ####@####.####
Date:
7 Jan 2003 08:44:16 -0000
Message-Id: <200301071649.17871.bjays@asti.dost.gov.ph>
Hi,
I'm having problems on compiling FLNX-0.17.
These are the steps i did as stated at the install file:
1. go to the directory of flnx which is located at /home/bjay/flnx-0.17
2. run ./configure --with-microwin=/home/bjay/microwin-0.89/src
3. type "make"
These are the errors created:
[bjay@Kalachuchi flnx-0.17]$ make
=== making src ===
make[1]: Entering directory `/home/bjay/flnx-0.17/src'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/bjay/flnx-0.17/src'
=== making fluid ===
make[1]: Entering directory `/home/bjay/flnx-0.17/fluid'
c++ -o fluid Fl_Function_Type.o Fl_Menu_Type.o Fl_Group_Type.o
Fl_Widget_Type.o Fl_Type.o Fl_Window_Type.o Fluid_Image.o code.o factory.o
file.o fluid.o about_panel.o widget_panel.o alignment_panel.o
function_panel.o gif.o -L../lib -lfltk -DNANO_X=1 -L/usr/local/lib
-L/home/bjay/microwin-0.89/src//lib -lnano-X -lmwengine -lmwdrivers -lmwfonts
-ljpeg -lm
../lib/libfltk.a(Fl.o): In function `Fl::flush(void)':
Fl.o(.text+0x2a8): undefined reference to `XFlush'
../lib/libfltk.a(Fl.o): In function `Fl_Window::hide(void)':
Fl.o(.text+0xd0d): undefined reference to `XDestroyRegion'
Fl.o(.text+0xd23): undefined reference to `XDestroyWindow'
../lib/libfltk.a(Fl.o): In function `Fl_Window::handle(int)':
Fl.o(.text+0xdc4): undefined reference to `XMapWindow'
Fl.o(.text+0xddf): undefined reference to `XUnmapWindow'
../lib/libfltk.a(Fl.o): In function `Fl_Widget::damage(unsigned char)':
Fl.o(.text+0xebb): undefined reference to `XDestroyRegion'
../lib/libfltk.a(Fl.o): In function `Fl_Widget::damage(unsigned char, int,
int, int, int)':
Fl.o(.text+0xfde): undefined reference to `XUnionRectWithRegion'
Fl.o(.text+0xfff): undefined reference to `XDestroyRegion'
../lib/libfltk.a(Fl.o): In function `Fl_Window::flush(void)':
Fl.o(.text+0x104c): undefined reference to `fl_clip_region(_XRegion *)'
../lib/libfltk.a(Fl_Bitmap.o): In function `Fl_Bitmap::draw(int, int, int,
int, int, int)':
Fl_Bitmap.o(.text+0xd0): undefined reference to `XCreateBitmapFromData'
Fl_Bitmap.o(.text+0xf1): undefined reference to `XSetStipple'
Fl_Bitmap.o(.text+0x120): undefined reference to `XSetTSOrigin'
Fl_Bitmap.o(.text+0x136): undefined reference to `XSetFillStyle'
Fl_Bitmap.o(.text+0x15c): undefined reference to `XFillRectangle'
Fl_Bitmap.o(.text+0x172): undefined reference to `XSetFillStyle'
../lib/libfltk.a(Fl_Bitmap.o): In function `Fl_Bitmap::~Fl_Bitmap(void)':
Fl_Bitmap.o(.text+0x1a1): undefined reference to `XFreePixmap'
../lib/libfltk.a(Fl_Double_Window.o): In function `can_xdbe(void)':
Fl_Double_Window.o(.text+0x31): undefined reference to `XdbeQueryExtension'
Fl_Double_Window.o(.text+0x6c): undefined reference to `XdbeGetVisualInfo'
Fl_Double_Window.o(.text+0xbd): undefined reference to `XdbeFreeVisualInfo'
../lib/libfltk.a(Fl_Double_Window.o): In function
`Fl_Double_Window::show(void)':
Fl_Double_Window.o(.text+0xf7): undefined reference to
`Fl_X::make_xid(Fl_Window *, XVisualInfo *, unsigned long)'
../lib/libfltk.a(Fl_Double_Window.o): In function
`Fl_Double_Window::flush(int)':
Fl_Double_Window.o(.text+0x15b): undefined reference to
`XdbeAllocateBackBufferName'
Fl_Double_Window.o(.text+0x18a): undefined reference to `XCreatePixmap'
Fl_Double_Window.o(.text+0x1ca): undefined reference to `XDestroyRegion'
Fl_Double_Window.o(.text+0x1e9): undefined reference to
`fl_clip_region(_XRegion *)'
Fl_Double_Window.o(.text+0x22d): undefined reference to `XdbeSwapBuffers'
Fl_Double_Window.o(.text+0x256): undefined reference to
`fl_clip_region(_XRegion *)'
Fl_Double_Window.o(.text+0x27a): undefined reference to
`fl_clip_region(_XRegion *)'
Fl_Double_Window.o(.text+0x295): undefined reference to
`fl_clip_region(_XRegion *)'
Fl_Double_Window.o(.text+0x2ea): undefined reference to `XCopyArea'
../lib/libfltk.a(Fl_Double_Window.o): In function
`Fl_Double_Window::resize(int, int, int, int)':
Fl_Double_Window.o(.text+0x35c): undefined reference to `XFreePixmap'
../lib/libfltk.a(Fl_Double_Window.o): In function
`Fl_Double_Window::hide(void)':
Fl_Double_Window.o(.text+0x39f): undefined reference to `XFreePixmap'
../lib/libfltk.a(Fl_x.o): In function `fl_handle(GR_EVENT const &)':
Fl_x.o(.text+0x4c4): undefined reference to `fl_find(unsigned int)'
collect2: ld returned 1 exit status
make[1]: *** [fluid] Error 1
make[1]: Leaving directory `/home/bjay/flnx-0.17/fluid'
=== making test ===
make[1]: Entering directory `/home/bjay/flnx-0.17/test'
c++ -I.. -O2 -Wall -Wno-return-type -DNANO_X
-I/home/bjay/microwin-0.89/src//include
-DNANOXFOLDER='"/home/bjay/microwin-0.89/src//bin"' valuators.cxx -L../lib
-lfltk -DNANO_X=1 -L/usr/local/lib -L/home/bjay/microwin-0.89/src//lib
-lnano-X -lmwengine -lmwdrivers -lmwfonts -ljpeg -lm -o valuators
../lib/libfltk.a(Fl.o): In function `Fl::flush(void)':
Fl.o(.text+0x2a8): undefined reference to `XFlush'
../lib/libfltk.a(Fl.o): In function `Fl_Window::hide(void)':
Fl.o(.text+0xd0d): undefined reference to `XDestroyRegion'
Fl.o(.text+0xd23): undefined reference to `XDestroyWindow'
../lib/libfltk.a(Fl.o): In function `Fl_Window::handle(int)':
Fl.o(.text+0xdc4): undefined reference to `XMapWindow'
Fl.o(.text+0xddf): undefined reference to `XUnmapWindow'
../lib/libfltk.a(Fl.o): In function `Fl_Widget::damage(unsigned char)':
Fl.o(.text+0xebb): undefined reference to `XDestroyRegion'
../lib/libfltk.a(Fl.o): In function `Fl_Widget::damage(unsigned char, int,
int, int, int)':
Fl.o(.text+0xfde): undefined reference to `XUnionRectWithRegion'
Fl.o(.text+0xfff): undefined reference to `XDestroyRegion'
../lib/libfltk.a(Fl.o): In function `Fl_Window::flush(void)':
Fl.o(.text+0x104c): undefined reference to `fl_clip_region(_XRegion *)'
../lib/libfltk.a(Fl_Bitmap.o): In function `Fl_Bitmap::draw(int, int, int,
int, int, int)':
Fl_Bitmap.o(.text+0xd0): undefined reference to `XCreateBitmapFromData'
Fl_Bitmap.o(.text+0xf1): undefined reference to `XSetStipple'
Fl_Bitmap.o(.text+0x120): undefined reference to `XSetTSOrigin'
Fl_Bitmap.o(.text+0x136): undefined reference to `XSetFillStyle'
Fl_Bitmap.o(.text+0x15c): undefined reference to `XFillRectangle'
Fl_Bitmap.o(.text+0x172): undefined reference to `XSetFillStyle'
../lib/libfltk.a(Fl_Bitmap.o): In function `Fl_Bitmap::~Fl_Bitmap(void)':
Fl_Bitmap.o(.text+0x1a1): undefined reference to `XFreePixmap'
../lib/libfltk.a(Fl_x.o): In function `fl_handle(GR_EVENT const &)':
Fl_x.o(.text+0x4c4): undefined reference to `fl_find(unsigned int)'
collect2: ld returned 1 exit status
make[1]: *** [valuators] Error 1
make[1]: Leaving directory `/home/bjay/flnx-0.17/test'
make: *** [all] Error 2