Advertisement
Guest User

pkgbuild_canon

a guest
Jan 20th, 2015
214
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 30.76 KB | None | 0 0
  1. [sudoflex@sudorex aur-cnijfilter-mp560]$ LC_ALL=C makepkg
  2. ==> Making package: cnijfilter-mp560 3.20-3 (Tue Jan 20 23:44:29 CET 2015)
  3. ==> Checking runtime dependencies...
  4. ==> Checking buildtime dependencies...
  5. ==> Retrieving sources...
  6. -> Downloading cnijfilter-source-3.20-1.tar.gz...
  7. % Total % Received % Xferd Average Speed Time Time Time Current
  8. Dload Upload Total Spent Left Speed
  9. 100 6342k 100 6342k 0 0 3858k 0 0:00:01 0:00:01 --:--:-- 3860k
  10. -> Found grayscale.patch
  11. -> Found cups.patch
  12. -> Found libpng15.patch
  13. ==> Validating source files with md5sums...
  14. cnijfilter-source-3.20-1.tar.gz ... Passed
  15. grayscale.patch ... Passed
  16. cups.patch ... Passed
  17. libpng15.patch ... Passed
  18. ==> Extracting sources...
  19. -> Extracting cnijfilter-source-3.20-1.tar.gz with bsdtar
  20. ==> Starting prepare()...
  21. patching file canonmp560.ppd
  22. patching file backend/src/cnij_backend_common.c
  23. patching file cngpijmon/src/bjcupsmon_cups.c
  24. patching file cnijfilter/src/bjfimage.c
  25. ==> Starting build()...
  26. processing .
  27. Running libtoolize...
  28. libtoolize: putting auxiliary files in '.'.
  29. libtoolize: copying file './ltmain.sh'
  30. libtoolize: You should add the contents of the following files to 'aclocal.m4':
  31. libtoolize: '/usr/share/aclocal/libtool.m4'
  32. libtoolize: '/usr/share/aclocal/ltoptions.m4'
  33. libtoolize: '/usr/share/aclocal/ltsugar.m4'
  34. libtoolize: '/usr/share/aclocal/ltversion.m4'
  35. libtoolize: '/usr/share/aclocal/lt~obsolete.m4'
  36. libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.in,
  37. libtoolize: and rerunning libtoolize and aclocal.
  38. libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
  39. Running aclocal ...
  40. aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
  41. Running autoheader...
  42. Running automake --gnu ...
  43. automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
  44. configure.in:2: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see:
  45. configure.in:2: http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation
  46. configure.in:8: installing './compile'
  47. configure.in:11: installing './config.guess'
  48. configure.in:11: installing './config.sub'
  49. configure.in:2: installing './install-sh'
  50. configure.in:2: installing './missing'
  51. Makefile.am: installing './COPYING' using GNU General Public License v3 file
  52. Makefile.am: Consider adding the COPYING file to the version control system
  53. Makefile.am: for your code, to avoid questions about which license your project uses
  54. automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
  55. buftool/Makefile.am: installing './depcomp'
  56. Running autoconf ...
  57. Running ./configure --prefix=/usr --program-suffix=mp560 ...
  58. checking for a BSD-compatible install... /usr/bin/install -c
  59. checking whether build environment is sane... yes
  60. checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
  61. checking for gawk... gawk
  62. checking whether make sets $(MAKE)... yes
  63. checking whether make supports nested variables... yes
  64. checking for g++... g++
  65. checking whether the C++ compiler works... yes
  66. checking for C++ compiler default output file name... a.out
  67. checking for suffix of executables...
  68. checking whether we are cross compiling... no
  69. checking for suffix of object files... o
  70. checking whether we are using the GNU C++ compiler... yes
  71. checking whether g++ accepts -g... yes
  72. checking for style of include used by make... GNU
  73. checking dependency style of g++... gcc3
  74. checking for gcc... gcc
  75. checking whether we are using the GNU C compiler... yes
  76. checking whether gcc accepts -g... yes
  77. checking for gcc option to accept ISO C89... none needed
  78. checking whether gcc understands -c and -o together... yes
  79. checking dependency style of gcc... gcc3
  80. checking whether make sets $(MAKE)... (cached) yes
  81. checking build system type... x86_64-unknown-linux-gnu
  82. checking host system type... x86_64-unknown-linux-gnu
  83. checking how to print strings... printf
  84. checking for a sed that does not truncate output... /usr/bin/sed
  85. checking for grep that handles long lines and -e... /usr/bin/grep
  86. checking for egrep... /usr/bin/grep -E
  87. checking for fgrep... /usr/bin/grep -F
  88. checking for ld used by gcc... /usr/bin/ld
  89. checking if the linker (/usr/bin/ld) is GNU ld... yes
  90. checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
  91. checking the name lister (/usr/bin/nm -B) interface... BSD nm
  92. checking whether ln -s works... yes
  93. checking the maximum length of command line arguments... 1572864
  94. checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
  95. checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
  96. checking for /usr/bin/ld option to reload object files... -r
  97. checking for objdump... objdump
  98. checking how to recognize dependent libraries... pass_all
  99. checking for dlltool... no
  100. checking how to associate runtime and link libraries... printf %s\n
  101. checking for ar... ar
  102. checking for archiver @FILE support... @
  103. checking for strip... strip
  104. checking for ranlib... ranlib
  105. checking command to parse /usr/bin/nm -B output from gcc object... ok
  106. checking for sysroot... no
  107. checking for a working dd... /usr/bin/dd
  108. checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
  109. checking for mt... no
  110. checking if : is a manifest tool... no
  111. checking how to run the C preprocessor... gcc -E
  112. checking for ANSI C header files... yes
  113. checking for sys/types.h... yes
  114. checking for sys/stat.h... yes
  115. checking for stdlib.h... yes
  116. checking for string.h... yes
  117. checking for memory.h... yes
  118. checking for strings.h... yes
  119. checking for inttypes.h... yes
  120. checking for stdint.h... yes
  121. checking for unistd.h... yes
  122. checking for dlfcn.h... yes
  123. checking for objdir... .libs
  124. checking if gcc supports -fno-rtti -fno-exceptions... no
  125. checking for gcc option to produce PIC... -fPIC -DPIC
  126. checking if gcc PIC flag -fPIC -DPIC works... yes
  127. checking if gcc static flag -static works... yes
  128. checking if gcc supports -c -o file.o... yes
  129. checking if gcc supports -c -o file.o... (cached) yes
  130. checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
  131. checking whether -lc should be explicitly linked in... no
  132. checking dynamic linker characteristics... GNU/Linux ld.so
  133. checking how to hardcode library paths into programs... immediate
  134. checking whether stripping libraries is possible... yes
  135. checking if libtool supports shared libraries... yes
  136. checking whether to build shared libraries... yes
  137. checking whether to build static libraries... yes
  138. checking how to run the C++ preprocessor... g++ -E
  139. checking for ld used by g++... /usr/bin/ld -m elf_x86_64
  140. checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
  141. checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
  142. checking for g++ option to produce PIC... -fPIC -DPIC
  143. checking if g++ PIC flag -fPIC -DPIC works... yes
  144. checking if g++ static flag -static works... yes
  145. checking if g++ supports -c -o file.o... yes
  146. checking if g++ supports -c -o file.o... (cached) yes
  147. checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
  148. checking dynamic linker characteristics... (cached) GNU/Linux ld.so
  149. checking how to hardcode library paths into programs... immediate
  150. checking for ANSI C header files... (cached) yes
  151. checking for sys/wait.h that is POSIX.1 compatible... yes
  152. checking malloc.h usability... yes
  153. checking malloc.h presence... yes
  154. checking for malloc.h... yes
  155. checking for stdlib.h... (cached) yes
  156. checking for string.h... (cached) yes
  157. checking for unistd.h... (cached) yes
  158. checking for an ANSI C-conforming const... yes
  159. checking for pid_t... yes
  160. checking vfork.h usability... no
  161. checking vfork.h presence... no
  162. checking for vfork.h... no
  163. checking for fork... yes
  164. checking for vfork... yes
  165. checking for working fork... yes
  166. checking for working vfork... (cached) yes
  167. checking for stdlib.h... (cached) yes
  168. checking for GNU libc compatible malloc... yes
  169. checking for dup2... yes
  170. checking for memset... yes
  171. checking that generated files are newer than configure... done
  172. configure: creating ./config.status
  173. config.status: creating Makefile
  174. config.status: creating buftool/Makefile
  175. config.status: creating paramlist/Makefile
  176. config.status: creating config.h
  177. config.status: executing depfiles commands
  178. config.status: executing libtool commands
  179. Now type `make' to compile buftool
  180. make all-recursive
  181. make[1]: Entering directory '/tmp/yaourt-tmp-sudoflex/aur-cnijfilter-mp560/src/cnijfilter-source-3.20-1/libs'
  182. Making all in paramlist
  183. make[2]: Entering directory '/tmp/yaourt-tmp-sudoflex/aur-cnijfilter-mp560/src/cnijfilter-source-3.20-1/libs/paramlist'
  184. /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -O2 -Wall -O2 -MT paramlist.lo -MD -MP -MF .deps/paramlist.Tpo -c -o paramlist.lo paramlist.c
  185. libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -O2 -Wall -O2 -MT paramlist.lo -MD -MP -MF .deps/paramlist.Tpo -c paramlist.c -fPIC -DPIC -o .libs/paramlist.o
  186. libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -O2 -Wall -O2 -MT paramlist.lo -MD -MP -MF .deps/paramlist.Tpo -c paramlist.c -o paramlist.o >/dev/null 2>&1
  187. mv -f .deps/paramlist.Tpo .deps/paramlist.Plo
  188. /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -Wall -O2 -Wl,-O1,--sort-common,--as-needed,-z,relro -o libparamlist.la paramlist.lo
  189. libtool: link: ar cru .libs/libparamlist.a .libs/paramlist.o
  190. libtool: link: ranlib .libs/libparamlist.a
  191. libtool: link: ( cd ".libs" && rm -f "libparamlist.la" && ln -s "../libparamlist.la" "libparamlist.la" )
  192. make[2]: Leaving directory '/tmp/yaourt-tmp-sudoflex/aur-cnijfilter-mp560/src/cnijfilter-source-3.20-1/libs/paramlist'
  193. Making all in buftool
  194. make[2]: Entering directory '/tmp/yaourt-tmp-sudoflex/aur-cnijfilter-mp560/src/cnijfilter-source-3.20-1/libs/buftool'
  195. gcc -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -O2 -MT buftool.o -MD -MP -MF .deps/buftool.Tpo -c -o buftool.o buftool.c
  196. mv -f .deps/buftool.Tpo .deps/buftool.Po
  197. gcc -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -O2 -MT buflist.o -MD -MP -MF .deps/buflist.Tpo -c -o buflist.o buflist.c
  198. mv -f .deps/buflist.Tpo .deps/buflist.Po
  199. rm -f libbuftool.a
  200. ar cru libbuftool.a buftool.o buflist.o
  201. ranlib libbuftool.a
  202. make[2]: Leaving directory '/tmp/yaourt-tmp-sudoflex/aur-cnijfilter-mp560/src/cnijfilter-source-3.20-1/libs/buftool'
  203. make[2]: Entering directory '/tmp/yaourt-tmp-sudoflex/aur-cnijfilter-mp560/src/cnijfilter-source-3.20-1/libs'
  204. make[2]: Leaving directory '/tmp/yaourt-tmp-sudoflex/aur-cnijfilter-mp560/src/cnijfilter-source-3.20-1/libs'
  205. make[1]: Leaving directory '/tmp/yaourt-tmp-sudoflex/aur-cnijfilter-mp560/src/cnijfilter-source-3.20-1/libs'
  206. processing .
  207. Running libtoolize...
  208. libtoolize: putting auxiliary files in '.'.
  209. libtoolize: copying file './ltmain.sh'
  210. libtoolize: You should add the contents of the following files to 'aclocal.m4':
  211. libtoolize: '/usr/share/aclocal/libtool.m4'
  212. libtoolize: '/usr/share/aclocal/ltoptions.m4'
  213. libtoolize: '/usr/share/aclocal/ltsugar.m4'
  214. libtoolize: '/usr/share/aclocal/ltversion.m4'
  215. libtoolize: '/usr/share/aclocal/lt~obsolete.m4'
  216. libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.in,
  217. libtoolize: and rerunning libtoolize and aclocal.
  218. libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
  219. Running aclocal ...
  220. aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
  221. Running autoheader...
  222. autoheader: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot'
  223. autoheader: WARNING: and `config.h.top', to define templates for `config.h.in'
  224. autoheader: WARNING: is deprecated and discouraged.
  225. autoheader:
  226. autoheader: WARNING: Using the third argument of `AC_DEFINE' and
  227. autoheader: WARNING: `AC_DEFINE_UNQUOTED' allows one to define a template without
  228. autoheader: WARNING: `acconfig.h':
  229. autoheader:
  230. autoheader: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1,
  231. autoheader: [Define if a function `main' is needed.])
  232. autoheader:
  233. autoheader: WARNING: More sophisticated templates can also be produced, see the
  234. autoheader: WARNING: documentation.
  235. Running automake --gnu ...
  236. automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
  237. configure.in:2: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see:
  238. configure.in:2: http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation
  239. configure.in:17: installing './compile'
  240. configure.in:20: installing './config.guess'
  241. configure.in:20: installing './config.sub'
  242. configure.in:2: installing './install-sh'
  243. configure.in:2: installing './missing'
  244. cngpij/Makefile.am: installing './depcomp'
  245. automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
  246. Running autoconf ...
  247. Running ./configure --prefix=/usr --program-suffix=mp560 --enable-progpath=/usr/bin ...
  248. checking for a BSD-compatible install... /usr/bin/install -c
  249. checking whether build environment is sane... yes
  250. checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
  251. checking for gawk... gawk
  252. checking whether make sets $(MAKE)... yes
  253. checking whether make supports nested variables... yes
  254. checking for g++... g++
  255. checking whether the C++ compiler works... yes
  256. checking for C++ compiler default output file name... a.out
  257. checking for suffix of executables...
  258. checking whether we are cross compiling... no
  259. checking for suffix of object files... o
  260. checking whether we are using the GNU C++ compiler... yes
  261. checking whether g++ accepts -g... yes
  262. checking for style of include used by make... GNU
  263. checking dependency style of g++... gcc3
  264. checking for gcc... gcc
  265. checking whether we are using the GNU C compiler... yes
  266. checking whether gcc accepts -g... yes
  267. checking for gcc option to accept ISO C89... none needed
  268. checking whether gcc understands -c and -o together... yes
  269. checking dependency style of gcc... gcc3
  270. checking whether make sets $(MAKE)... (cached) yes
  271. checking build system type... x86_64-unknown-linux-gnu
  272. checking host system type... x86_64-unknown-linux-gnu
  273. checking how to print strings... printf
  274. checking for a sed that does not truncate output... /usr/bin/sed
  275. checking for grep that handles long lines and -e... /usr/bin/grep
  276. checking for egrep... /usr/bin/grep -E
  277. checking for fgrep... /usr/bin/grep -F
  278. checking for ld used by gcc... /usr/bin/ld
  279. checking if the linker (/usr/bin/ld) is GNU ld... yes
  280. checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
  281. checking the name lister (/usr/bin/nm -B) interface... BSD nm
  282. checking whether ln -s works... yes
  283. checking the maximum length of command line arguments... 1572864
  284. checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
  285. checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
  286. checking for /usr/bin/ld option to reload object files... -r
  287. checking for objdump... objdump
  288. checking how to recognize dependent libraries... pass_all
  289. checking for dlltool... no
  290. checking how to associate runtime and link libraries... printf %s\n
  291. checking for ar... ar
  292. checking for archiver @FILE support... @
  293. checking for strip... strip
  294. checking for ranlib... ranlib
  295. checking command to parse /usr/bin/nm -B output from gcc object... ok
  296. checking for sysroot... no
  297. checking for a working dd... /usr/bin/dd
  298. checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
  299. checking for mt... no
  300. checking if : is a manifest tool... no
  301. checking how to run the C preprocessor... gcc -E
  302. checking for ANSI C header files... yes
  303. checking for sys/types.h... yes
  304. checking for sys/stat.h... yes
  305. checking for stdlib.h... yes
  306. checking for string.h... yes
  307. checking for memory.h... yes
  308. checking for strings.h... yes
  309. checking for inttypes.h... yes
  310. checking for stdint.h... yes
  311. checking for unistd.h... yes
  312. checking for dlfcn.h... yes
  313. checking for objdir... .libs
  314. checking if gcc supports -fno-rtti -fno-exceptions... no
  315. checking for gcc option to produce PIC... -fPIC -DPIC
  316. checking if gcc PIC flag -fPIC -DPIC works... yes
  317. checking if gcc static flag -static works... yes
  318. checking if gcc supports -c -o file.o... yes
  319. checking if gcc supports -c -o file.o... (cached) yes
  320. checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
  321. checking whether -lc should be explicitly linked in... no
  322. checking dynamic linker characteristics... GNU/Linux ld.so
  323. checking how to hardcode library paths into programs... immediate
  324. checking whether stripping libraries is possible... yes
  325. checking if libtool supports shared libraries... yes
  326. checking whether to build shared libraries... yes
  327. checking whether to build static libraries... yes
  328. checking how to run the C++ preprocessor... g++ -E
  329. checking for ld used by g++... /usr/bin/ld -m elf_x86_64
  330. checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
  331. checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
  332. checking for g++ option to produce PIC... -fPIC -DPIC
  333. checking if g++ PIC flag -fPIC -DPIC works... yes
  334. checking if g++ static flag -static works... yes
  335. checking if g++ supports -c -o file.o... yes
  336. checking if g++ supports -c -o file.o... (cached) yes
  337. checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
  338. checking dynamic linker characteristics... (cached) GNU/Linux ld.so
  339. checking how to hardcode library paths into programs... immediate
  340. checking for main in -lcups... yes
  341. checking for main in -lparamlist... no
  342. checking for main in -lpopt... yes
  343. checking for ANSI C header files... (cached) yes
  344. checking for sys/wait.h that is POSIX.1 compatible... yes
  345. checking arpa/inet.h usability... yes
  346. checking arpa/inet.h presence... yes
  347. checking for arpa/inet.h... yes
  348. checking fcntl.h usability... yes
  349. checking fcntl.h presence... yes
  350. checking for fcntl.h... yes
  351. checking netdb.h usability... yes
  352. checking netdb.h presence... yes
  353. checking for netdb.h... yes
  354. checking netinet/in.h usability... yes
  355. checking netinet/in.h presence... yes
  356. checking for netinet/in.h... yes
  357. checking for stdlib.h... (cached) yes
  358. checking for string.h... (cached) yes
  359. checking sys/socket.h usability... yes
  360. checking sys/socket.h presence... yes
  361. checking for sys/socket.h... yes
  362. checking for unistd.h... (cached) yes
  363. checking for an ANSI C-conforming const... yes
  364. checking for size_t... yes
  365. checking for pid_t... yes
  366. checking vfork.h usability... no
  367. checking vfork.h presence... no
  368. checking for vfork.h... no
  369. checking for fork... yes
  370. checking for vfork... yes
  371. checking for working fork... yes
  372. checking for working vfork... (cached) yes
  373. checking for stdlib.h... (cached) yes
  374. checking for GNU libc compatible malloc... yes
  375. checking for memset... yes
  376. checking for socket... yes
  377. checking for strdup... yes
  378. checking for strrchr... yes
  379. checking that generated files are newer than configure... done
  380. configure: creating ./config.status
  381. config.status: creating Makefile
  382. config.status: creating cngpij/Makefile
  383. config.status: creating config.h
  384. config.status: executing depfiles commands
  385. config.status: executing libtool commands
  386. Now type `make' to compile
  387. make all-recursive
  388. make[1]: Entering directory '/tmp/yaourt-tmp-sudoflex/aur-cnijfilter-mp560/src/cnijfilter-source-3.20-1/cngpij'
  389. Making all in cngpij
  390. make[2]: Entering directory '/tmp/yaourt-tmp-sudoflex/aur-cnijfilter-mp560/src/cnijfilter-source-3.20-1/cngpij/cngpij'
  391. gcc -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -O2 -Wall -I../include/cncl -I../include/misc -I../../libs/paramlist -O2 -MT bjcups.o -MD -MP -MF .deps/bjcups.Tpo -c -o bjcups.o bjcups.c
  392. bjcups.c: In function 'getDeviceURI':
  393. bjcups.c:685:11: error: dereferencing pointer to incomplete type
  394. pRequest->request.op.operation_id = CUPS_GET_PRINTERS;
  395. ^
  396. bjcups.c:686:11: error: dereferencing pointer to incomplete type
  397. pRequest->request.op.request_id = 1;
  398. ^
  399. bjcups.c:695:17: error: dereferencing pointer to incomplete type
  400. if (pResponse->request.status.status_code > IPP_OK_CONFLICT) {
  401. ^
  402. bjcups.c:700:27: error: dereferencing pointer to incomplete type
  403. pAttribute = pResponse->attrs;
  404. ^
  405. bjcups.c:703:45: error: dereferencing pointer to incomplete type
  406. while (pAttribute != NULL && pAttribute->group_tag != IPP_TAG_PRINTER) {
  407. ^
  408. bjcups.c:704:30: error: dereferencing pointer to incomplete type
  409. pAttribute = pAttribute->next;
  410. ^
  411. bjcups.c:710:45: error: dereferencing pointer to incomplete type
  412. while (pAttribute != NULL && pAttribute->group_tag == IPP_TAG_PRINTER) {
  413. ^
  414. In file included from /usr/include/string.h:634:0,
  415. from /usr/include/cups/http.h:27,
  416. from /usr/include/cups/ipp.h:25,
  417. from /usr/include/cups/cups.h:34,
  418. from bjcups.c:24:
  419. bjcups.c:711:28: error: dereferencing pointer to incomplete type
  420. if (strcmp(pAttribute->name, "printer-name") == 0 && pAttribute->value_tag == IPP_TAG_NAME) {
  421. ^
  422. bjcups.c:711:28: error: dereferencing pointer to incomplete type
  423. if (strcmp(pAttribute->name, "printer-name") == 0 && pAttribute->value_tag == IPP_TAG_NAME) {
  424. ^
  425. bjcups.c:711:28: error: dereferencing pointer to incomplete type
  426. if (strcmp(pAttribute->name, "printer-name") == 0 && pAttribute->value_tag == IPP_TAG_NAME) {
  427. ^
  428. bjcups.c:711:28: error: dereferencing pointer to incomplete type
  429. if (strcmp(pAttribute->name, "printer-name") == 0 && pAttribute->value_tag == IPP_TAG_NAME) {
  430. ^
  431. bjcups.c:711:28: error: dereferencing pointer to incomplete type
  432. if (strcmp(pAttribute->name, "printer-name") == 0 && pAttribute->value_tag == IPP_TAG_NAME) {
  433. ^
  434. bjcups.c:711:28: error: dereferencing pointer to incomplete type
  435. if (strcmp(pAttribute->name, "printer-name") == 0 && pAttribute->value_tag == IPP_TAG_NAME) {
  436. ^
  437. bjcups.c:711:28: error: dereferencing pointer to incomplete type
  438. if (strcmp(pAttribute->name, "printer-name") == 0 && pAttribute->value_tag == IPP_TAG_NAME) {
  439. ^
  440. bjcups.c:711:28: error: dereferencing pointer to incomplete type
  441. if (strcmp(pAttribute->name, "printer-name") == 0 && pAttribute->value_tag == IPP_TAG_NAME) {
  442. ^
  443. bjcups.c:711:28: error: dereferencing pointer to incomplete type
  444. if (strcmp(pAttribute->name, "printer-name") == 0 && pAttribute->value_tag == IPP_TAG_NAME) {
  445. ^
  446. bjcups.c:711:28: error: dereferencing pointer to incomplete type
  447. if (strcmp(pAttribute->name, "printer-name") == 0 && pAttribute->value_tag == IPP_TAG_NAME) {
  448. ^
  449. bjcups.c:711:28: error: dereferencing pointer to incomplete type
  450. if (strcmp(pAttribute->name, "printer-name") == 0 && pAttribute->value_tag == IPP_TAG_NAME) {
  451. ^
  452. bjcups.c:711:28: error: dereferencing pointer to incomplete type
  453. if (strcmp(pAttribute->name, "printer-name") == 0 && pAttribute->value_tag == IPP_TAG_NAME) {
  454. ^
  455. bjcups.c:711:28: error: dereferencing pointer to incomplete type
  456. if (strcmp(pAttribute->name, "printer-name") == 0 && pAttribute->value_tag == IPP_TAG_NAME) {
  457. ^
  458. bjcups.c:711:28: error: dereferencing pointer to incomplete type
  459. if (strcmp(pAttribute->name, "printer-name") == 0 && pAttribute->value_tag == IPP_TAG_NAME) {
  460. ^
  461. bjcups.c:711:28: error: dereferencing pointer to incomplete type
  462. if (strcmp(pAttribute->name, "printer-name") == 0 && pAttribute->value_tag == IPP_TAG_NAME) {
  463. ^
  464. bjcups.c:711:28: error: dereferencing pointer to incomplete type
  465. if (strcmp(pAttribute->name, "printer-name") == 0 && pAttribute->value_tag == IPP_TAG_NAME) {
  466. ^
  467. bjcups.c:711:28: error: dereferencing pointer to incomplete type
  468. if (strcmp(pAttribute->name, "printer-name") == 0 && pAttribute->value_tag == IPP_TAG_NAME) {
  469. ^
  470. bjcups.c:711:28: error: dereferencing pointer to incomplete type
  471. if (strcmp(pAttribute->name, "printer-name") == 0 && pAttribute->value_tag == IPP_TAG_NAME) {
  472. ^
  473. bjcups.c:711:28: error: dereferencing pointer to incomplete type
  474. if (strcmp(pAttribute->name, "printer-name") == 0 && pAttribute->value_tag == IPP_TAG_NAME) {
  475. ^
  476. bjcups.c:711:28: error: dereferencing pointer to incomplete type
  477. if (strcmp(pAttribute->name, "printer-name") == 0 && pAttribute->value_tag == IPP_TAG_NAME) {
  478. ^
  479. bjcups.c:711:70: error: dereferencing pointer to incomplete type
  480. if (strcmp(pAttribute->name, "printer-name") == 0 && pAttribute->value_tag == IPP_TAG_NAME) {
  481. ^
  482. bjcups.c:712:29: error: dereferencing pointer to incomplete type
  483. pPrinter = pAttribute->values[0].string.text;
  484. ^
  485. In file included from /usr/include/string.h:634:0,
  486. from /usr/include/cups/http.h:27,
  487. from /usr/include/cups/ipp.h:25,
  488. from /usr/include/cups/cups.h:34,
  489. from bjcups.c:24:
  490. bjcups.c:714:28: error: dereferencing pointer to incomplete type
  491. if (strcmp(pAttribute->name, "device-uri") == 0 && pAttribute->value_tag == IPP_TAG_URI) {
  492. ^
  493. bjcups.c:714:28: error: dereferencing pointer to incomplete type
  494. if (strcmp(pAttribute->name, "device-uri") == 0 && pAttribute->value_tag == IPP_TAG_URI) {
  495. ^
  496. bjcups.c:714:28: error: dereferencing pointer to incomplete type
  497. if (strcmp(pAttribute->name, "device-uri") == 0 && pAttribute->value_tag == IPP_TAG_URI) {
  498. ^
  499. bjcups.c:714:28: error: dereferencing pointer to incomplete type
  500. if (strcmp(pAttribute->name, "device-uri") == 0 && pAttribute->value_tag == IPP_TAG_URI) {
  501. ^
  502. bjcups.c:714:28: error: dereferencing pointer to incomplete type
  503. if (strcmp(pAttribute->name, "device-uri") == 0 && pAttribute->value_tag == IPP_TAG_URI) {
  504. ^
  505. bjcups.c:714:28: error: dereferencing pointer to incomplete type
  506. if (strcmp(pAttribute->name, "device-uri") == 0 && pAttribute->value_tag == IPP_TAG_URI) {
  507. ^
  508. bjcups.c:714:28: error: dereferencing pointer to incomplete type
  509. if (strcmp(pAttribute->name, "device-uri") == 0 && pAttribute->value_tag == IPP_TAG_URI) {
  510. ^
  511. bjcups.c:714:28: error: dereferencing pointer to incomplete type
  512. if (strcmp(pAttribute->name, "device-uri") == 0 && pAttribute->value_tag == IPP_TAG_URI) {
  513. ^
  514. bjcups.c:714:28: error: dereferencing pointer to incomplete type
  515. if (strcmp(pAttribute->name, "device-uri") == 0 && pAttribute->value_tag == IPP_TAG_URI) {
  516. ^
  517. bjcups.c:714:28: error: dereferencing pointer to incomplete type
  518. if (strcmp(pAttribute->name, "device-uri") == 0 && pAttribute->value_tag == IPP_TAG_URI) {
  519. ^
  520. bjcups.c:714:28: error: dereferencing pointer to incomplete type
  521. if (strcmp(pAttribute->name, "device-uri") == 0 && pAttribute->value_tag == IPP_TAG_URI) {
  522. ^
  523. bjcups.c:714:28: error: dereferencing pointer to incomplete type
  524. if (strcmp(pAttribute->name, "device-uri") == 0 && pAttribute->value_tag == IPP_TAG_URI) {
  525. ^
  526. bjcups.c:714:28: error: dereferencing pointer to incomplete type
  527. if (strcmp(pAttribute->name, "device-uri") == 0 && pAttribute->value_tag == IPP_TAG_URI) {
  528. ^
  529. bjcups.c:714:28: error: dereferencing pointer to incomplete type
  530. if (strcmp(pAttribute->name, "device-uri") == 0 && pAttribute->value_tag == IPP_TAG_URI) {
  531. ^
  532. bjcups.c:714:28: error: dereferencing pointer to incomplete type
  533. if (strcmp(pAttribute->name, "device-uri") == 0 && pAttribute->value_tag == IPP_TAG_URI) {
  534. ^
  535. bjcups.c:714:28: error: dereferencing pointer to incomplete type
  536. if (strcmp(pAttribute->name, "device-uri") == 0 && pAttribute->value_tag == IPP_TAG_URI) {
  537. ^
  538. bjcups.c:714:28: error: dereferencing pointer to incomplete type
  539. if (strcmp(pAttribute->name, "device-uri") == 0 && pAttribute->value_tag == IPP_TAG_URI) {
  540. ^
  541. bjcups.c:714:28: error: dereferencing pointer to incomplete type
  542. if (strcmp(pAttribute->name, "device-uri") == 0 && pAttribute->value_tag == IPP_TAG_URI) {
  543. ^
  544. bjcups.c:714:28: error: dereferencing pointer to incomplete type
  545. if (strcmp(pAttribute->name, "device-uri") == 0 && pAttribute->value_tag == IPP_TAG_URI) {
  546. ^
  547. bjcups.c:714:28: error: dereferencing pointer to incomplete type
  548. if (strcmp(pAttribute->name, "device-uri") == 0 && pAttribute->value_tag == IPP_TAG_URI) {
  549. ^
  550. bjcups.c:714:68: error: dereferencing pointer to incomplete type
  551. if (strcmp(pAttribute->name, "device-uri") == 0 && pAttribute->value_tag == IPP_TAG_URI) {
  552. ^
  553. bjcups.c:715:26: error: dereferencing pointer to incomplete type
  554. pDUri = pAttribute->values[0].string.text;
  555. ^
  556. bjcups.c:717:30: error: dereferencing pointer to incomplete type
  557. pAttribute = pAttribute->next;
  558. ^
  559. bjcups.c:726:31: error: dereferencing pointer to incomplete type
  560. pAttribute = pAttribute->next;
  561. ^
  562. bjcups.c: In function 'main':
  563. bjcups.c:823:14: warning: assignment discards 'const' qualifier from pointer target type
  564. p_ppd_name = cupsGetPPD( g_printer_name );
  565. ^
  566. Makefile:392: recipe for target 'bjcups.o' failed
  567. make[2]: *** [bjcups.o] Error 1
  568. make[2]: Leaving directory '/tmp/yaourt-tmp-sudoflex/aur-cnijfilter-mp560/src/cnijfilter-source-3.20-1/cngpij/cngpij'
  569. Makefile:386: recipe for target 'all-recursive' failed
  570. make[1]: *** [all-recursive] Error 1
  571. make[1]: Leaving directory '/tmp/yaourt-tmp-sudoflex/aur-cnijfilter-mp560/src/cnijfilter-source-3.20-1/cngpij'
  572. Makefile:317: recipe for target 'all' failed
  573. make: *** [all] Error 2
  574. ==> ERROR: A failure occurred in build().
  575. Aborting...
  576. [sudoflex@sudorex aur-cnijfilter-mp560]$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement