[Pkg-cups-devel] gtklp: FTBFS: libgtklp.c:348:10: error: dereferencing pointer to incomplete type
peter green
plugwash at p10link.net
Sun Nov 16 00:17:22 UTC 2014
I needed this to build in raspbian and so I hacked until I got it
building but it really needs looking at by someone more experianced.
The first issue seemed to be a missing include of cups/ipp.h (though I
may have misread the problem) easy enough to fix.
Then I fixed a few direct accesses to structures where direct access was
not allowed, I think I replaced them with the right things but i'm not
positive.
Then I ran into.
libgtklp.c:351:10: error: dereferencing pointer to incomplete type
request->request.op.operation_id=IPP_GET_PRINTER_ATTRIBUTES;
^
libgtklp.c:352:10: error: dereferencing pointer to incomplete type
request->request.op.request_id=1;
My googling was unable to find what the modern equivilent of this is. I
was able to make the code build by defining _IPP_PRIVATE_STRUCTURES to 1
but that is not a long term soloution.
That got libgtklp.c to build. I also had to add the
_IPP_PRIVATE_STRUCTURES thing in gtklp/gtklp_functions.c and I'd given
up looking for modern equvilents by this point
Debdiff attatched and uploaded to raspbian. No intent to NMU in debian.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: gtklp.debdiff
URL: <http://lists.alioth.debian.org/pipermail/pkg-cups-devel/attachments/20141116/6e176054/attachment-0001.ksh>
More information about the Pkg-cups-devel
mailing list