Re: Issues with compiling hal in garnome-0.5.8.1



Stef,

Are you actually building on a macbookpro?

There was a PCI-bus related configure problem that caused erroneous
identification of the build platform as a macbookpro. In theory. those
patches fixed that problem...

What to do...

There is a configure argument

          --with-macbookpro

Set it equal to "no" in the GAR makefile and try rebuilding.


-Joseph

========================================================================

On Sat, 2006-12-23 at 17:48 +0100, Stef van der Made wrote:
> Hi Guys,
> 
> I'm having issues with compiling hal in garnome 2.17.4 and it's
> driving me into madness :-(
> 
> I've checked the hal buzilla site but all bugs are too old to resolve the issue.
> 
> I'm going to submit a bug report for the issue but I'm hoping that
> someone can help me ?
> 
> I've just installed the kernel sources for 2.6.18 and the kernel
> headers 2.6.18 so I'm pritty sure that I'm up-to date on that level.
> 
> Here is the dump of information from the compiler:
> 
>         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:36:21: error: pci/pci.h: No such file or directory
> addon-macbookpro-backlight.c: In function 'filter_function':
> addon-macbookpro-backlight.c:311: warning: initialization from
> incompatible pointer type
> addon-macbookpro-backlight.c: In function 'main':
> addon-macbookpro-backlight.c:441: warning: implicit declaration of
> function 'pci_alloc'
> addon-macbookpro-backlight.c:441: warning: nested extern declaration
> of 'pci_alloc'
> addon-macbookpro-backlight.c:441: warning: initialization makes
> pointer from integer without a cast
> addon-macbookpro-backlight.c:442: warning: implicit declaration of
> function 'pci_init'
> addon-macbookpro-backlight.c:442: warning: nested extern declaration
> of 'pci_init'
> addon-macbookpro-backlight.c:443: warning: implicit declaration of
> function 'pci_scan_bus'
> addon-macbookpro-backlight.c:443: warning: nested extern declaration
> of 'pci_scan_bus'
> addon-macbookpro-backlight.c:445: error: dereferencing pointer to
> incomplete type
> addon-macbookpro-backlight.c:445: error: dereferencing pointer to
> incomplete type
> addon-macbookpro-backlight.c:446: warning: implicit declaration of
> function 'pci_fill_info'
> addon-macbookpro-backlight.c:446: warning: nested extern declaration
> of 'pci_fill_info'
> addon-macbookpro-backlight.c:446: error: 'PCI_FILL_IDENT' undeclared
> (first use in this function)
> addon-macbookpro-backlight.c:446: error: (Each undeclared identifier
> is reported only once
> addon-macbookpro-backlight.c:446: error: for each function it appears in.)
> addon-macbookpro-backlight.c:446: error: 'PCI_FILL_BASES' undeclared
> (first use in this function)
> addon-macbookpro-backlight.c:447: error: dereferencing pointer to
> incomplete type
> addon-macbookpro-backlight.c:447: error: dereferencing pointer to incomplete
> type
> addon-macbookpro-backlight.c:448: error: dereferencing pointer to
> incomplete type
> addon-macbookpro-backlight.c:449: error: dereferencing pointer to
> incomplete type
> addon-macbookpro-backlight.c:452: warning: implicit declaration of
> function 'pci_cleanup'
> addon-macbookpro-backlight.c:452: warning: nested extern declaration
> of 'pci_cleanup'
> make[6]: *** [addon-macbookpro-backlight.o] Error 1
> make[6]: Leaving directory
> `/usr/download/garnome-2.17.4/freedesktop/hal/work/main.d/hal-0.5.8.1/hald/linux/addons'
> make[5]: *** [all-recursive] Error 1
> make[5]: Leaving directory
> `/usr/download/garnome-2.17.4/freedesktop/hal/work/main.d/hal-0.5.8.1/hald/linux'
> make[4]: *** [all-recursive] Error 1
> make[4]: Leaving directory
> `/usr/download/garnome-2.17.4/freedesktop/hal/work/main.d/hal-0.5.8.1/hald'
> make[3]: *** [all] Error 2
> make[3]: Leaving directory
> `/usr/download/garnome-2.17.4/freedesktop/hal/work/main.d/hal-0.5.8.1/hald'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory
> `/usr/download/garnome-2.17.4/freedesktop/hal/work/main.d/hal-0.5.8.1'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory
> `/usr/download/garnome-2.17.4/freedesktop/hal/work/main.d/hal-0.5.8.1'
> make: *** [build-work/main.d/hal-0.5.8.1/Makefile] Error 2
> 
> 
> Thanks for your ideas
> 
> Stef
-- 
joseph_sacco [at] comcast [dot] net




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]