problem building ddk

Anonymous anonymous at
Wed Sep 21 13:12:18 PDT 2005

My distro is Red Hat Enterprise Linux WS release 3 (Taroon)

I have listed the output from make below: it looks like I am missing the definition of ppd_attr_t?

Thanks for your help.


for dir in espmsg cups ppdc data examples man po; do \
        (cd $dir ; make ) || exit 1;\
make[1]: Entering directory `/home/anthonyp/cupsddk-1.0.1/espmsg'
gcc -I.. -Wall -Wwrite-strings -O -fno-exceptions   -c espmsglib.c
/bin/rm -f libespmsg.a
/usr/bin/ar crvs libespmsg.a espmsglib.o
a - espmsglib.o
ranlib libespmsg.a
gcc -I.. -Wall -Wwrite-strings -O -fno-exceptions   -c espmsg.c
gcc -Wall -Wwrite-strings -O -fno-exceptions   -fno-rtti -o espmsg espmsg.o libespmsg.a -lcups -lssl -lcrypto -lnsl -lm  -lsupc++
make[1]: Leaving directory `/home/anthonyp/cupsddk-1.0.1/espmsg'
make[1]: Entering directory `/home/anthonyp/cupsddk-1.0.1/cups'
gcc -I.. -Wall -Wwrite-strings -O -fno-exceptions   -c attr.c
In file included from attr.c:34:
driver.h:138: syntax error before '*' token
driver.h:142: warning: type defaults to `int' in declaration of `cupsFindAttr'
driver.h:142: warning: data definition has no type or storage class
attr.c:43: syntax error before '*' token
attr.c:51: warning: return type defaults to `int'
attr.c: In function `cupsFindAttr':
attr.c:52: `ppd_attr_t' undeclared (first use in this function)
attr.c:52: (Each undeclared identifier is reported only once
attr.c:52: for each function it appears in.)
attr.c:52: `attr' undeclared (first use in this function)
attr.c:77: warning: implicit declaration of function `ppdFindAttr'
make[1]: *** [attr.o] Error 1
make[1]: Leaving directory `/home/anthonyp/cupsddk-1.0.1/cups'
make: *** [all] Error 1

More information about the cups mailing list