Compile failure : hald-test

Richard Hughes hughsient at gmail.com
Fri Jan 13 11:08:01 PST 2006


Using automake 1.9.6, HAL no longer compiles for FC rawhide:

hald/Makefile.am:29: variable `hald_test_LDADD' is defined but no
program or
hald/Makefile.am:29: library has `hald_test' as canonic name (possible
typo)
hald/Makefile.am:18: variable `hald_test_SOURCES' is defined but no
program or
hald/Makefile.am:18: library has `hald_test' as canonic name (possible
typo)
error: Bad exit status from /home/hughsie/rpmbuild/tmp/rpm-tmp.85392 (%
build)

The offending commented out entry is:

hald_test_SOURCES =
\
hald_marshal.h			hald_marshal.c			\
device.h			device.c			\
device_info.h			device_info.c			\
device_store.h			device_store.c			\
logger.h			logger.c			\
property.h			property.c                      \
hald_dbus.h			hald_dbus.c			\
hald_test.c							\
hald_test_libhal.c

hald_test_LDADD = @PACKAGE_LIBS@ -lm @EXPAT_LIB@
$(top_builddir)/libhal/libhal.la

# TESTS = hald-test

Should we have an option for this test program in configure.in? Is
hald-test ever used by anyone -- I've certainly never used it.

Richard.



More information about the hal mailing list