[poppler] cups 1.4.5 fails to compile with 0.16.1

Matt LaPlante mattl at google.com
Tue Feb 1 13:50:50 PST 2011


When using libpoppler libraries from poppler 0.16.1, cups fails to build
with the following error:

echo Compiling parseargs.c...
Compiling parseargs.c...
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
In file included from parseargs.h:16,
                 from parseargs.c:14:
/usr/include/poppler/goo/gtypes.h:31: error: expected â=â, â,â, â;â, âasmâ
or â__attribute__â before âGBoolâ
In file included from parseargs.c:14:
parseargs.h:54: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â
before âparseArgsâ
parseargs.h:64: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â
before âisIntâ
parseargs.h:65: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â
before âisFPâ
parseargs.c:17: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â
before âgrabArgâ
parseargs.c:19: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â
before âparseArgsâ
parseargs.c:97: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â
before âgrabArgâ
parseargs.c:150: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â
before âisIntâ
parseargs.c:160: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â
before âisFPâ
make[3]: *** [parseargs.o] Error 1
make[3]: Leaving directory `/tmp/cups.PpMse1/cups-1.4.5/pdftopdf'
make[2]: *** [all] Error 1
make[2]: Leaving directory `/tmp/cups.PpMse1/cups-1.4.5'
make[1]: *** [debian/stamp-makefile-build] Error 2
make[1]: Leaving directory `/tmp/cups.PpMse1/cups-1.4.5'

http://cups.org/str.php?L3788
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/poppler/attachments/20110201/db133961/attachment.html>


More information about the poppler mailing list