Shame on me!
I added sahpixtca_enum_utils files in Makefile.am and utils/Makefile.am
but not in utils/t/different_tests/Makefile.am.
The attached patch resolves the issue.
I am going to commit it in trunk after merge with new simulator.
Well, after all make distcheck failed in another place.
See the log below.
---------------------------------
Control Num: 1 (1 hex)
Control Output Type: LED
Control Type: OEM
ManufacturerId: Unknown
ConfigData: Config Dat
Default:
ManufacturerId: Unknown
BodyLength: 14
Body: Config Default
DefaultMode:
Mode: AUTO
ReadOnly: TRUE
WriteOnly: TRUE
OEM: 0
Error! Testcase failed. Line=1619
Received error=SA_OK
FAIL: sahpi_struct_utils_test
PASS: sahpi_text_utils_test
====================
1 of 12 tests failed
====================
make[5]: *** [check-TESTS] Error 1
make[5]: Leaving directory
`/home/avpak/archives/2010/src/hpi/orig/openhpi/trunk/openhpi-2.15.0/_build/utils/t/sahpi'
make[4]: *** [check-am] Error 2
make[4]: Leaving directory
`/home/avpak/archives/2010/src/hpi/orig/openhpi/trunk/openhpi-2.15.0/_build/utils/t/sahpi'
make[3]: *** [check-recursive] Error 1
make[3]: Leaving directory
`/home/avpak/archives/2010/src/hpi/orig/openhpi/trunk/openhpi-2.15.0/_build/utils/t'
make[2]: *** [check-recursive] Error 1
make[2]: Leaving directory
`/home/avpak/archives/2010/src/hpi/orig/openhpi/trunk/openhpi-2.15.0/_build/utils'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory
`/home/avpak/archives/2010/src/hpi/orig/openhpi/trunk/openhpi-2.15.0/_build'
make: *** [distcheck] Error 2
---------------------------------
Anton Pak
> Everyone:
>
> I just tested: make distcheck
> using the OpenHPI top-of-trunk - and there is a regression from the 2.14.1
> release.
>
> Normally, 'make distcheck' takes the openhpi source code .gz archive,
> unpacks it, builds it, and runs unit tests on it, then builds another
> archive. Its kind of a sanity check for openhpi - and is a tool we use
> when releasing openhpi to make sure the source code archive is useable.
>
> On 2.14.1 - 'make distcheck' runs to completion. No issues.
>
> But on the top-of-trunk - I get this error that looks like something to do
> with ATCA support.
> This problem is independent of the new code for Lars Wetzel's
> dynamic_simulator.
>
> Anyone know how this problem was introduced?
>
> --michael
>
>
> gcc -g -O2 -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
> -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes
> -Wpointer-arith -Wformat=2 -Wformat-security -Wformat-nonliteral
> -Wno-format-y2k -Wcast-qual -Wcast-align -Wno-strict-aliasing
> -fno-strict-aliasing -Wno-unused-value -D_GNU_SOURCE -D_REENTRANT
> -fexceptions -o epath_utils_test epath_utils_test.o epath_utils.o
> sahpi_enum_utils.o sahpiatca_enum_utils.o sahpi_event_encode.o
> sahpi_event_utils.o sahpi_struct_utils.o sahpi_time_utils.o uid_utils.o
> -pthread /usr/lib/libltdl.so -ldl -lssl -L/lib -lgthread-2.0 -lglib-2.0
> -lm -lpthread -luuid
> sahpi_enum_utils.o: In function `oh_encode_entitytype':
> /root/openhpi-build/svn.ref.7095-build/openhpi/openhpi-2.15.0/_build/utils/t/epath/sahpi_enum_utils.c:942:
> undefined reference to `oh_encode_xtcahpientitytype'
> sahpi_enum_utils.o: In function `oh_lookup_entitytype':
> /root/openhpi-build/svn.ref.7095-build/openhpi/openhpi-2.15.0/_build/utils/t/epath/sahpi_enum_utils.c:798:
> undefined reference to `oh_lookup_xtcahpientitytype'
> collect2: ld returned 1 exit status
> make[5]: *** [epath_utils_test] Error 1
> make[5]: Leaving directory
> `/root/openhpi-build/svn.ref.7095-build/openhpi/openhpi-2.15.0/_build/utils/t/epath'
> make[4]: *** [check-am] Error 2
> make[4]: Leaving directory
> `/root/openhpi-build/svn.ref.7095-build/openhpi/openhpi-2.15.0/_build/utils/t/epath'
> make[3]: *** [check-recursive] Error 1
> make[3]: Leaving directory
> `/root/openhpi-build/svn.ref.7095-build/openhpi/openhpi-2.15.0/_build/utils/t'
> make[2]: *** [check-recursive] Error 1
> make[2]: Leaving directory
> `/root/openhpi-build/svn.ref.7095-build/openhpi/openhpi-2.15.0/_build/utils'
> make[1]: *** [check-recursive] Error 1
> make[1]: Leaving directory
> `/root/openhpi-build/svn.ref.7095-build/openhpi/openhpi-2.15.0/_build'
> make: *** [distcheck] Error 2
>
>
>
>
>
> ------------------------------------------------------------------------------
> ThinkGeek and WIRED's GeekDad team up for the Ultimate
> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
> lucky parental unit. See the prize list and enter to win:
> http://p.sf.net/sfu/thinkgeek-promo_______________________________________________
> Openhpi-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/openhpi-devel
>
Index: utils/t/epath/Makefile.am
===================================================================
--- utils/t/epath/Makefile.am (revision 7095)
+++ utils/t/epath/Makefile.am (working copy)
@@ -35,6 +35,7 @@
epath_utils.c \
sahpi_enum_utils.c \
sahpiatca_enum_utils.c \
+ sahpixtca_enum_utils.c \
sahpi_event_encode.c \
sahpi_event_utils.c \
sahpi_struct_utils.c \
Index: utils/t/uid/Makefile.am
===================================================================
--- utils/t/uid/Makefile.am (revision 7095)
+++ utils/t/uid/Makefile.am (working copy)
@@ -14,6 +14,7 @@
epath_utils.c \
sahpi_enum_utils.c \
sahpiatca_enum_utils.c \
+ sahpixtca_enum_utils.c \
sahpi_event_encode.c \
sahpi_event_utils.c \
sahpi_struct_utils.c \
Index: utils/t/sahpi/Makefile.am
===================================================================
--- utils/t/sahpi/Makefile.am (revision 7095)
+++ utils/t/sahpi/Makefile.am (working copy)
@@ -13,6 +13,7 @@
REMOTE_SOURCES = epath_utils.c \
sahpi_enum_utils.c \
sahpiatca_enum_utils.c \
+ sahpixtca_enum_utils.c \
sahpi_event_encode.c \
sahpi_event_utils.c \
sahpi_struct_utils.c \
Index: utils/t/rpt/Makefile.am
===================================================================
--- utils/t/rpt/Makefile.am (revision 7095)
+++ utils/t/rpt/Makefile.am (working copy)
@@ -15,6 +15,7 @@
uid_utils.c \
sahpi_enum_utils.c \
sahpiatca_enum_utils.c \
+ sahpixtca_enum_utils.c \
sahpi_event_encode.c \
sahpi_event_utils.c \
sahpi_struct_utils.c \------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Openhpi-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openhpi-devel