errors compiling gtk+2

Tom Liehe via Fink-beginners <[email protected]>
Newsgroups gmane.os.apple.fink.beginners
Message-ID <[email protected]>
two error types:
1) incomplete definition of type ’struct _ipp_s’
2) incomplete definition of type ’struct _ipp_attribute_s'

edited log file showing 1st error only:


The following package will be installed or updated:
 gtk+2
The following additional package will be installed:
 gtk+2-shlibs

<snip>

Making all in cups

<snip>

libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../.. -I../../../gtk -I../../../gtk -I../../../gdk -I../../../gdk -DGTK_PRINT_BACKEND_ENABLE_UNSUPPORTED -I/opt/sw/include/glib-2.0 -I/opt/sw/lib/glib-2.0/include -I/opt/sw/include/pango-1.0 -I/opt/sw/include/atk-1.0 -I/opt/sw/include/cairo -I/opt/sw/include/pango-1.0 -I/opt/sw/include/freetype2 -I/opt/sw/include -I/opt/X11/include -DG_DISABLE_CAST_CHECKS -DDISABLE_VISIBILITY -D_IPP_PRIVATE_STRUCTURES=1 -I/opt/sw/include -DG_DISABLE_SINGLE_INCLUDES -DATK_DISABLE_SINGLE_INCLUDES -DGDK_PIXBUF_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES -I/opt/X11/include -DGDK_PIXBUF_DISABLE_DEPRECATED -Os -Wall -MT gtkcupsutils.lo -MD -MP -MF .deps/gtkcupsutils.Tpo -c gtkcupsutils.c  -fno-common -DPIC -o .libs/gtkcupsutils.o
gtkcupsutils.c:152:23: warning: 'httpConnectEncrypt' is deprecated: first deprecated in macOS 10.9 - Use httpConnect2 instead. [-Wdeprecated-declarations]
      request->http = httpConnectEncrypt (request->server, 
                      ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/cups/http.h:458:17: note: 'httpConnectEncrypt' has been explicitly marked deprecated here
extern http_t           *httpConnectEncrypt(const char *host, int port, http_encryption_t encryption) _CUPS_DEPRECATED_1_7_MSG("Use httpConnect2 instead.");
                         ^
gtkcupsutils.c:168:23: error: incomplete definition of type 'struct _ipp_s'
  request->ipp_request->request.op.operation_id = operation_id;
  ~~~~~~~~~~~~~~~~~~~~^

<snip>

Also include the following system information:
Package manager version: 0.45.0
Distribution version: selfupdate-rsync Sat Dec 14 21:32:02 2019, 10.15, x86_64
Trees: local/main stable/main
Xcode.app: 11.3
Xcode command-line tools: 11.3.0.0.1.1574140115
Max. Fink build jobs:  1

_______________________________________________
Fink-beginners mailing list
[email protected]
List archive:
https://sourceforge.net/p/fink/mailman/fink-users/
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.