Bug 13452

Summary: Problem compiling PolicyKit 0.6
Product: PolicyKit Reporter: Pierre <pierre42d>
Component: libpolkitAssignee: David Zeuthen (not reading bugmail) <zeuthen>
Status: RESOLVED INVALID QA Contact: David Zeuthen (not reading bugmail) <zeuthen>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Pierre 2007-11-29 22:23:09 UTC
# make
make  all-recursive
make[1]: Entering directory `/tmp/PolicyKit-0.6'
Making all in data
make[2]: Entering directory `/tmp/PolicyKit-0.6/data'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/tmp/PolicyKit-0.6/data'
Making all in polkit
make[2]: Entering directory `/tmp/PolicyKit-0.6/polkit'
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -DPACKAGE_LIBEXEC_DIR=\""/usr/local/libexec"\" -DPACKAGE_SYSCONF_DIR=\""/usr/local/etc"\" -DPACKAGE_DATA_DIR=\""/usr/local/share"\" -DPACKAGE_BIN_DIR=\""/usr/local/bin"\" -DPACKAGE_LOCALSTATE_DIR=\""/usr/local/var"\" -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -DPACKAGE_LIB_DIR=\""/usr/local/lib"\" -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -DPOLKIT_COMPILATION -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include      -s -O3 -march=i686 -Wall -Wchar-subscripts -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -MT polkit-context.lo -MD -MP -MF .deps/polkit-context.Tpo -c -o polkit-context.lo polkit-context.c
 gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -DPACKAGE_LIBEXEC_DIR=\"/usr/local/libexec\" -DPACKAGE_SYSCONF_DIR=\"/usr/local/etc\" -DPACKAGE_DATA_DIR=\"/usr/local/share\" -DPACKAGE_BIN_DIR=\"/usr/local/bin\" -DPACKAGE_LOCALSTATE_DIR=\"/usr/local/var\" -DPACKAGE_LOCALE_DIR=\"/usr/local/share/locale\" -DPACKAGE_LIB_DIR=\"/usr/local/lib\" -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -DPOLKIT_COMPILATION -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -s -O3 -march=i686 -Wall -Wchar-subscripts -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -MT polkit-context.lo -MD -MP -MF .deps/polkit-context.Tpo -c polkit-context.c  -fPIC -DPIC -o .libs/polkit-context.o
polkit-context.c:38:25: sys/inotify.h: No such file or directory
polkit-context.c: In function `polkit_context_init':
polkit-context.c:156: warning: implicit declaration of function `inotify_init'
polkit-context.c:156: warning: nested extern declaration of `inotify_init'
polkit-context.c:164: warning: implicit declaration of function `inotify_add_watch'
polkit-context.c:164: warning: nested extern declaration of `inotify_add_watch'
polkit-context.c:166: error: `IN_MODIFY' undeclared (first use in this function)
polkit-context.c:166: error: (Each undeclared identifier is reported only once
polkit-context.c:166: error: for each function it appears in.)
polkit-context.c:166: error: `IN_CREATE' undeclared (first use in this function)
polkit-context.c:166: error: `IN_ATTRIB' undeclared (first use in this function)
polkit-context.c:177: error: `IN_DELETE' undeclared (first use in this function)
polkit-context.c: In function `polkit_context_io_func':
polkit-context.c:316: error: invalid application of `sizeof' to incomplete type `inotify_event' 
polkit-context.c:320: error: invalid application of `sizeof' to incomplete type `inotify_event' 
polkit-context.c:334: error: dereferencing pointer to incomplete type
polkit-context.c:334: error: dereferencing pointer to incomplete type
polkit-context.c:334: error: dereferencing pointer to incomplete type
polkit-context.c:334: error: dereferencing pointer to incomplete type
polkit-context.c:339: error: invalid application of `sizeof' to incomplete type `inotify_event' 
polkit-context.c:339: error: dereferencing pointer to incomplete type
make[2]: *** [polkit-context.lo] Error 1
make[2]: Leaving directory `/tmp/PolicyKit-0.6/polkit'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/PolicyKit-0.6'
make: *** [all] Error 2
Comment 1 David Zeuthen (not reading bugmail) 2009-10-21 10:30:17 UTC
This bug report is for the old version of PolicyKit. Closing as all of the code has been rewritten. Please reopen if the bug report applies to the latest version of PolicyKit. Thanks.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.