Switching to amd64 from i386 has been painless except for print
gtklp. This is on an amd64-current compiled on Aug 7th. Since
gtklp is in a package snapshot the error is mine. Any clues for
me? Thanks...
--STeve Andre'
===> Configuring for gtklp-1.2.8p2
perl /usr/ports/infrastructure/bin/pkg_subst -DMACHINE_ARCH=amd64
-DARCH=amd64 -DHOMEPAGE=http://gtklp.sirtobi.com/ -D^PREFIX=/usr/local
-D^SYSCONFDIR=/etc -DFLAVOR_EXT= -DFULLPKGNAME=gtklp-1.2.8p2
-DMAINTAINER=Antoine\ Jacoutot\ \<ajacou...@openbsd.org\>
-D^BASE_PKGPATH=print/gtklp -D^LOCALBASE=/usr/local
-D^X11BASE=/usr/X11R6 -D^TRUEPREFIX=/usr/local -D^RCDIR=/etc/rc.d
/usr/ports/pobj/gtklp-1.2.8/gtklp-1.2.8/Makefile.fallback
===> Building for gtklp-1.2.8p2
Try to change config.h if compilation fails !
=============================================
cc -c -Iinclude -I. -Igtklp -Ilibgtklp -Igtklpq -O2 -pipe
-DHAVE_LIBSSL `cups-config --cflags` `pkg-config gtk+-2.0 --cflags`
-DLOCALEDIR=\"/usr/local/share/locale\" -o gtklp/gtklp.o gtklp/gtklp.c
cc -c -Iinclude -I. -Igtklp -Ilibgtklp -Igtklpq -O2 -pipe
-DHAVE_LIBSSL `cups-config --cflags` `pkg-config gtk+-2.0 --cflags`
-DLOCALEDIR=\"/usr/local/share/locale\" -o gtklp/file.o gtklp/file.c
cc -c -Iinclude -I. -Igtklp -Ilibgtklp -Igtklpq -O2 -pipe
-DHAVE_LIBSSL `cups-config --cflags` `pkg-config gtk+-2.0 --cflags`
-DLOCALEDIR=\"/usr/local/share/locale\" -o gtklp/general.o gtklp/general.c
cc -c -Iinclude -I. -Igtklp -Ilibgtklp -Igtklpq -O2 -pipe
-DHAVE_LIBSSL `cups-config --cflags` `pkg-config gtk+-2.0 --cflags`
-DLOCALEDIR=\"/usr/local/share/locale\" -o gtklp/gtklp_functions.o
gtklp/gtklp_functions.c
gtklp/gtklp_functions.c: In function 'getBannerList':
gtklp/gtklp_functions.c:176: error: dereferencing pointer to incomplete type
gtklp/gtklp_functions.c:177: error: dereferencing pointer to incomplete type
gtklp/gtklp_functions.c:197: error: dereferencing pointer to incomplete type
gtklp/gtklp_functions.c:209: error: dereferencing pointer to incomplete type
gtklp/gtklp_functions.c:210: error: dereferencing pointer to incomplete type
gtklp/gtklp_functions.c: In function 'getOptions':
gtklp/gtklp_functions.c:660: warning: comparison is always true due to
limited range of data type
gtklp/gtklp_functions.c:668: warning: comparison is always true due to
limited range of data type
gtklp/gtklp_functions.c: In function 'PrintFunc':
gtklp/gtklp_functions.c:1956: warning: 'cupsTempFile' is deprecated
(declared at /usr/local/include/cups/cups.h:369)
gmake: *** [gtklp/gtklp_functions.o] Error 1
*** Error code 2
First two complaints in gtklp_functions.c:
176 request->request.op.operation_id=IPP_GET_PRINTER_ATTRIBUTES;
177 request->request.op.request_id=1;