> cannot find -lXext

The linker is telling you that it can not find the library libXext.a, or
possibly libXext.so, for your target platform. 
If your target platform has shared object support for X, which I assume
it does, then it is most likely the file libXext.so that is needed.

This will be in the lib directory for the X11 system, for your target
platform.

I see you have a line:

--x-includes=/home/vinayak/arm-2007q1/arm-none-linux-gnueabi/include/X11
/

To path in the X11 include files, I would have expected a similar one to
path in the X11 libraries. 


I see that you do have:

--x-libraries=/home/vinayak/arm-2007q1/lib 

Does that lib directory contain your X11 libraries?
I assume it only contains the base target libraries, and that you need
to add another path to point to the X11 libs as well.

I see that you have tried to pass "host" and "target" options to the
fltk configure script, but the fltk configure does not support
cross-compilation all that well, so you are really wasting your time
there.

You are far better off just configuring fltk for your host, then
hand-editing a copy of the generated "makeinclude" and "config.h" files
to change all the target and tool paths in "makeinclude" to point to
your cross-compilation environment.


However - I would advise against bothering too much about trying to
build fluid in a cross-compiler environment anyway.
When would you ever use it? That version of fluid will only run on your
target platform, but fluid is used when developing code on the host
platform, so the *host* version of fluid, which I assume you already
have, is really the only one you ever need...

That said, if you can't get fluid to link correctly, then you will not
be able to link other applications either, so sorting out the paths to
your X11 libraries is something you do need to resolve.

-- 
Ian




SELEX Sensors and Airborne Systems Limited
Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 
3EL
A company registered in England & Wales.  Company no. 02426132
********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************

_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to