[cups-devel] [UNKN] STR #4769: zlib.h: accepted by the compiler, rejected by the preprocessor!

Alexander Farley <[email protected]>
Newsgroups gmane.comp.printing.cups.devel
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

First off, I'm not sure whether this is actually a bug or just my
misunderstanding of CUPS configuration for make. 

I'm trying to cross-compile CUPS for the petalinux using a CentOS 7
development system. The build system is having issues linking zlib to
libcups.so.2. 

I've described the situation (from the perspective of petalinux tools)
here:
https://forums.xilinx.com/t5/Embedded-Linux/cannot-find-lz/td-p/679809

The lines about "zlib.h presence... no" coming from
ac_fn_c_check_header_mongrel() led me to investigate the cups configure
script which asks the reader to report to www.cups.org for this error
message.

I think I've included zlib correctly in the petalinux filesystem packages,
but if anyone knows how to confirm where the CUPS Makefile setup is trying
to look for zlib, I can check that. 

Please let me know if more information is necessary.

Link: https://www.cups.org/str.php?L4769
Version: 2.1.2
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: GPGTools - https://gpgtools.org

iQIcBAEBCgAGBQJWs68NAAoJENujp6sI12Ij1O0QAK+0Ej3xTX4Je33p4vXECr+b
wTJsNYkqmC+Jb4gKzakJq/uc23d0mXcVnhvZO265jPY02NCVBNhyMHKm5x4aPpzD
3+tjxIjwisnx8+X3K/bkiJ5KCKeKy2X5vAt3DlH3EFwaaTPPyuccO55AqUAyuB7J
ZNa1W7mjoO16od1SOAA/ff/lk6rsOvrrwDQR1Yv+jFUiobAqBXJtT5TCmA8iD8hp
c+VuCDyv6bzD+hIGcI867ywFlfFWvQsBPc6hFGPLvnETAUyLp/T1GiCqusFPQSGr
6BZ8J2ylOu1bNweExrnO2HW6UL4aD5kW9SEOYC4NtkHCkqQHPoF1K05nYfrtyHEJ
JUjm3XA15xOOkJp3e7XyolxBk0AT8uNN2cCJ8Z7K9Xkgp96BrknDEtj+La36kh7G
Ih2AQ43C28kjr8o/Y0fp5561LjgJ+rKeLEis8ZKRmqZC6vTHleCr9zNFnAFOy7mf
KQ46WK+8riPe8rPFhh3g7/o7Jxvu7QzD1auCqJtunOGYe4oBLbth38NkEpEJamZV
z+s1yx0BdlK85IIWZnXAAwjU75J49oehov3Sp6PskqhbUx7yqeN/bkQMBP1gJ2nh
cGTIVtq5bwsSipRdRYyOIeCZ69axGM2nB/nyWM89/PQpdsgLRzPgXT5u0iP9qU/A
D/Th8jMsPvMbTs4pnwME
=s9RS
-----END PGP SIGNATURE-----
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.