Package: upsd
Version: 2.6-4
Severity: serious

From my pbuilder build log:

...
gcc  -Wall -O2 -DPWRSTAT="\"/etc/powerstatus\""\
        -DCFGFILE="\"/etc/upsd.conf\"" -DUPSSTAT="\"/etc/upstatus\"" 
-DVERSION="\"v2.6\"" -c upsd.c -o upsd.o
upsd.c: In function 'NotifyInit':
upsd.c:307: error: 'DCFGFILE' undeclared (first use in this function)
upsd.c:307: error: (Each undeclared identifier is reported only once
upsd.c:307: error: for each function it appears in.)
upsd.c: In function 'main':
upsd.c:594: error: 'CFGFILE' undeclared (first use in this function)
upsd.c:619: error: 'DCFGFILE' undeclared (first use in this function)
make[1]: *** [upsd.o] Error 1
make[1]: Leaving directory `/tmp/buildd/upsd-2.6'
make: *** [build-stamp] Error 2

Adding a space before the backslash at the end of the first line should fix
this.
-- 
Daniel Schepler

Reply via email to