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  
> src part in make.
> Here are the commands and there output ( on ubuntu 9.10  gcc   
> version 4.4.1  ),
> I did it  successfully on debian lenny (gcc < 4.4 )  . Is it gcc  
> version problem

No, it's not a gcc version problem, it is a libc version problem.

>
> === making src ===
> Compiling filename_list.cxx...
> filename_list.cxx: In function ‘int fl_filename_list(const char*,  
> dirent***, int (*)(dirent**, dirent**))’:
> filename_list.cxx:70: error: invalid conversion from ‘int (*)(const  
> void*, const void*)’ to ‘int (*)(const dirent**, const d$
> filename_list.cxx:70: error:   initializing argument 4 of ‘int  
> 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 
() function, in an attempt to make it more robust and compliant, but  
breaking the assumptions that fltk makes...

Use one of the 1.1.10 release candidates from the website - they  
ought to have had the necessary workarounds applied.
Also, fltk-1.3 tarballs should be OK too.



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

Reply via email to