Raspbery (in general, linux) newbie here.
I want to install a thermal dot printer in raspbian, and I've only gotten as far as the first step, which is to run make
for the cups filter, which is this. I think it's stumbling on the file rastertoxp58.c
Below is what terminal returns when I run make
in the directory to which I cloned the repo.
pi@raspberrypi:~/xp58 $ make
gcc -Wl,-rpath,/usr/lib -Wall -fPIC -O3 -c rastertoxp58.c
rastertoxp58.c:17:16: error: redefinition of typedef ‘__sighandler_t’ with different type
typedef void (*__sighandler_t)();
^
In file included from rastertoxp58.c:8:0:
/usr/include/signal.h:85:16: note: previous declaration of ‘__sighandler_t’ was here
typedef void (*__sighandler_t) (int);
^
Makefile:16: recipe for target 'rastertoxp58.o' failed
make: *** [rastertoxp58.o] Error 1