[cups.bugs] [MOD] STR #3205: Compilation error

fhimpe.telenet fhimpe at telenet.be
Mon May 25 20:20:22 PDT 2009


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

[STR New]

With gcc 4.4.0, compilation of cups svn r8682 fails with this error:

Compiling conf.c...
gcc  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector --param=ssp-buffer-size=4
-fstack-protector-all -fomit-frame-pointer -march=i586 -mtune=generic
-fasynchronous-unwind-tables -fPIC -I.. -D_CUPS_SOURCE
-Werror-implicit-function-declaration -O2 -g -pipe -Wformat
-Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all
-fomit-frame-pointer -march=i586 -mtune=generic
-fasynchronous-unwind-tables -fPIC -I/usr/include/dbus-1.0
-I/usr/lib/dbus-1.0/include   -DDBUS_API_SUBJECT_TO_CHANGE
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include    -D_LARGEFILE_SOURCE
-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_THREAD_SAFE -D_REENTRANT 
-c conf.c
conf.c: In function 'cupsdReadConfiguration':
conf.c:1052: error: implicit declaration of function 'systempapername'
conf.c:1052: warning: assignment makes pointer from integer without a cast
make[1]: *** [conf.o] Error 1
make[1]: Leaving directory
`/home/fhimpe/cups/BUILD/cups-1.4svn-r8682/scheduler'

Could it be that #include <paper.h> is missing?

Link: http://www.cups.org/str.php?L3205
Version: 1.4-current





More information about the cups-devel mailing list