Hello,

I would like to CrossCompile the FLTK 1.1.7 for my avr32 NGW100 board. I've 
changed the config.sub where I've added the avr32 architecture. The invoking of 
the configure command works fine.

"./configure CC=avr32-linux-gcc --host=avr32-linux --prefix=/usr/avr32-linux"

But the "make" command is the problem at the momment:

Compiling Fl_x.cxx...
Fl_x.cxx: In function 'int fl_wait(double)':
Fl_x.cxx:240: error: impossible constraint in 'asm'
Fl_x.cxx:242: error: impossible constraint in 'asm'
Fl_x.cxx:244: error: impossible constraint in 'asm'
make[1]: *** [Fl_x.o] Error 1

This error appears caused by this lines of code:
if (FD_ISSET(f, &fdt[0]))
    revents |= POLLIN;
if (FD_ISSET(f,&fdt[1]))
    revents |= POLLOUT;
if (FD_ISSET(f,&fdt[2]))
    revents |= POLLERR

Has somebody an idea how to get rid of this problem?

Regards
Pete

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

Reply via email to