gmrun
gmrun copied to clipboard
Build problems
Great initiative trying to maintain this nice little soft! I have a small build problem; any ideas?
jscdfj@mush:~/workspace/gmrun> make
make all-recursive
make[1]: Entering directory `/home/jschaerer/workspace/gmrun'
Making all in src
make[2]: Entering directory `/home/jschaerer/workspace/gmrun/src'
g++ -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -g -O2 -MT gtkcompletionline.o -MD -MP -MF .deps/gtkcompletionline.Tpo -c -o gtkcompletionline.o gtkcompletionline.cc
gtkcompletionline.cc: In function ‘guint gtk_completion_line_get_type()’:
gtkcompletionline.cc:94:5: warning: deprecated conversion from string constant to ‘gchar*’
gtkcompletionline.cc: In function ‘void generate_execs()’:
gtkcompletionline.cc:411:76: error: invalid conversion from ‘int (*)(const void*, const void*)’ to ‘int (*)(const dirent**, const dirent**)’
gtkcompletionline.cc:411:76: error: initializing argument 4 of ‘int scandir(const char*, dirent***, int (*)(const dirent*), int (*)(const dirent**, const dirent**))’
gtkcompletionline.cc: In function ‘int generate_dirlist(const char*)’:
gtkcompletionline.cc:511:72: error: invalid conversion from ‘int (*)(const void*, const void*)’ to ‘int (*)(const dirent**, const dirent**)’
gtkcompletionline.cc:511:72: error: initializing argument 4 of ‘int scandir(const char*, dirent***, int (*)(const dirent*), int (*)(const dirent**, const dirent**))’
make[2]: *** [gtkcompletionline.o] Error 1
make[2]: Leaving directory `/home/jschaerer/workspace/gmrun/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jschaerer/workspace/gmrun'
make: *** [all] Error 2
Can you try this with the most recent version in Git? I've fixed a couple build errors on newer versions of Gtk+