Hello, Trying to compile 0.1.16 on rasbian and getting the following errors during make:
make all-recursive
make[1]: Entering directory '/home/pi/Downloads/butt-0.1.16'
Making all in src
make[2]: Entering directory '/home/pi/Downloads/butt-0.1.16/src'
depbase=echo butt.o | sed 's|[^/]*$|.deps/&|;s|\.o$||';\
g++ -DHAVE_CONFIG_H -I. -I.. -IFLTK -g -O2 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -MT butt.o -MD -MP -MF $depbase.Tpo -c -o butt.o butt.cpp &&\
mv -f $depbase.Tpo $depbase.Po
butt.cpp: In function ‘int main(int, char)’:
butt.cpp:139:68: error: ‘rpl_malloc’ was not declared in this scope
cfg_path = (char)malloc((strlen(argv[2])+1) * sizeof(char));
^
butt.cpp:149:81: error: ‘rpl_malloc’ was not declared in this scope
cfg_path = (char)malloc((PATH_MAX+strlen(CONFIG_FILE)+1) * sizeof(char));
^
Makefile:434: recipe for target 'butt.o' failed
make[2]: *** [butt.o] Error 1
make[2]: Leaving directory '/home/pi/Downloads/butt-0.1.16/src'
Makefile:354: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/pi/Downloads/butt-0.1.16'
Makefile:294: recipe for target 'all' failed
make: *** [all] Error 2
not sure how to get past these errors. Thanks for any help!