zj-58
zj-58 copied to clipboard
compiling with freebsd
Hi,
if i try to compile this on FreeBSD 10 with gcc 4.8.5 i get the following error:
# make rastertozj.o
gcc -Wl,-rpath,/usr/lib -Wall -fPIC -O3 -c rastertozj.c
rastertozj.c: In function 'pageSetup':
rastertozj.c:191:13: error: lvalue required as left operand of assignment
old_signal = signal(15,cancelJob);
^
*** Error code 1
Stop.
make: stopped in /root/zj-58
How can I fix this ?