On 2013-03-25 10:50 , Andreas Nitsche wrote: > Hello, > > I'm trying to build a rpm packages of zkt on a CentOS 6.4. The Output I > get from rpmbuild is the following. Can You please tell me what's wrong > here?
It is failing due to: - FORTIFY_SOURCE=2 option which is more strict - 32/64bit issues (int/long int PRIu64 solves that) - usage of 'define extern' which messes up a lot of things (this is why the "syslog" stuff breaks) I have these fixed in my local repo, but as I was trying to package ZKT for Debian the proper way, I redid it and then due to a physical move did not work on it for a bit, but I hopefully have a few moments tomorrow to finalize this and publish it on github in a proper way. Greets, Jeroen > dki.c: In function 'dki_readfile': > dki.c:134: warning: ignoring return value of 'fscanf', declared with > attribute warn_unused_result [..] > misc.c: In function 'getdefconfname': > misc.c:119: warning: field precision should have type 'int', but > argument 4 has type 'long int' > misc.c:119: warning: field precision should have type 'int', but > argument 4 has type 'long int' [..] > zone.c: In function 'zone_new': > zone.c:159: warning: field precision should have type 'int', but > argument 5 has type 'long int' > zone.c:159: warning: field precision should have type 'int', but > argument 5 has type 'long int' > zone.c: In function 'zone_readdir': > zone.c:225: warning: field precision should have type 'int', but > argument 5 has type 'long int' > zone.c:225: warning: field precision should have type 'int', but > argument 5 has type 'long int' [..] > gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions > -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -g > -DHAVE_CONFIG_H -I. -Wall -Wmissing-prototypes -c -o nscomm.o nscomm.c > In file included from /usr/include/sys/syslog.h:208, > from /usr/include/syslog.h:2, > from log.h:44, > from nscomm.h:46, > from nscomm.c:47: > /usr/include/bits/syslog.h: In function 'syslog': > /usr/include/bits/syslog.h:32: error: invalid use of > '__builtin_va_arg_pack ()' ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar _______________________________________________ zkt-users mailing list zkt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/zkt-users