[ofa-general] [Bug 410] New: compilation of srptools fails on all platfroms (x86_64, i686, ppc64, sles10 & rh4u3)

bugzilla-daemon at lists.openfabrics.org bugzilla-daemon at lists.openfabrics.org
Sun Mar 4 08:49:38 PST 2007


https://bugs.openfabrics.org/show_bug.cgi?id=410

           Summary: compilation of srptools fails on all platfroms (x86_64,
                    i686, ppc64, sles10 & rh4u3)
           Product: OpenFabrics Linux
           Version: 1.2
          Platform: All
        OS/Version: Other
            Status: NEW
          Severity: normal
          Priority: P1
         Component: SRP
        AssignedTo: bugzilla at openib.org
        ReportedBy: yosefe at voltaire.com


This is the bottom of OFED log file:

make[1]: Entering directory
`/var/tmp/OFEDRPM/BUILD/ofa_user-1.2/src/userspace/srptools'
make  all-am
make[2]: Entering directory
`/var/tmp/OFEDRPM/BUILD/ofa_user-1.2/src/userspace/srptools'
if gcc -DHAVE_CONFIG_H -I. -I. -I.   -I../libibverbs/include
-I../management/libibumad/include -I../management/libibcommon/include -Wall
-m64 -g -O2 -MT src_ibsrpdm-srp-dm.o -MD -MP -MF ".deps/src_ibsrpdm-srp-dm.Tpo"
-c -o src_ibsrpdm-srp-dm.o `test -f 'src/srp-dm.c' || echo './'`src/srp-dm.c; \
then mv -f ".deps/src_ibsrpdm-srp-dm.Tpo" ".deps/src_ibsrpdm-srp-dm.Po"; else
rm -f ".deps/src_ibsrpdm-srp-dm.Tpo"; exit 1; fi
src/srp-dm.c: In function ‘send_and_get’:
src/srp-dm.c:101: warning: dereferencing type-punned pointer will break
strict-aliasing rules
gcc  -m64 -g -O2 -L../libibverbs/src/.libs -libverbs 
-L../management/libibumad/.libs -libumad  -L../management/libibcommon/.libs
-libcommon -L. -o src/ibsrpdm  src_ibsrpdm-srp-dm.o  -lpthread 
if gcc -DHAVE_CONFIG_H -I. -I. -I.   -I../libibverbs/include
-I../management/libibumad/include -I../management/libibcommon/include -Wall -I
/usr/local/ofed/include -fno-strict-aliasing -m64 -g -O2 -MT
srp_daemon_srp_daemon-srp_daemon.o -MD -MP -MF
".deps/srp_daemon_srp_daemon-srp_daemon.Tpo" -c -o
srp_daemon_srp_daemon-srp_daemon.o `test -f 'srp_daemon/srp_daemon.c' || echo
'./'`srp_daemon/srp_daemon.c; \
then mv -f ".deps/srp_daemon_srp_daemon-srp_daemon.Tpo"
".deps/srp_daemon_srp_daemon-srp_daemon.Po"; else rm -f
".deps/srp_daemon_srp_daemon-srp_daemon.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.   -I../libibverbs/include
-I../management/libibumad/include -I../management/libibcommon/include -Wall -I
/usr/local/ofed/include -fno-strict-aliasing -m64 -g -O2 -MT
srp_daemon_srp_daemon-srp_handle_traps.o -MD -MP -MF
".deps/srp_daemon_srp_daemon-srp_handle_traps.Tpo" -c -o
srp_daemon_srp_daemon-srp_handle_traps.o `test -f
'srp_daemon/srp_handle_traps.c' || echo './'`srp_daemon/srp_handle_traps.c; \
then mv -f ".deps/srp_daemon_srp_daemon-srp_handle_traps.Tpo"
".deps/srp_daemon_srp_daemon-srp_handle_traps.Po"; else rm -f
".deps/srp_daemon_srp_daemon-srp_handle_traps.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.   -I../libibverbs/include
-I../management/libibumad/include -I../management/libibcommon/include -Wall -I
/usr/local/ofed/include -fno-strict-aliasing -m64 -g -O2 -MT
srp_daemon_srp_daemon-srp_sync.o -MD -MP -MF
".deps/srp_daemon_srp_daemon-srp_sync.Tpo" -c -o
srp_daemon_srp_daemon-srp_sync.o `test -f 'srp_daemon/srp_sync.c' || echo
'./'`srp_daemon/srp_sync.c; \
then mv -f ".deps/srp_daemon_srp_daemon-srp_sync.Tpo"
".deps/srp_daemon_srp_daemon-srp_sync.Po"; else rm -f
".deps/srp_daemon_srp_daemon-srp_sync.Tpo"; exit 1; fi
gcc  -m64 -g -O2 -L../libibverbs/src/.libs -libverbs 
-L../management/libibumad/.libs -libumad  -L../management/libibcommon/.libs
-libcommon -L. -o srp_daemon/srp_daemon  srp_daemon_srp_daemon-srp_daemon.o
srp_daemon_srp_daemon-srp_handle_traps.o srp_daemon_srp_daemon-srp_sync.o
-libumad -libcommon -libverbs -lpthread -lpthread 
if gcc -DHAVE_CONFIG_H -I. -I. -I.   -I../libibverbs/include
-I../management/libibumad/include -I../management/libibcommon/include -Wall 
-m64 -g -O2 -MT emulate_udev_srp_post_multipath-srp_post_multipath.o -MD -MP
-MF ".deps/emulate_udev_srp_post_multipath-srp_post_multipath.Tpo" -c -o
emulate_udev_srp_post_multipath-srp_post_multipath.o `test -f
'emulate_udev/srp_post_multipath.c' || echo
'./'`emulate_udev/srp_post_multipath.c; \
then mv -f ".deps/emulate_udev_srp_post_multipath-srp_post_multipath.Tpo"
".deps/emulate_udev_srp_post_multipath-srp_post_multipath.Po"; else rm -f
".deps/emulate_udev_srp_post_multipath-srp_post_multipath.Tpo"; exit 1; fi
emulate_udev/srp_post_multipath.c:8:37: error: srp_dm_multipath_daemon.h: No
such file or directory
emulate_udev/srp_post_multipath.c: In function ‘main’:
emulate_udev/srp_post_multipath.c:19: error: storage size of ‘send_st’
isn’t known
emulate_udev/srp_post_multipath.c:29: error: ‘KEY_FILE’ undeclared (first
use in this function)
emulate_udev/srp_post_multipath.c:29: error: (Each undeclared identifier is
reported only once
emulate_udev/srp_post_multipath.c:29: error: for each function it appears in.)
emulate_udev/srp_post_multipath.c:57: error: ‘MAX_PATH_LENGTH’ undeclared
(first use in this function)
emulate_udev/srp_post_multipath.c:70: error: invalid application of
‘sizeof’ to incomplete type ‘struct msg’ 
emulate_udev/srp_post_multipath.c:19: warning: unused variable ‘send_st’
make[2]: *** [emulate_udev_srp_post_multipath-srp_post_multipath.o] Error 1
make[2]: Leaving directory
`/var/tmp/OFEDRPM/BUILD/ofa_user-1.2/src/userspace/srptools'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/var/tmp/OFEDRPM/BUILD/ofa_user-1.2/src/userspace/srptools'
make: *** [srptools] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.25872 (%install)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.25872 (%install)
ERROR: Failed executing "rpmbuild --rebuild --define '_topdir /var/tmp/OFEDRPM'
--define '_prefix /usr/local/ofed' --define 'build_root /var/tmp/OFED' --define
'configure_options --with-ipoibtools --with-libcxgb3 --with-libibcm
--with-libibcommon --with-libibmad --with-libibumad --with-libibverbs
--with-libmthca --with-opensm --with-librdmacm --with-libsdp
--with-openib-diags --with-sdpnetstat --with-srptools --with-perftest
--mandir=/usr/local/ofed/man' --define 'configure_options32 --with-mstflint
--with-tvflash' --define 'build_32bit 1'
/tmp/regtest/OFED-1.2-reg-20070304-1740/SRPMS/ofa_user-1.2-alpha1.src.rpm"


-- 
Configure bugmail: https://bugs.openfabrics.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.




More information about the general mailing list