hal trouble

Olaf Grüttner olaf.gruettner at web.de
Sun Aug 5 12:20:17 PDT 2007


I have got hal - compile -troubles.
Can somebody give me a clue, what my problem is?

Olaf

hal-0.5.9.1

make[4]: Entering directory `/usr/src/hal-0.5.9.1/hald/linux'
Making all in probing
make[5]: Entering directory `/usr/src/hal-0.5.9.1/hald/linux/probing'
gcc -DHAVE_CONFIG_H -I. -I../../.. -DPACKAGE_SYSCONF_DIR=\""/etc"\"
-DPACKAGE_DATA_DIR=\""/usr/share"\" -DPACKAGE_BIN_DIR=\""/usr/bin"\"
-DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_LOCALSTATEDIR=
\""/var"\" -I../../.. -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/dbus-1.0
-I/usr/lib/dbus-1.0/include   -I/usr/include/dbus-1.0
-I/usr/lib/dbus-1.0/include        -g -O2 -Wall -Wchar-subscripts
-Wmissing-declarations -Wnested-externs -Wpointer-arith -Wcast-align
-Wsign-compare -MT probe-input.o -MD -MP -MF .deps/probe-input.Tpo -c -o
probe-input.o probe-input.c
probe-input.c: In function 'main':
probe-input.c:61: error: 'SW_MAX' undeclared (first use in this
function)
probe-input.c:61: error: (Each undeclared identifier is reported only
once
probe-input.c:61: error: for each function it appears in.)
probe-input.c:74: error: 'SW_LID' undeclared (first use in this
function)
probe-input.c:76: error: 'SW_TABLET_MODE' undeclared (first use in this
function)
probe-input.c:78: error: 'SW_HEADPHONE_INSERT' undeclared (first use in
this function)
probe-input.c:102: warning: implicit declaration of function 'EVIOCGSW'
probe-input.c:102: warning: nested extern declaration of 'EVIOCGSW'
probe-input.c:61: warning: unused variable 'bitmask'
make[5]: *** [probe-input.o] Error 1
make[5]: Leaving directory `/usr/src/hal-0.5.9.1/hald/linux/probing'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/usr/src/hal-0.5.9.1/hald/linux'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/src/hal-0.5.9.1/hald'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/hal-0.5.9.1/hald'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/hal-0.5.9.1'
make: *** [all] Error 2
Making install in libhal
make[1]: Entering directory `/usr/src/hal-0.5.9.1/libhal'
make[2]: Entering directory `/usr/src/hal-0.5.9.1/libhal'
test -z "/usr/lib" || /bin/mkdir -p "/usr/lib"
 /bin/sh ../libtool --mode=install /usr/bin/install -c  'libhal.la'
'/usr/lib/libhal.la'
/usr/bin/install -c .libs/libhal.so.1.0.0 /usr/lib/libhal.so.1.0.0
(cd /usr/lib && { ln -s -f libhal.so.1.0.0 libhal.so.1 || { rm -f
libhal.so.1 && ln -s libhal.so.1.0.0 libhal.so.1; }; })
(cd /usr/lib && { ln -s -f libhal.so.1.0.0 libhal.so || { rm -f
libhal.so && ln -s libhal.so.1.0.0 libhal.so; }; })
/usr/bin/install -c .libs/libhal.lai /usr/lib/libhal.la
/usr/bin/install -c .libs/libhal.a /usr/lib/libhal.a
chmod 644 /usr/lib/libhal.a
ranlib /usr/lib/libhal.a
PATH="$PATH:/sbin" ldconfig -n /usr/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
test -z "/usr/include/hal" || /bin/mkdir -p "/usr/include/hal"
 /usr/bin/install -c -m 644 'libhal.h' '/usr/include/hal/libhal.h'
make[2]: Leaving directory `/usr/src/hal-0.5.9.1/libhal'
make[1]: Leaving directory `/usr/src/hal-0.5.9.1/libhal'
Making install in libhal-storage
make[1]: Entering directory `/usr/src/hal-0.5.9.1/libhal-storage'
make[2]: Entering directory `/usr/src/hal-0.5.9.1/libhal-storage'
test -z "/usr/lib" || /bin/mkdir -p "/usr/lib"
 /bin/sh ../libtool --mode=install /usr/bin/install -c
'libhal-storage.la' '/usr/lib/libhal-storage.la'
libtool: install: warning: relinking `libhal-storage.la'
(cd /usr/src/hal-0.5.9.1/libhal-storage; /bin/sh ../libtool  --tag=CC
--mode=relink gcc -g -O2 -Wall -Wchar-subscripts -Wmissing-declarations
-Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare
-version-info 1:0:0 -Wl,--as-needed -o libhal-storage.la -rpath /usr/lib
libhal-storage.lo -ldbus-1 ../libhal/libhal.la )  
libtool: link: warning:
`/usr/lib/gcc/i686-pc-linux-gnu/4.0.3/../../..//libdbus-1.la' seems to
be moved
gcc -shared  .libs/libhal-storage.o  -L/usr/lib -ldbus-1 -lhal
-L/usr/lib/gcc/i686-pc-linux-gnu/4.0.3/../../../  -Wl,--as-needed
-Wl,-soname -Wl,libhal-storage.so.1 -o .libs/libhal-storage.so.1.0.0
/usr/bin/install
-c .libs/libhal-storage.so.1.0.0T /usr/lib/libhal-storage.so.1.0.0
(cd /usr/lib && { ln -s -f libhal-storage.so.1.0.0 libhal-storage.so.1
|| { rm -f libhal-storage.so.1 && ln -s libhal-storage.so.1.0.0
libhal-storage.so.1; }; })
(cd /usr/lib && { ln -s -f libhal-storage.so.1.0.0 libhal-storage.so ||
{ rm -f libhal-storage.so && ln -s libhal-storage.so.1.0.0
libhal-storage.so; }; })
/usr/bin/install -c .libs/libhal-storage.lai /usr/lib/libhal-storage.la
/usr/bin/install -c .libs/libhal-storage.a /usr/lib/libhal-storage.a
chmod 644 /usr/lib/libhal-storage.a
ranlib /usr/lib/libhal-storage.a
PATH="$PATH:/sbin" ldconfig -n /usr/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
test -z "/usr/include/hal" || /bin/mkdir -p "/usr/include/hal"
 /usr/bin/install -c -m 644 'libhal-storage.h'
'/usr/include/hal/libhal-storage.h'
make[2]: Leaving directory `/usr/src/hal-0.5.9.1/libhal-storage'
make[1]: Leaving directory `/usr/src/hal-0.5.9.1/libhal-storage'
Making install in partutil
make[1]: Entering directory `/usr/src/hal-0.5.9.1/partutil'
make[2]: Entering directory `/usr/src/hal-0.5.9.1/partutil'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/usr/src/hal-0.5.9.1/partutil'
make[1]: Leaving directory `/usr/src/hal-0.5.9.1/partutil'
Making install in hald
make[1]: Entering directory `/usr/src/hal-0.5.9.1/hald'
make  install-recursive
make[2]: Entering directory `/usr/src/hal-0.5.9.1/hald'
Making install in dummy
make[3]: Entering directory `/usr/src/hal-0.5.9.1/hald/dummy'
make[4]: Entering directory `/usr/src/hal-0.5.9.1/hald/dummy'
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory `/usr/src/hal-0.5.9.1/hald/dummy'
make[3]: Leaving directory `/usr/src/hal-0.5.9.1/hald/dummy'
Making install in freebsd
make[3]: Entering directory `/usr/src/hal-0.5.9.1/hald/freebsd'
Making install in libprobe
make[4]: Entering directory `/usr/src/hal-0.5.9.1/hald/freebsd/libprobe'
make[5]: Entering directory `/usr/src/hal-0.5.9.1/hald/freebsd/libprobe'
test -z "/usr/lib" || /bin/mkdir -p "/usr/lib"
make[5]: Nothing to be done for `install-data-am'.
make[5]: Leaving directory `/usr/src/hal-0.5.9.1/hald/freebsd/libprobe'
make[4]: Leaving directory `/usr/src/hal-0.5.9.1/hald/freebsd/libprobe'
Making install in probing
make[4]: Entering directory `/usr/src/hal-0.5.9.1/hald/freebsd/probing'
make[5]: Entering directory `/usr/src/hal-0.5.9.1/hald/freebsd/probing'
test -z "/usr/lib/hal" || /bin/mkdir -p "/usr/lib/hal"
make[5]: Nothing to be done for `install-data-am'.
make[5]: Leaving directory `/usr/src/hal-0.5.9.1/hald/freebsd/probing'
make[4]: Leaving directory `/usr/src/hal-0.5.9.1/hald/freebsd/probing'
Making install in addons
make[4]: Entering directory `/usr/src/hal-0.5.9.1/hald/freebsd/addons'
make[5]: Entering directory `/usr/src/hal-0.5.9.1/hald/freebsd/addons'
test -z "/usr/lib/hal" || /bin/mkdir -p "/usr/lib/hal"
make[5]: Nothing to be done for `install-data-am'.
make[5]: Leaving directory `/usr/src/hal-0.5.9.1/hald/freebsd/addons'
make[4]: Leaving directory `/usr/src/hal-0.5.9.1/hald/freebsd/addons'
Making install in .
make[4]: Entering directory `/usr/src/hal-0.5.9.1/hald/freebsd'
make[5]: Entering directory `/usr/src/hal-0.5.9.1/hald/freebsd'
make[5]: Nothing to be done for `install-exec-am'.
make[5]: Nothing to be done for `install-data-am'.
make[5]: Leaving directory `/usr/src/hal-0.5.9.1/hald/freebsd'
make[4]: Leaving directory `/usr/src/hal-0.5.9.1/hald/freebsd'
make[3]: Leaving directory `/usr/src/hal-0.5.9.1/hald/freebsd'
Making install in linux
make[3]: Entering directory `/usr/src/hal-0.5.9.1/hald/linux'
Making install in probing
make[4]: Entering directory `/usr/src/hal-0.5.9.1/hald/linux/probing'
gcc -DHAVE_CONFIG_H -I. -I../../.. -DPACKAGE_SYSCONF_DIR=\""/etc"\"
-DPACKAGE_DATA_DIR=\""/usr/share"\" -DPACKAGE_BIN_DIR=\""/usr/bin"\"
-DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_LOCALSTATEDIR=
\""/var"\" -I../../.. -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/dbus-1.0
-I/usr/lib/dbus-1.0/include   -I/usr/include/dbus-1.0
-I/usr/lib/dbus-1.0/include        -g -O2 -Wall -Wchar-subscripts
-Wmissing-declarations -Wnested-externs -Wpointer-arith -Wcast-align
-Wsign-compare -MT probe-input.o -MD -MP -MF .deps/probe-input.Tpo -c -o
probe-input.o probe-input.c
probe-input.c: In function 'main':
probe-input.c:61: error: 'SW_MAX' undeclared (first use in this
function)
probe-input.c:61: error: (Each undeclared identifier is reported only
once
probe-input.c:61: error: for each function it appears in.)
probe-input.c:74: error: 'SW_LID' undeclared (first use in this
function)
probe-input.c:76: error: 'SW_TABLET_MODE' undeclared (first use in this
function)
probe-input.c:78: error: 'SW_HEADPHONE_INSERT' undeclared (first use in
this function)
probe-input.c:102: warning: implicit declaration of function 'EVIOCGSW'
probe-input.c:102: warning: nested extern declaration of 'EVIOCGSW'
probe-input.c:61: warning: unused variable 'bitmask'
make[4]: *** [probe-input.o] Error 1
make[4]: Leaving directory `/usr/src/hal-0.5.9.1/hald/linux/probing'
make[3]: *** [install-recursive] Error 1
make[3]: Leaving directory `/usr/src/hal-0.5.9.1/hald/linux'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/usr/src/hal-0.5.9.1/hald'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/usr/src/hal-0.5.9.1/hald'
make: *** [install-recursive] Error 1










More information about the blfs-support mailing list