Bug 13452 - Problem compiling PolicyKit 0.6
Summary: Problem compiling PolicyKit 0.6
Status: RESOLVED INVALID
Alias: None
Product: PolicyKit
Classification: Unclassified
Component: libpolkit (show other bugs)
Version: unspecified
Hardware: Other Linux (All)
: medium normal
Assignee: David Zeuthen (not reading bugmail)
QA Contact: David Zeuthen (not reading bugmail)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-29 22:23 UTC by Pierre
Modified: 2009-10-21 10:30 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.