I have the same error. I followed the steps on the github
git clone
git checkout
./autogen.sh
./configure [--with-purpose=TMPFS]
make / make rpm

I have joined the logs



Le 27/04/2015 15:49, LEIBOVICI Thomas a écrit :
I find strange the output of ./configure is mixed with the output of "make" in the trace you sent

make[3]: Entering directory
`/root/robinhood/rpms/BUILD/robinhood-2.5.4/src/entry_processor'
    CC       entry_proc_impl.lo
In file included from entry_proc_impl.c:24:0:
entry_proc_impl.c: In function 'print_op_stats':
entry_proc_impl.c:1103:58: error: dereferencing pointer to incomplete type
p_op->extra_info.log_record.p_log_rec->cr_index,
^ checking for struct lov_user_ost_data_v1.l_object_seq... no
checking for struct lov_user_ost_data_v1.l_object_id... no


Instead of building the RPM, can you check if the source tree builds:

./configure
make clean
make



On 04/27/15 15:36, Jérôme BECOT wrote:
Hi,

I am trying to build robinhood for Lustre 2.6

Le 27/04/2015 15:34, LEIBOVICI Thomas a écrit :
Hi,

Do you try to build robinhood for Lustre (what version?) or for another filesystem?

Thomas.


On 04/27/15 14:33, Jérôme BECOT wrote:
Hi,

I'd like to install robinhood on a CentOS 7 client. I am not sur that
this OS is supported.

So I tried to compile the last version and when I run "make rpm" it
stops with this error :


make[3]: Entering directory
`/root/robinhood/rpms/BUILD/robinhood-2.5.4/src/entry_processor'
    CC       entry_proc_impl.lo
In file included from entry_proc_impl.c:24:0:
entry_proc_impl.c: In function 'print_op_stats':
entry_proc_impl.c:1103:58: error: dereferencing pointer to incomplete type
p_op->extra_info.log_record.p_log_rec->cr_index,
^ checking for struct lov_user_ost_data_v1.l_object_seq... no
checking for struct lov_user_ost_data_v1.l_object_id... no

../../src/include/RobinhoodLogs.h:96:46: note: in definition of macro
'DisplayLog'
               DisplayLogFn((dbg_level), (tag), format); \
^
entry_proc_impl.c:1104:64: error: dereferencing pointer to incomplete type
PFID(&p_op->extra_info.log_record.p_log_rec->cr_tfid),
                           ^
../../src/include/RobinhoodLogs.h:96:46: note: in definition of macro
'DisplayLog'
               DisplayLogFn((dbg_level), (tag), format); \
^
entry_proc_impl.c:1104:64: error: dereferencing pointer to incomplete type
PFID(&p_op->extra_info.log_record.p_log_rec->cr_tfid),
^
../../src/include/RobinhoodLogs.h:96:46: note: in definition of macro
'DisplayLog'
               DisplayLogFn((dbg_level), (tag), format); \
^
entry_proc_impl.c:1104:64: error: dereferencing pointer to incomplete type
PFID(&p_op->extra_info.log_record.p_log_rec->cr_tfid),
^
../../src/include/RobinhoodLogs.h:96:46: note: in definition of macro
'DisplayLog'
               DisplayLogFn((dbg_level), (tag), format); \
^
make[3]: *** [entry_proc_impl.lo] Error 1
make[3]: Leaving directory
`/root/robinhood/rpms/BUILD/robinhood-2.5.4/src/entry_processor'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/robinhood/rpms/BUILD/robinhood-2.5.4/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/robinhood/rpms/BUILD/robinhood-2.5.4' erreur : Mauvais statut de sortie pour /var/tmp/rpm-tmp.dPei6N (%build)


Erreur de construction de RPM :
      Mauvais statut de sortie pour /var/tmp/rpm-tmp.dPei6N (%build)
make: *** [rpm] Erreur 1

I don't know if the format of the email will be good but the error mark
is under the arrow of "p_log_rec->cr_tfid" for the error / the word
"format" for the notice
I think it is the version of the compiler that may be more strict, but
my knowledge of the C code is limited.

If there is a quick fix i would be glad to test it, if it is because
COS/RHEL 7 is not supported just let me know

Regards





--
Jérome BECOT

Administrateur Systèmes et Réseaux

Molécules à visée Thérapeutique par des approches in Silico (MTi)
Univ Paris Diderot, UMRS973 Inserm
Case 013
Bât. Lamarck A, porte 412
35, rue Hélène Brion 75205 Paris Cedex 13
France

Tel : 01 57 27 83 82

[root@node67 robinhood]# ./configure --with-purpose=TMPFS
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking how to create a pax tar archive... gnutar
checking whether make supports nested variables... (cached) yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for ar... ar
checking the archiver (ar) interface... ar
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking whether gcc and cc understand -c and -o together... yes
checking for inline... inline
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking for bison... bison -y
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking size of nlink_t... 8
checking size of off_t... 8
checking size of ino_t... 8
checking size of dev_t... 8
checking size of time_t... 8
checking size of size_t... 8
checking size of pthread_t... 8
checking strict option... disabled
checking debug-db option... disabled
checking debug-parsing option... disabled
checking debug-pipeline option... disabled
checking debug-policies option... disabled
checking debug-hash option... disabled
checking bench-scan option... disabled
checking bench-db option... disabled
checking bench-pipeline option... disabled
checking gprof option... disabled
checking gcov option... disabled
checking atfunc option... enabled
checking fid2path-leading-slash option... disabled
checking for mail program... /usr/bin/Mail
checking for llapi_obd_statfs in -llustreapi... yes
checking lustre/lustreapi.h usability... yes
checking lustre/lustreapi.h presence... yes
checking for lustre/lustreapi.h... yes
checking lustre/lustre_idl.h usability... no
checking lustre/lustre_idl.h presence... no
checking for lustre/lustre_idl.h... no
checking Lustre version... lustre-client-modules version 2.6
checking for llapi_msg_set_level in -llustreapi... yes
checking for struct obd_statfs... yes
checking for llapi_fid2path in -llustreapi... yes
checking for llapi_fd2fid in -llustreapi... yes
checking for llapi_file_fget_mdtidx in -llustreapi... yes
checking for llapi_changelog_start in -llustreapi... yes
checking whether CL_IOCTL is declared... no
checking whether CL_LAYOUT is declared... yes
checking for llapi_fswap_layouts in -llustreapi... yes
checking llapi-fork-support option... disabled
checking mds-stat option... disabled
checking for llapi_get_poollist in -llustreapi... yes
checking for llapi_get_poolmembers in -llustreapi... yes
checking for struct lov_user_ost_data_v1.l_object_seq... no
checking for struct lov_user_ost_data_v1.l_object_id... no
checking attr/xattr.h usability... yes
checking attr/xattr.h presence... yes
checking for attr/xattr.h... yes
checking for pthread_getsequence_np in -lpthread... no
checking for mysql_config... mysql_config
checking for MySQL version... 5
checking mysql/mysql.h usability... yes
checking mysql/mysql.h presence... yes
checking for mysql/mysql.h... yes
checking for mysql/mysql.h... (cached) yes
checking for ANSI C header files... (cached) yes
checking for string.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for an ANSI C-conforming const... yes
checking for uid_t in sys/types.h... yes
checking for size_t... yes
checking for getmntent_r... yes
checking for fallocate... yes
configure: Using config dir /etc
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/include/Makefile
config.status: creating src/logs/Makefile
config.status: creating src/common/Makefile
config.status: creating src/cfg_parsing/Makefile
config.status: creating src/list_mgr/Makefile
config.status: creating src/entry_processor/Makefile
config.status: creating src/fs_scan/Makefile
config.status: creating src/chglog_reader/Makefile
config.status: creating src/policy_matching/Makefile
config.status: creating src/policy_modules/Makefile
config.status: creating src/policy_modules/purge/Makefile
config.status: creating src/policy_modules/migration/Makefile
config.status: creating src/policy_modules/hsm_remove/Makefile
config.status: creating src/policy_modules/rmdir/Makefile
config.status: creating src/backend_ext/Makefile
config.status: creating src/robinhood/Makefile
config.status: creating src/tools/Makefile
config.status: creating src/tests/Makefile
config.status: creating scripts/Makefile
config.status: creating scripts/robinhood.init
config.status: creating scripts/robinhood.init.sles
config.status: creating scripts/sysconfig_robinhood
config.status: creating tests/Makefile
config.status: creating web_gui/Makefile
config.status: creating man/Makefile
config.status: creating robinhood.spec
config.status: creating doc/doxygen/doxygen.cfg
config.status: creating scripts/make_mans.sh
config.status: creating src/include/config.h
config.status: src/include/config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
[root@node67 robinhood]# make
Making all in src
make[1] : on entre dans le répertoire « /root/robinhood/src »
Making all in include
make[2] : on entre dans le répertoire « /root/robinhood/src/include »
../../scripts/type_gen.pl tmp_fs_mgr_types.def tmp_fs_mgr_types.h
make  all-am
make[3] : on entre dans le répertoire « /root/robinhood/src/include »
make[3] : on quitte le répertoire « /root/robinhood/src/include »
make[2] : on quitte le répertoire « /root/robinhood/src/include »
Making all in logs
make[2] : on entre dans le répertoire « /root/robinhood/src/logs »
  CC       RobinhoodLogs.lo
  CCLD     liblogs.la
make[2] : on quitte le répertoire « /root/robinhood/src/logs »
Making all in common
make[2] : on entre dans le répertoire « /root/robinhood/src/common »
  CC       RW_Lock.lo
  CC       uidgidcache.lo
  CC       RobinhoodMisc.lo
  CC       global_config.lo
  CC       queue.lo
  CC       StringAlloc.lo
  CC       lustre_tools.lo
  CCLD     libcommontools.la
make[2] : on quitte le répertoire « /root/robinhood/src/common »
Making all in list_mgr
make[2] : on entre dans le répertoire « /root/robinhood/src/list_mgr »
  CC       listmgr_init.lo
  CC       listmgr_common.lo
  CC       listmgr_get.lo
  CC       listmgr_insert.lo
  CC       listmgr_stripe.lo
  CC       listmgr_update.lo
  CC       listmgr_filters.lo
  CC       listmgr_remove.lo
  CC       listmgr_iterators.lo
  CC       listmgr_tags.lo
  CC       listmgr_reports.lo
listmgr_reports.c: In function 'ListMgr_Report':
listmgr_reports.c:283:20: warning: variable 'query_tab' set but not used [-Wunused-but-set-variable]
     table_enum     query_tab;
                    ^
  CC       listmgr_config.lo
  CC       listmgr_vars.lo
  CC       listmgr_ns.lo
  CC       mysql_wrapper.lo
  CCLD     liblistmgr.la
make[2] : on quitte le répertoire « /root/robinhood/src/list_mgr »
Making all in entry_processor
make[2] : on entre dans le répertoire « /root/robinhood/src/entry_processor »
  CC       entry_proc_impl.lo
In file included from entry_proc_impl.c:24:0:
entry_proc_impl.c: In function 'print_op_stats':
entry_proc_impl.c:1103:58: error: dereferencing pointer to incomplete type
                     p_op->extra_info.log_record.p_log_rec->cr_index,
                                                          ^
../../src/include/RobinhoodLogs.h:96:46: note: in definition of macro 'DisplayLog'
             DisplayLogFn((dbg_level), (tag), format); \
                                              ^
entry_proc_impl.c:1104:64: error: dereferencing pointer to incomplete type
                     PFID(&p_op->extra_info.log_record.p_log_rec->cr_tfid),
                                                                ^
../../src/include/RobinhoodLogs.h:96:46: note: in definition of macro 'DisplayLog'
             DisplayLogFn((dbg_level), (tag), format); \
                                              ^
entry_proc_impl.c:1104:64: error: dereferencing pointer to incomplete type
                     PFID(&p_op->extra_info.log_record.p_log_rec->cr_tfid),
                                                                ^
../../src/include/RobinhoodLogs.h:96:46: note: in definition of macro 'DisplayLog'
             DisplayLogFn((dbg_level), (tag), format); \
                                              ^
entry_proc_impl.c:1104:64: error: dereferencing pointer to incomplete type
                     PFID(&p_op->extra_info.log_record.p_log_rec->cr_tfid),
                                                                ^
../../src/include/RobinhoodLogs.h:96:46: note: in definition of macro 'DisplayLog'
             DisplayLogFn((dbg_level), (tag), format); \
                                              ^
make[2]: *** [entry_proc_impl.lo] Erreur 1
make[2] : on quitte le répertoire « /root/robinhood/src/entry_processor »
make[1]: *** [all-recursive] Erreur 1
make[1] : on quitte le répertoire « /root/robinhood/src »
make: *** [all-recursive] Erreur 1

[root@node67 robinhood]# make clean
Making clean in src
make[1] : on entre dans le répertoire « /root/robinhood/src »
Making clean in include
make[2] : on entre dans le répertoire « /root/robinhood/src/include »
test -z "lustre_hsm_types.h tmp_fs_mgr_types.h hsmlite_types.h" || rm -f lustre_hsm_types.h tmp_fs_mgr_types.h hsmlite_types.h
rm -rf .libs _libs
rm -f *.lo
make[2] : on quitte le répertoire « /root/robinhood/src/include »
Making clean in logs
make[2] : on entre dans le répertoire « /root/robinhood/src/logs »
rm -rf .libs _libs
test -z "liblogs.la" || rm -f liblogs.la
rm -f ./so_locations
rm -f *.o
rm -f *.lo
make[2] : on quitte le répertoire « /root/robinhood/src/logs »
Making clean in common
make[2] : on entre dans le répertoire « /root/robinhood/src/common »
rm -rf .libs _libs
test -z "libcommontools.la" || rm -f libcommontools.la
rm -f ./so_locations
rm -f *.o
rm -f *.lo
make[2] : on quitte le répertoire « /root/robinhood/src/common »
Making clean in list_mgr
make[2] : on entre dans le répertoire « /root/robinhood/src/list_mgr »
rm -rf .libs _libs
test -z "liblistmgr.la" || rm -f liblistmgr.la
rm -f ./so_locations
rm -f *.o
rm -f *.lo
make[2] : on quitte le répertoire « /root/robinhood/src/list_mgr »
Making clean in entry_processor
make[2] : on entre dans le répertoire « /root/robinhood/src/entry_processor »
rm -rf .libs _libs
test -z "libentryproc.la" || rm -f libentryproc.la
rm -f ./so_locations
rm -f *.o
rm -f *.lo
make[2] : on quitte le répertoire « /root/robinhood/src/entry_processor »
Making clean in fs_scan
make[2] : on entre dans le répertoire « /root/robinhood/src/fs_scan »
rm -rf .libs _libs
test -z "libfsscan.la" || rm -f libfsscan.la
rm -f ./so_locations
rm -f *.o
rm -f *.lo
make[2] : on quitte le répertoire « /root/robinhood/src/fs_scan »
Making clean in cfg_parsing
make[2] : on entre dans le répertoire « /root/robinhood/src/cfg_parsing »
 rm -f verif_syntax test_parsing
rm -rf .libs _libs
test -z "libconfigparsing.la" || rm -f libconfigparsing.la
rm -f ./so_locations
rm -f *.o
rm -f *.lo
make[2] : on quitte le répertoire « /root/robinhood/src/cfg_parsing »
Making clean in policy_matching
make[2] : on entre dans le répertoire « /root/robinhood/src/policy_matching »
rm -rf .libs _libs
test -z "libpolicies.la" || rm -f libpolicies.la
rm -f ./so_locations
rm -f *.o
rm -f *.lo
make[2] : on quitte le répertoire « /root/robinhood/src/policy_matching »
Making clean in policy_modules
make[2] : on entre dans le répertoire « /root/robinhood/src/policy_modules »
Making clean in purge
make[3] : on entre dans le répertoire « /root/robinhood/src/policy_modules/purge »
rm -rf .libs _libs
test -z "libresmonitor.la" || rm -f libresmonitor.la
rm -f ./so_locations
rm -f *.o
rm -f *.lo
make[3] : on quitte le répertoire « /root/robinhood/src/policy_modules/purge »
Making clean in rmdir
make[3] : on entre dans le répertoire « /root/robinhood/src/policy_modules/rmdir »
rm -rf .libs _libs
test -z "librmdir.la" || rm -f librmdir.la
rm -f ./so_locations
rm -f *.o
rm -f *.lo
make[3] : on quitte le répertoire « /root/robinhood/src/policy_modules/rmdir »
make[3] : on entre dans le répertoire « /root/robinhood/src/policy_modules »
rm -rf .libs _libs
rm -f *.lo
make[3] : on quitte le répertoire « /root/robinhood/src/policy_modules »
make[2] : on quitte le répertoire « /root/robinhood/src/policy_modules »
Making clean in chglog_reader
make[2] : on entre dans le répertoire « /root/robinhood/src/chglog_reader »
rm -rf .libs _libs
test -z "libchglog_rd.la" || rm -f libchglog_rd.la
rm -f ./so_locations
rm -f *.o
rm -f *.lo
make[2] : on quitte le répertoire « /root/robinhood/src/chglog_reader »
Making clean in robinhood
make[2] : on entre dans le répertoire « /root/robinhood/src/robinhood »
 rm -f rbh-find rbh-du
rm -rf .libs _libs
test -z "librbhhelpers.la" || rm -f librbhhelpers.la
rm -f ./so_locations
 rm -f robinhood rbh-report rbh-diff
rm -f *.o
rm -f *.lo
make[2] : on quitte le répertoire « /root/robinhood/src/robinhood »
Making clean in tools
make[2] : on entre dans le répertoire « /root/robinhood/src/tools »
rm -rf .libs _libs
rm -f *.o
rm -f *.lo
make[2] : on quitte le répertoire « /root/robinhood/src/tools »
Making clean in tests
make[2] : on entre dans le répertoire « /root/robinhood/src/tests »
 rm -f create_nostripe test_forcestripe test_hash_func test_uidgidcache test_list_mgr test_entry_proc test_info_collector test_resource_monitor
rm -rf .libs _libs
rm -f *.o
rm -f *.lo
make[2] : on quitte le répertoire « /root/robinhood/src/tests »
make[2] : on entre dans le répertoire « /root/robinhood/src »
rm -rf .libs _libs
rm -f *.lo
make[2] : on quitte le répertoire « /root/robinhood/src »
make[1] : on quitte le répertoire « /root/robinhood/src »
Making clean in scripts
make[1] : on entre dans le répertoire « /root/robinhood/scripts »
rm -rf .libs _libs
rm -f *.lo
make[1] : on quitte le répertoire « /root/robinhood/scripts »
Making clean in tests
make[1] : on entre dans le répertoire « /root/robinhood/tests »
rm -rf .libs _libs
rm -f *.lo
make[1] : on quitte le répertoire « /root/robinhood/tests »
Making clean in web_gui
make[1] : on entre dans le répertoire « /root/robinhood/web_gui »
rm -rf .libs _libs
rm -f *.lo
make[1] : on quitte le répertoire « /root/robinhood/web_gui »
Making clean in man
make[1] : on entre dans le répertoire « /root/robinhood/man »
rm -rf .libs _libs
rm -f *.lo
make[1] : on quitte le répertoire « /root/robinhood/man »
make[1] : on entre dans le répertoire « /root/robinhood »
rm -rf .libs _libs
rm -f *.lo
make[1] : on quitte le répertoire « /root/robinhood »

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
robinhood-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/robinhood-support

Reply via email to