On Thursday 22 September 2011 11:07:48 Jason Cox wrote:
> Hi all,
> I am having an issue with compiling the lattest git version due to a
> lack of a libhal on my system
> 
> after check the web site for libhal
> (http://www.freedesktop.org/wiki/Software/hal) I found that it now in
> maintenance mode and they are switching to udisk,upower as a
> replacement.
> 
> This in turn make lib hal unsupported on my system as Gentoo has already
> gone to upower and disabled both hal and upower on the same system.
> 
> 
> is there any plans to move over?
> my problem is in  src/Input/FGLinuxEventInput.hxx
> 
> and is as follows
> g++ -DHAVE_CONFIG_H -I. -I../../src/Include -I../.. -I../../src
> -I../../src/Main -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include
> -I/usr/lib/dbus-1.0/include
> -I/data/flightgear/NEW/install/simgear/include
> -I/data/flightgear/NEW/install/plib/include -I/usr/local/include
> -DPKGLIBDIR=\"/data/flightgear/NEW/install/fgfs/share/flightgear\" -g
> -O2 -Wall -I/data/flightgear/NEW/install/simgear -D_REENTRANT -MT
> input.o -MD -MP -MF .deps/input.Tpo -c -o input.o input.cxx
> In file included from input.cxx:46:
> FGLinuxEventInput.hxx:28:24: error: hal/libhal.h: No such file or
> directory
> In file included
> from /data/flightgear/NEW/install/plib/include/plib/js.h:28,
>                  from FGJoystickInput.hxx:35,
>                  from input.cxx:35:
> /data/flightgear/NEW/install/plib/include/plib/ul.h: In function 'short
> unsigned int ulEndianReadLittle16(FILE*)':
> /data/flightgear/NEW/install/plib/include/plib/ul.h:471: warning:
> ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)',
> declared with attribute warn_unused_result
> /data/flightgear/NEW/install/plib/include/plib/ul.h: In function
> 'unsigned int ulEndianReadLittle32(FILE*)':
> /data/flightgear/NEW/install/plib/include/plib/ul.h:477: warning:
> ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)',
> declared with attribute warn_unused_result
> /data/flightgear/NEW/install/plib/include/plib/ul.h: In function 'float
> ulEndianReadLittleFloat(FILE*)':
> /data/flightgear/NEW/install/plib/include/plib/ul.h:483: warning:
> ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)',
> declared with attribute warn_unused_result
> /data/flightgear/NEW/install/plib/include/plib/ul.h: In function 'short
> unsigned int ulEndianReadBig16(FILE*)':
> /data/flightgear/NEW/install/plib/include/plib/ul.h:489: warning:
> ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)',
> declared with attribute warn_unused_result
> /data/flightgear/NEW/install/plib/include/plib/ul.h: In function
> 'unsigned int ulEndianReadBig32(FILE*)':
> /data/flightgear/NEW/install/plib/include/plib/ul.h:495: warning:
> ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)',
> declared with attribute warn_unused_result
> /data/flightgear/NEW/install/plib/include/plib/ul.h: In function 'float
> ulEndianReadBigFloat(FILE*)':
> /data/flightgear/NEW/install/plib/include/plib/ul.h:501: warning:
> ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)',
> declared with attribute warn_unused_result
> In file included from input.cxx:46:
> FGLinuxEventInput.hxx: At global scope:
> FGLinuxEventInput.hxx:76: error: ISO C++ forbids declaration of
> 'LibHalContext' with no type
> FGLinuxEventInput.hxx:76: error: expected ';' before '*' token
> make[2]: *** [input.o] Error 1
> make[2]: Leaving directory
> `/data/flightgear/NEW/fgfs/flightgear/src/Input'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/data/flightgear/NEW/fgfs/flightgear/src'
> make: *** [all-recursive] Error 1
> 
> all help appreciated
> Jason Cox
Jason, you might want to use the ebuilds in the gamerlay overlay (layman -a 
gamerlay). They're pretty well maintained.

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Flightgear-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to