Advertisement
Guest User

compile cups on cygwin / windows 2008 32 bit

a guest
Apr 19th, 2012
433
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 20.28 KB | None | 0 0
  1. $ cd /opt/cups/cups-1.4.8
  2. /opt/cups/cups-1.4.8
  3.  
  4. $ ./configure
  5.  
  6. checking for gawk... gawk
  7. checking for gcc... gcc
  8. checking whether the C compiler works... yes
  9. checking for C compiler default output file name... a.exe
  10. checking for suffix of executables... .exe
  11. checking whether we are cross compiling... no
  12. checking for suffix of object files... o
  13. checking whether we are using the GNU C compiler... yes
  14. checking whether gcc accepts -g... yes
  15. checking for gcc option to accept ISO C89... none needed
  16. checking how to run the C preprocessor... gcc -E
  17. checking for g++... g++
  18. checking whether we are using the GNU C++ compiler... yes
  19. checking whether g++ accepts -g... yes
  20. checking for ranlib... ranlib
  21. checking for ar... /usr/bin/ar
  22. checking for chmod... /usr/bin/chmod
  23. checking for htmldoc... no
  24. checking for ld... /usr/bin/ld
  25. checking for ln... /usr/bin/ln
  26. checking for mv... /usr/bin/mv
  27. checking for rm... /usr/bin/rm
  28. checking for rmdir... /usr/bin/rmdir
  29. checking for sed... /usr/bin/sed
  30. checking for xdg-open... no
  31. checking for install-sh script... using /opt/cups/cups-1.4.8/install-sh
  32. checking for pkg-config... no
  33. checking for library containing crypt... -lcrypt
  34. checking for library containing getspent... no
  35. checking for grep that handles long lines and -e... /usr/bin/grep
  36. checking for egrep... /usr/bin/grep -E
  37. checking for ANSI C header files... yes
  38. checking for sys/types.h... yes
  39. checking for sys/stat.h... yes
  40. checking for stdlib.h... yes
  41. checking for string.h... yes
  42. checking for memory.h... yes
  43. checking for strings.h... yes
  44. checking for inttypes.h... yes
  45. checking for stdint.h... yes
  46. checking for unistd.h... yes
  47. checking crypt.h usability... yes
  48. checking crypt.h presence... yes
  49. checking for crypt.h... yes
  50. checking langinfo.h usability... yes
  51. checking langinfo.h presence... yes
  52. checking for langinfo.h... yes
  53. checking malloc.h usability... yes
  54. checking malloc.h presence... yes
  55. checking for malloc.h... yes
  56. checking shadow.h usability... no
  57. checking shadow.h presence... no
  58. checking for shadow.h... no
  59. checking for string.h... (cached) yes
  60. checking for strings.h... (cached) yes
  61. checking bstring.h usability... no
  62. checking bstring.h presence... no
  63. checking for bstring.h... no
  64. checking usersec.h usability... no
  65. checking usersec.h presence... no
  66. checking for usersec.h... no
  67. checking sys/ioctl.h usability... yes
  68. checking sys/ioctl.h presence... yes
  69. checking for sys/ioctl.h... yes
  70. checking sys/param.h usability... yes
  71. checking sys/param.h presence... yes
  72. checking for sys/param.h... yes
  73. checking sys/ucred.h usability... no
  74. checking sys/ucred.h presence... no
  75. checking for sys/ucred.h... no
  76. checking scsi/sg.h usability... no
  77. checking scsi/sg.h presence... no
  78. checking for scsi/sg.h... no
  79. checking sys/mount.h usability... yes
  80. checking sys/mount.h presence... yes
  81. checking for sys/mount.h... yes
  82. checking sys/statfs.h usability... yes
  83. checking sys/statfs.h presence... yes
  84. checking for sys/statfs.h... yes
  85. checking sys/statvfs.h usability... yes
  86. checking sys/statvfs.h presence... yes
  87. checking for sys/statvfs.h... yes
  88. checking sys/vfs.h usability... yes
  89. checking sys/vfs.h presence... yes
  90. checking for sys/vfs.h... yes
  91. checking for statfs... yes
  92. checking for statvfs... yes
  93. checking for strdup... yes
  94. checking for strcasecmp... yes
  95. checking for strncasecmp... yes
  96. checking for strlcat... yes
  97. checking for strlcpy... yes
  98. checking for snprintf... yes
  99. checking for vsnprintf... yes
  100. checking for random... yes
  101. checking for lrand48... yes
  102. checking for arc4random... no
  103. checking for geteuid... yes
  104. checking for vsyslog... yes
  105. checking for sigset... yes
  106. checking for sigaction... yes
  107. checking for waitpid... yes
  108. checking for wait3... yes
  109. checking for tm_gmtoff member in tm structure... no
  110. checking for st_gen member in stat structure... no
  111. checking for removefile... no
  112. checking for usb_get_string_simple in -lusb... no
  113. checking for library containing acl_init... no
  114. Warning: shared libraries may not be supported.  Trying -shared
  115.          option with compiler.
  116. checking if GCC supports -fstack-protector... no
  117. checking if GCC supports -fPIE... yes
  118. checking whether to build image filters... yes
  119. checking for library containing pow... none required
  120. checking jpeglib.h usability... no
  121. checking jpeglib.h presence... no
  122. checking for jpeglib.h... no
  123. checking zlib.h usability... yes
  124. checking zlib.h presence... yes
  125. checking for zlib.h... yes
  126. checking for gzgets in -lz... yes
  127. checking png.h usability... no
  128. checking png.h presence... no
  129. checking for png.h... no
  130. checking tiff.h usability... no
  131. checking tiff.h presence... no
  132. checking for tiff.h... no
  133. checking for stdlib.h... (cached) yes
  134. checking resolv.h usability... yes
  135. checking resolv.h presence... yes
  136. checking for resolv.h... yes
  137. checking for library containing socket... none required
  138. checking for library containing gethostbyaddr... none required
  139. checking for library containing getifaddrs... none required
  140. checking for library containing hstrerror... none required
  141. checking for library containing rresvport_af... none required
  142. checking for library containing __res_init... none required
  143. checking for library containing getaddrinfo... none required
  144. checking for library containing getnameinfo... none required
  145. checking for struct sockaddr.sa_len... no
  146. checking sys/sockio.h usability... no
  147. checking sys/sockio.h presence... no
  148. checking for sys/sockio.h... no
  149. checking for AppleTalk/at_proto.h... no
  150. checking for poll... yes
  151. checking for epoll_create... no
  152. checking for kqueue... no
  153. checking slp.h usability... no
  154. checking slp.h presence... no
  155. checking for slp.h... no
  156. checking for krb5-config... no
  157. checking ldap.h usability... no
  158. checking ldap.h presence... no
  159. checking for ldap.h... no
  160. checking pthread.h usability... yes
  161. checking pthread.h presence... yes
  162. checking for pthread.h... yes
  163. checking for pthread_create using -lpthreads... no
  164. checking for pthread_create using -lpthread... yes
  165. checking openssl/ssl.h usability... no
  166. checking openssl/ssl.h presence... no
  167. checking for openssl/ssl.h... no
  168. checking for dlopen in -ldl... yes
  169. checking for pam_start in -lpam... no
  170. checking for pam_set_item in -lpam... no
  171. checking for pam_setcred in -lpam... no
  172. checking security/pam_appl.h usability... no
  173. checking security/pam_appl.h presence... no
  174. checking for security/pam_appl.h... no
  175. checking pam/pam_appl.h usability... no
  176. checking pam/pam_appl.h presence... no
  177. checking for pam/pam_appl.h... no
  178. checking for special C compiler options needed for large files... no
  179. checking for _FILE_OFFSET_BITS value needed for large files... no
  180. checking for long long int... yes
  181. checking for strtoll... yes
  182. checking dns_sd.h usability... no
  183. checking dns_sd.h presence... no
  184. checking for dns_sd.h... no
  185. checking for launch_msg... no
  186. checking launch.h usability... no
  187. checking launch.h presence... no
  188. checking for launch.h... no
  189. checking whether to use network default printers... yes
  190. checking for default print user... not found
  191. checking for default print group... not found
  192. checking for default system groups... "root"
  193. checking for pdftops... no
  194. checking for gs... no
  195. checking for java... /Windows/system32/java
  196. checking for perl... /usr/bin/perl
  197. checking for php-cgi... no
  198. checking for php... no
  199. checking for python... /Python27/python
  200. configure: creating ./config.status
  201. config.status: creating Makedefs
  202. config.status: creating packaging/cups.list
  203. config.status: creating init/cups.sh
  204. config.status: creating init/cups-lpd
  205. config.status: creating cups-config
  206. config.status: creating conf/cupsd.conf
  207. config.status: creating conf/mime.convs
  208. config.status: creating conf/pam.std
  209. config.status: creating conf/snmp.conf
  210. config.status: creating data/testprint
  211. config.status: creating desktop/cups.desktop
  212. config.status: creating doc/index.html
  213. config.status: creating doc/help/ref-cupsd-conf.html
  214. config.status: creating doc/help/standard.html
  215. config.status: creating init/org.cups.cups-lpd.plist
  216. config.status: creating init/cups.xml
  217. config.status: creating man/client.conf.man
  218. config.status: creating man/cups-deviced.man
  219. config.status: creating man/cups-driverd.man
  220. config.status: creating man/cups-lpd.man
  221. config.status: creating man/cupsaddsmb.man
  222. config.status: creating man/cupsd.man
  223. config.status: creating man/cupsd.conf.man
  224. config.status: creating man/lpoptions.man
  225. config.status: creating templates/header.tmpl
  226. config.status: creating doc/de/index.html
  227. config.status: creating templates/de/header.tmpl
  228. config.status: creating doc/es/index.html
  229. config.status: creating templates/es/header.tmpl
  230. config.status: creating doc/eu/index.html
  231. config.status: creating templates/eu/header.tmpl
  232. config.status: creating doc/id/index.html
  233. config.status: creating templates/id/header.tmpl
  234. config.status: creating doc/it/index.html
  235. config.status: creating doc/ja/index.html
  236. config.status: creating templates/ja/header.tmpl
  237. config.status: creating doc/pl/index.html
  238. config.status: creating templates/pl/header.tmpl
  239. config.status: creating doc/ru/index.html
  240. config.status: creating templates/ru/header.tmpl
  241. config.status: creating config.h
  242. config.status: config.h is unchanged
  243. /opt/cups/cups-1.4.8
  244.  
  245.  
  246. $ make clean
  247.  
  248. Cleaning in cups...
  249. Cleaning in filter...
  250. Cleaning in backend...
  251. Cleaning in berkeley...
  252. Cleaning in cgi-bin...
  253. Cleaning in driver...
  254. Cleaning in locale...
  255. Cleaning in man...
  256. Cleaning in monitor...
  257. Cleaning in notifier...
  258. Cleaning in ppdc...
  259. Cleaning in scheduler...
  260. Cleaning in systemv...
  261. Cleaning in test...
  262. Cleaning in conf...
  263. Cleaning in data...
  264. Cleaning in doc...
  265. Cleaning in examples...
  266. Cleaning in fonts...
  267. Cleaning in templates...
  268.  
  269. /opt/cups/cups-1.4.8
  270.  
  271.  
  272. $ make
  273.  
  274. Using ARCHFLAGS=
  275. Using ALL_CFLAGS=-I.. -D_CUPS_SOURCE    -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT
  276. Using ALL_CXXFLAGS=-I.. -D_CUPS_SOURCE    -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT
  277. Using CC=gcc
  278. Using CXX=gcc
  279. Using DSOFLAGS=-L../cups  -Wl,-soname,all -shared -Wall -Wno-format-y2k -fPIC -Os -g
  280. Using LDFLAGS=-L../cgi-bin -L../cups -L../filter -L../ppdc  -L../scheduler   -fPIE -pie -Wall -Wno-format-y2k -fPIC -Os -g
  281. Using LIBS=-lcups   -lpthread -lcrypt
  282. Making all in cups...
  283. Compiling adminutil.c...
  284. adminutil.c:1: warning: -fPIC ignored for target (all code is position independent)
  285. Compiling array.c...
  286. array.c:1: warning: -fPIC ignored for target (all code is position independent)
  287. Compiling attr.c...
  288. attr.c:1: warning: -fPIC ignored for target (all code is position independent)
  289. Compiling auth.c...
  290. auth.c:1: warning: -fPIC ignored for target (all code is position independent)
  291. Compiling backchannel.c...
  292. backchannel.c:1: warning: -fPIC ignored for target (all code is position independent)
  293. Compiling backend.c...
  294. backend.c:1: warning: -fPIC ignored for target (all code is position independent)
  295. Compiling conflicts.c...
  296. conflicts.c:1: warning: -fPIC ignored for target (all code is position independent)
  297. conflicts.c: In function `cupsResolveConflicts':
  298. conflicts.c:188: warning: 'active' might be used uninitialized in this function
  299. Compiling custom.c...
  300. custom.c:1: warning: -fPIC ignored for target (all code is position independent)
  301. Compiling debug.c...
  302. debug.c:1: warning: -fPIC ignored for target (all code is position independent)
  303. Compiling dest.c...
  304. dest.c:1: warning: -fPIC ignored for target (all code is position independent)
  305. Compiling dir.c...
  306. dir.c:1: warning: -fPIC ignored for target (all code is position independent)
  307. Compiling emit.c...
  308. emit.c:1: warning: -fPIC ignored for target (all code is position independent)
  309. Compiling encode.c...
  310. encode.c:1: warning: -fPIC ignored for target (all code is position independent)
  311. Compiling file.c...
  312. file.c:1: warning: -fPIC ignored for target (all code is position independent)
  313. Compiling getdevices.c...
  314. getdevices.c:1: warning: -fPIC ignored for target (all code is position independent)
  315. Compiling getifaddrs.c...
  316. getifaddrs.c:1: warning: -fPIC ignored for target (all code is position independent)
  317. Compiling getputfile.c...
  318. getputfile.c:1: warning: -fPIC ignored for target (all code is position independent)
  319. Compiling globals.c...
  320. globals.c:1: warning: -fPIC ignored for target (all code is position independent)
  321. globals.c:93: warning: initialization makes pointer from integer without a cast
  322. Compiling http.c...
  323. http.c:1: warning: -fPIC ignored for target (all code is position independent)
  324. Compiling http-addr.c...
  325. http-addr.c:1: warning: -fPIC ignored for target (all code is position independent)
  326. Compiling http-addrlist.c...
  327. http-addrlist.c:1: warning: -fPIC ignored for target (all code is position independent)
  328. Compiling http-support.c...
  329. http-support.c:1: warning: -fPIC ignored for target (all code is position independent)
  330. http-support.c: In function `http_copy_decode':
  331. http-support.c:1567: warning: array subscript has type `char'
  332. http-support.c:1568: warning: subscript has type `char'
  333. http-support.c:1573: warning: array subscript has type `char'
  334. http-support.c:1574: warning: subscript has type `char'
  335. Compiling ipp.c...
  336. ipp.c:1: warning: -fPIC ignored for target (all code is position independent)
  337. Compiling ipp-support.c...
  338. ipp-support.c:1: warning: -fPIC ignored for target (all code is position independent)
  339. Compiling langprintf.c...
  340. langprintf.c:1: warning: -fPIC ignored for target (all code is position independent)
  341. Compiling language.c...
  342. language.c:1: warning: -fPIC ignored for target (all code is position independent)
  343. language.c: In function `cups_unquote':
  344. language.c:1301: warning: array subscript has type `char'
  345. language.c:1305: warning: array subscript has type `char'
  346. Compiling localize.c...
  347. localize.c:1: warning: -fPIC ignored for target (all code is position independent)
  348. localize.c: In function `ppdLocalizeIPPReason':
  349. localize.c:406: warning: subscript has type `char'
  350. localize.c:412: warning: subscript has type `char'
  351. Compiling mark.c...
  352. mark.c:1: warning: -fPIC ignored for target (all code is position independent)
  353. Compiling md5.c...
  354. md5.c:1: warning: -fPIC ignored for target (all code is position independent)
  355. Compiling md5passwd.c...
  356. md5passwd.c:1: warning: -fPIC ignored for target (all code is position independent)
  357. Compiling notify.c...
  358. notify.c:1: warning: -fPIC ignored for target (all code is position independent)
  359. Compiling options.c...
  360. options.c:1: warning: -fPIC ignored for target (all code is position independent)
  361. Compiling page.c...
  362. page.c:1: warning: -fPIC ignored for target (all code is position independent)
  363. Compiling ppd.c...
  364. ppd.c:1: warning: -fPIC ignored for target (all code is position independent)
  365. ppd.c: In function `ppd_decode':
  366. ppd.c:2350: warning: subscript has type `char'
  367. ppd.c:2360: warning: subscript has type `char'
  368. Compiling pwg-file.c...
  369. pwg-file.c:1: warning: -fPIC ignored for target (all code is position independent)
  370. Compiling pwg-media.c...
  371. pwg-media.c:1: warning: -fPIC ignored for target (all code is position independent)
  372. Compiling pwg-ppd.c...
  373. pwg-ppd.c:1: warning: -fPIC ignored for target (all code is position independent)
  374. pwg-ppd.c: In function `pwg_ppdize_name':
  375. pwg-ppd.c:1443: warning: subscript has type `char'
  376. Compiling request.c...
  377. request.c:1: warning: -fPIC ignored for target (all code is position independent)
  378. Compiling sidechannel.c...
  379. sidechannel.c:1: warning: -fPIC ignored for target (all code is position independent)
  380. Compiling snmp.c...
  381. snmp.c:1: warning: -fPIC ignored for target (all code is position independent)
  382. Compiling snprintf.c...
  383. snprintf.c:1: warning: -fPIC ignored for target (all code is position independent)
  384. Compiling string.c...
  385. string.c:1: warning: -fPIC ignored for target (all code is position independent)
  386. Compiling tempfile.c...
  387. tempfile.c:1: warning: -fPIC ignored for target (all code is position independent)
  388. Compiling transcode.c...
  389. transcode.c:1: warning: -fPIC ignored for target (all code is position independent)
  390. Compiling usersys.c...
  391. usersys.c:1: warning: -fPIC ignored for target (all code is position independent)
  392. Compiling util.c...
  393. util.c:1: warning: -fPIC ignored for target (all code is position independent)
  394. Linking libcups.so.2...
  395. Archiving libcups.a...
  396. a - adminutil.o
  397. a - array.o
  398. a - attr.o
  399. a - auth.o
  400. a - backchannel.o
  401. a - backend.o
  402. a - conflicts.o
  403. a - custom.o
  404. a - debug.o
  405. a - dest.o
  406. a - dir.o
  407. a - emit.o
  408. a - encode.o
  409. a - file.o
  410. a - getdevices.o
  411. a - getifaddrs.o
  412. a - getputfile.o
  413. a - globals.o
  414. a - http.o
  415. a - http-addr.o
  416. a - http-addrlist.o
  417. a - http-support.o
  418. a - ipp.o
  419. a - ipp-support.o
  420. a - langprintf.o
  421. a - language.o
  422. a - localize.o
  423. a - mark.o
  424. a - md5.o
  425. a - md5passwd.o
  426. a - notify.o
  427. a - options.o
  428. a - page.o
  429. a - ppd.o
  430. a - pwg-file.o
  431. a - pwg-media.o
  432. a - pwg-ppd.o
  433. a - request.o
  434. a - sidechannel.o
  435. a - snmp.o
  436. a - snprintf.o
  437. a - string.o
  438. a - tempfile.o
  439. a - transcode.o
  440. a - usersys.o
  441. a - util.o
  442. Making all in filter...
  443. Compiling image-bmp.c...
  444. image-bmp.c:1: warning: -fPIC ignored for target (all code is position independent)
  445. Compiling image-colorspace.c...
  446. image-colorspace.c:1: warning: -fPIC ignored for target (all code is position independent)
  447. Compiling image-gif.c...
  448. image-gif.c:1: warning: -fPIC ignored for target (all code is position independent)
  449. Compiling image-jpeg.c...
  450. image-jpeg.c:1: warning: -fPIC ignored for target (all code is position independent)
  451. Compiling image-photocd.c...
  452. image-photocd.c:1: warning: -fPIC ignored for target (all code is position independent)
  453. Compiling image-pix.c...
  454. image-pix.c:1: warning: -fPIC ignored for target (all code is position independent)
  455. Compiling image-png.c...
  456. image-png.c:1: warning: -fPIC ignored for target (all code is position independent)
  457. Compiling image-pnm.c...
  458. image-pnm.c:1: warning: -fPIC ignored for target (all code is position independent)
  459. Compiling image-sgi.c...
  460. image-sgi.c:1: warning: -fPIC ignored for target (all code is position independent)
  461. Compiling image-sgilib.c...
  462. image-sgilib.c:1: warning: -fPIC ignored for target (all code is position independent)
  463. Compiling image-sun.c...
  464. image-sun.c:1: warning: -fPIC ignored for target (all code is position independent)
  465. Compiling image-tiff.c...
  466. image-tiff.c:1: warning: -fPIC ignored for target (all code is position independent)
  467. Compiling image-zoom.c...
  468. image-zoom.c:1: warning: -fPIC ignored for target (all code is position independent)
  469. Compiling image.c...
  470. image.c:1: warning: -fPIC ignored for target (all code is position independent)
  471. Compiling error.c...
  472. error.c:1: warning: -fPIC ignored for target (all code is position independent)
  473. error.c:171: warning: initialization makes pointer from integer without a cast
  474. Compiling interpret.c...
  475. interpret.c:1: warning: -fPIC ignored for target (all code is position independent)
  476. interpret.c: In function `scan_ps':
  477. interpret.c:1143: warning: subscript has type `char'
  478. interpret.c:1152: warning: subscript has type `char'
  479. Compiling raster.c...
  480. raster.c:1: warning: -fPIC ignored for target (all code is position independent)
  481. Linking libcupsimage.so.2...
  482. ../cups/libcups.a(file.o): In function `cupsFileRewind':
  483. /opt/cups/cups-1.4.8/cups/file.c:1465: undefined reference to `_inflateEnd'
  484. ../cups/libcups.a(file.o): In function `cups_fill':
  485. /opt/cups/cups-1.4.8/cups/file.c:2096: undefined reference to `_crc32'
  486. /opt/cups/cups-1.4.8/cups/file.c:2098: undefined reference to `_inflateInit2_'
  487. /opt/cups/cups-1.4.8/cups/file.c:2133: undefined reference to `_inflate'
  488. /opt/cups/cups-1.4.8/cups/file.c:2136: undefined reference to `_crc32'
  489. ../cups/libcups.a(file.o): In function `cupsFileSeek':
  490. /opt/cups/cups-1.4.8/cups/file.c:1569: undefined reference to `_inflateEnd'
  491. ../cups/libcups.a(file.o): In function `cups_compress':
  492. /opt/cups/cups-1.4.8/cups/file.c:1873: undefined reference to `_crc32'
  493. /opt/cups/cups-1.4.8/cups/file.c:1900: undefined reference to `_deflate'
  494. ../cups/libcups.a(file.o): In function `cupsFileOpenFd':
  495. /opt/cups/cups-1.4.8/cups/file.c:996: undefined reference to `_deflateInit2_'
  496. /opt/cups/cups-1.4.8/cups/file.c:1002: undefined reference to `_crc32'
  497. ../cups/libcups.a(file.o): In function `cupsFileClose':
  498. /opt/cups/cups-1.4.8/cups/file.c:121: undefined reference to `_inflateEnd'
  499. /opt/cups/cups-1.4.8/cups/file.c:150: undefined reference to `_deflate'
  500. /opt/cups/cups-1.4.8/cups/file.c:174: undefined reference to `_deflateEnd'
  501. collect2: ld returned 1 exit status
  502. Makefile:331: recipe for target `libcupsimage.so.2' failed
  503. make[1]: *** [libcupsimage.so.2] Error 1
  504. Makefile:34: recipe for target `all' failed
  505. make: *** [all] Error 1
  506.  
  507. /opt/cups/cups-1.4.8
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement