| Summary: | Build failure with addon-macbookpro-backlight.c | ||
|---|---|---|---|
| Product: | hal | Reporter: | Brent Smith <gnome> |
| Component: | hald | Assignee: | David Zeuthen (not reading bugmail) <zeuthen> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | high | CC: | thomas |
| Version: | unspecified | ||
| Hardware: | x86 (IA32) | ||
| OS: | Linux (All) | ||
| URL: | http://jhbuild.bxlug.be/ | ||
| Whiteboard: | |||
| i915 platform: | i915 features: | ||
Here's the workaround. Index: hald/linux2/addons/Makefile.am =================================================================== RCS file: /cvs/hal/hal/hald/linux2/addons/Makefile.am,v retrieving revision 1.10 diff -u -p -r1.10 Makefile.am --- hald/linux2/addons/Makefile.am 9 Jun 2006 02:19:32 -0000 1.10 +++ hald/linux2/addons/Makefile.am 10 Jun 2006 15:35:03 -0000 @@ -20,9 +20,9 @@ libexec_PROGRAMS = \ if HAVE_LIBUSB libexec_PROGRAMS += hald-addon-usb-csr endif -if HAVE_LIBPCI -libexec_PROGRAMS += hald-addon-macbookpro-backlight -endif +#if HAVE_LIBPCI +#libexec_PROGRAMS += hald-addon-macbookpro-backlight +#endif endif hald_addon_hid_ups_SOURCES = addon-hid-ups.c *** Bug 7207 has been marked as a duplicate of this bug. *** Fixed in CVS:
Modified Files:
ChangeLog configure.in
Log Message:
2006-06-14 David Zeuthen <davidz@redhat.com>
* configure.in: Check properly for libpci. Patch from Frederic
Peters <fpeters@0d.be>.
I've just tried to build hal-0.5.8.1 and this build fails with the exact same error as the bug here specifies altough it should have been fixed in CVS so I'm not sure what has happend ? |
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.
Many people using jhbuild are seeing this error. if gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -DPACKAGE_SYSCONF_DIR=\""/opt/gnome2/etc"\" -DPACKAGE_DATA_DIR=\""/opt/gnome2/share"\" -DPACKAGE_BIN_DIR=\""/opt/gnome2/bin"\" -DPACKAGE_LOCALE_DIR=\""/opt/gnome2/share/locale"\" -DPACKAGE_LOCALSTATEDIR=\""/opt/gnome2/var"\" -I../../.. -I/opt/gnome2/include/glib-2.0 -I/opt/gnome2/lib/glib-2.0/include -I/opt/gnome2/include/dbus-1.0 -I/opt/gnome2/lib/dbus-1.0/include -I/opt/gnome2/include/libpolkit -g -O0 -Wall -Wchar-subscripts -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -MT addon-pmu.o -MD -MP -MF ".deps/addon-pmu.Tpo" -c -o addon-pmu.o addon-pmu.c; \ then mv -f ".deps/addon-pmu.Tpo" ".deps/addon-pmu.Po"; else rm -f ".deps/addon-pmu.Tpo"; exit 1; fi /bin/sh ../../../libtool --tag=CC --mode=link gcc -g -O0 -Wall -Wchar-subscripts -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -o hald-addon-pmu addon-pmu.o ../../../libhal/libhal.la gcc -g -O0 -Wall -Wchar-subscripts -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -o .libs/hald-addon-pmu addon-pmu.o ../../../libhal/.libs/libhal.so -L/opt/gnome2/lib /opt/gnome2/lib/libdbus-1.so -lnsl -Wl,--rpath -Wl,/opt/gnome2/lib creating hald-addon-pmu if gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -DPACKAGE_SYSCONF_DIR=\""/opt/gnome2/etc"\" -DPACKAGE_DATA_DIR=\""/opt/gnome2/share"\" -DPACKAGE_BIN_DIR=\""/opt/gnome2/bin"\" -DPACKAGE_LOCALE_DIR=\""/opt/gnome2/share/locale"\" -DPACKAGE_LOCALSTATEDIR=\""/opt/gnome2/var"\" -I../../.. -I/opt/gnome2/include/glib-2.0 -I/opt/gnome2/lib/glib-2.0/include -I/opt/gnome2/include/dbus-1.0 -I/opt/gnome2/lib/dbus-1.0/include -I/opt/gnome2/include/libpolkit -g -O0 -Wall -Wchar-subscripts -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -MT addon-macbookpro-backlight.o -MD -MP -MF ".deps/addon-macbookpro-backlight.Tpo" -c -o addon-macbookpro-backlight.o addon-macbookpro-backlight.c; \ then mv -f ".deps/addon-macbookpro-backlight.Tpo" ".deps/addon-macbookpro-backlight.Po"; else rm -f ".deps/addon-macbookpro-backlight.Tpo"; exit 1; fi addon-macbookpro-backlight.c:42:21: error: pci/pci.h: No such file or directory addon-macbookpro-backlight.c:67: warning: no previous declaration for ‘read_backlight’ addon-macbookpro-backlight.c:71: warning: no previous declaration for ‘write_backlight’ addon-macbookpro-backlight.c: In function ‘main’: addon-macbookpro-backlight.c:197: warning: implicit declaration of function ‘pci_alloc’ addon-macbookpro-backlight.c:197: warning: nested extern declaration of ‘pci_alloc’ addon-macbookpro-backlight.c:197: warning: initialization makes pointer from integer without a cast addon-macbookpro-backlight.c:198: warning: implicit declaration of function ‘pci_init’ addon-macbookpro-backlight.c:198: warning: nested extern declaration of ‘pci_init’ addon-macbookpro-backlight.c:199: warning: implicit declaration of function ‘pci_scan_bus’ addon-macbookpro-backlight.c:199: warning: nested extern declaration of ‘pci_scan_bus’ addon-macbookpro-backlight.c:201: error: dereferencing pointer to incomplete type addon-macbookpro-backlight.c:201: error: dereferencing pointer to incomplete type addon-macbookpro-backlight.c:202: warning: implicit declaration of function ‘pci_fill_info’ addon-macbookpro-backlight.c:202: warning: nested extern declaration of ‘pci_fill_info’ addon-macbookpro-backlight.c:202: error: ‘PCI_FILL_IDENT’ undeclared (first use in this function) addon-macbookpro-backlight.c:202: error: (Each undeclared identifier is reported only once addon-macbookpro-backlight.c:202: error: for each function it appears in.) addon-macbookpro-backlight.c:202: error: ‘PCI_FILL_BASES’ undeclared (first use in this function) addon-macbookpro-backlight.c:203: error: dereferencing pointer to incomplete type addon-macbookpro-backlight.c:203: error: dereferencing pointer to incomplete type addon-macbookpro-backlight.c:204: error: dereferencing pointer to incomplete type addon-macbookpro-backlight.c:205: error: dereferencing pointer to incomplete type addon-macbookpro-backlight.c:208: warning: implicit declaration of function ‘pci_cleanup’ addon-macbookpro-backlight.c:208: warning: nested extern declaration of ‘pci_cleanup’ addon-macbookpro-backlight.c:165: warning: unused variable ‘ret’ addon-macbookpro-backlight.c:164: warning: unused variable ‘endptr’ make[5]: *** [addon-macbookpro-backlight.o] Error 1 make[5]: Leaving directory `/extra/cvs/gnome2/hal/hald/linux2/addons' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/extra/cvs/gnome2/hal/hald/linux2'