<span class="Apple-style-span" style="border-collapse: collapse; font-family: monospace; font-size: 12px; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; ">When using libpoppler libraries from poppler 0.16.1, cups fails to build with the following error:<br>
<br>echo Compiling parseargs.c...<br>Compiling parseargs.c...<br>gcc -Wall -Wno-format-y2k -fPIC -Os -g -fstack-protector -D_GNU_SOURCE -Ifontembed -I.. -D_CUPS_SOURCE -I/usr/include/poppler -I/usr/include/poppler -I/usr/include/poppler -g -O2 -g -Wall -O2 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -DDBUS_API_SUBJECT_TO_CHANGE -DOPENSSL_DISABLE_OLD_DES_SUPPORT -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT -c -o parseargs.o parseargs.c<br>
In file included from parseargs.h:16,<br> from parseargs.c:14:<br>/usr/include/poppler/goo/gtypes.h:31: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before âGBoolâ<br>In file included from parseargs.c:14:<br>
parseargs.h:54: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before âparseArgsâ<br>parseargs.h:64: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before âisIntâ<br>parseargs.h:65: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before âisFPâ<br>
parseargs.c:17: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before âgrabArgâ<br>parseargs.c:19: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before âparseArgsâ<br>parseargs.c:97: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before âgrabArgâ<br>
parseargs.c:150: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before âisIntâ<br>parseargs.c:160: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before âisFPâ<br>make[3]: *** [parseargs.o] Error 1<br>make[3]: Leaving directory `/tmp/cups.PpMse1/cups-1.4.5/pdftopdf'<br>
make[2]: *** [all] Error 1<br>make[2]: Leaving directory `/tmp/cups.PpMse1/cups-1.4.5'<br>make[1]: *** [debian/stamp-makefile-build] Error 2<br>make[1]: Leaving directory `/tmp/cups.PpMse1/cups-1.4.5'</span><div><span class="Apple-style-span" style="border-collapse: collapse; font-family: monospace; font-size: 12px; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; "><br>
</span></div><div><span class="Apple-style-span" style="border-collapse: collapse; font-family: monospace; font-size: 12px; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; "><a href="http://cups.org/str.php?L3788">http://cups.org/str.php?L3788</a></span></div>