Compilation Error: cups_dispatch_watch_check




Hi,

trying to compile GTK+2 version 2.10.2 or 2.10.3 produces the following
error

gtkprintbackendcups.c: In function `cups_dispatch_watch_check':
gtkprintbackendcups.c:510: error: dereferencing pointer to incomplete type
gtkprintbackendcups.c:517: error: dereferencing pointer to incomplete type
gtkprintbackendcups.c:518: error: dereferencing pointer to incomplete type

I think the relevant code lines that might produce the complication error are related to


(from gtkprintbackendcups.c version 2.10.2)
l509:       dispatch->data_poll->fd = dispatch->request->http->fd;
l516:      if (dispatch->data_poll->fd != dispatch->request->http->fd)
l517:        dispatch->data_poll->fd = dispatch->request->http->fd;

Disabling the cups module compiles a workable GTK+2 library without
any printing capability.

I am using Cups version 1.3svn, gcc 3.4.2 and Linux Kernel
version 2.6.17.9.

With best regards,
Holger Meinhardt




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]