> > On 26 Dec 2009, at 20:15, belahcene wrote: > > > Hi evrey body > > I tried to install fltk1.1.9, firstly it seemed corrcet untill the =20 > > src part in make. > > Here are the commands and there output ( on ubuntu 9.10 gcc =20 > > version 4.4.1 ), > > I did it successfully on debian lenny (gcc < 4.4 ) . Is it gcc =20 > > version problem > > No, it's not a gcc version problem, it is a libc version problem. > > > > > =3D=3D=3D making src =3D=3D=3D > > Compiling filename_list.cxx... > > filename_list.cxx: In function =91int fl_filename_list(const char*, =20= > > > dirent***, int (*)(dirent**, dirent**))=92: > > filename_list.cxx:70: error: invalid conversion from =91int (*)(const =20= > > > void*, const void*)=92 to =91int (*)(const dirent**, const d$ > > filename_list.cxx:70: error: initializing argument 4 of =91int =20 > > scandir(const char*, dirent***, int (*)(const dirent*), int ($ > > make[1]: *** [filename_list.o] Error 1 > > make: *** [all] Error 1 > > > > WHAT IS MISSED ?? > > > The glibc authors changed the signature that they use for the scandir=20 > () function, in an attempt to make it more robust and compliant, but =20 > breaking the assumptions that fltk makes... > > Use one of the 1.1.10 release candidates from the website - they =20 > ought to have had the necessary workarounds applied. > Also, fltk-1.3 tarballs should be OK too. > > > Thanks a lot I wanted recent release so I used 1.1.9, installing debian libc seems difficult since almost everything depends on it, so the possibility to modify in the source is probably the best , may be just in filename_list.cxx ??? how to do and where to do it please, I know c++ ?
thanks a lot again Any way I ll try 1.3 too. _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

