openhpi2 / openhpi_bug_test

0 stars 0 forks source link

make fails for distcheck target #1891

Closed openhpi2 closed 8 years ago

openhpi2 commented 9 years ago

make distcheck fails with below error:

libtool: link: gcc -g -O2 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/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 sahpixtca_enum_utils.o sahpi_event_encode.o sahpi_event_utils.o sahpi_struct_utils.o sahpi_time_utils.o uid_utils.o -pthread  -lssl -lgthread-2.0 -lrt -lglib-2.0 -lm -lpthread -pthread
uid_utils.o: In function `oh_uid_map_to_file':
/tmp/TEST/openhpi-3.6.0/_build/utils/t/epath/uid_utils.c:408: undefined reference to `wrap_g_static_mutex_lock'
/tmp/TEST/openhpi-3.6.0/_build/utils/t/epath/uid_utils.c:430: undefined reference to `wrap_g_static_mutex_unlock'
/tmp/TEST/openhpi-3.6.0/_build/utils/t/epath/uid_utils.c:421: undefined reference to `wrap_g_static_mutex_unlock'
/tmp/TEST/openhpi-3.6.0/_build/utils/t/epath/uid_utils.c:413: undefined reference to `wrap_g_static_mutex_unlock'
uid_utils.o: In function `oh_entity_path_lookup':
/tmp/TEST/openhpi-3.6.0/_build/utils/t/epath/uid_utils.c:379: undefined reference to `wrap_g_static_mutex_lock'
/tmp/TEST/openhpi-3.6.0/_build/utils/t/epath/uid_utils.c:388: undefined reference to `wrap_g_static_mutex_unlock'
/tmp/TEST/openhpi-3.6.0/_build/utils/t/epath/uid_utils.c:382: undefined reference to `wrap_g_static_mutex_unlock'
uid_utils.o: In function `oh_uid_lookup':
/tmp/TEST/openhpi-3.6.0/_build/utils/t/epath/uid_utils.c:348: undefined reference to `wrap_g_static_mutex_lock'
/tmp/TEST/openhpi-3.6.0/_build/utils/t/epath/uid_utils.c:356: undefined reference to `wrap_g_static_mutex_unlock'
/tmp/TEST/openhpi-3.6.0/_build/utils/t/epath/uid_utils.c:351: undefined reference to `wrap_g_static_mutex_unlock'
uid_utils.o: In function `oh_uid_remove':
/tmp/TEST/openhpi-3.6.0/_build/utils/t/epath/uid_utils.c:300: undefined reference to `wrap_g_static_mutex_lock'
/tmp/TEST/openhpi-3.6.0/_build/utils/t/epath/uid_utils.c:320: undefined reference to `wrap_g_static_mutex_unlock'
/tmp/TEST/openhpi-3.6.0/_build/utils/t/epath/uid_utils.c:303: undefined reference to `wrap_g_static_mutex_unlock'
/tmp/TEST/openhpi-3.6.0/_build/utils/t/epath/uid_utils.c:311: undefined reference to `wrap_g_static_mutex_unlock'
uid_utils.o: In function `oh_uid_from_entity_path':
/tmp/TEST/openhpi-3.6.0/_build/utils/t/epath/uid_utils.c:218: undefined reference to `wrap_g_static_mutex_lock'
/tmp/TEST/openhpi-3.6.0/_build/utils/t/epath/uid_utils.c:224: undefined reference to `wrap_g_static_mutex_unlock'
/tmp/TEST/openhpi-3.6.0/_build/utils/t/epath/uid_utils.c:273: undefined reference to `wrap_g_static_mutex_unlock'
/tmp/TEST/openhpi-3.6.0/_build/utils/t/epath/uid_utils.c:232: undefined reference to `wrap_g_static_mutex_unlock'
uid_utils.o: In function `oh_uid_initialize':
/tmp/TEST/openhpi-3.6.0/_build/utils/t/epath/uid_utils.c:143: undefined reference to `wrap_g_static_mutex_lock'
/tmp/TEST/openhpi-3.6.0/_build/utils/t/epath/uid_utils.c:176: undefined reference to `wrap_g_static_mutex_unlock'
collect2: ld returned 1 exit status
make[5]: *** [epath_utils_test] Error 1
make[5]: Leaving directory `/tmp/TEST/openhpi-3.6.0/_build/utils/t/epath'
make[4]: *** [check-am] Error 2
make[4]: Leaving directory `/tmp/TEST/openhpi-3.6.0/_build/utils/t/epath'
make[3]: *** [check-recursive] Error 1
make[3]: Leaving directory `/tmp/TEST/openhpi-3.6.0/_build/utils/t'
make[2]: *** [check-recursive] Error 1
make[2]: Leaving directory `/tmp/TEST/openhpi-3.6.0/_build/utils'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/tmp/TEST/openhpi-3.6.0/_build'
make: *** [distcheck] Error 1
```~~

Reported by: nandic
openhpi2 commented 9 years ago

Possible fix attached.

Original comment by: nandic

openhpi2 commented 9 years ago

Original comment by: dr_mohan

openhpi2 commented 9 years ago

Fixed with checkin #7646

Original comment by: dr_mohan