Bug 763219 (GLUSTER-1487) - RDMA must be compiled out if ib-verbs library is not available
Summary: RDMA must be compiled out if ib-verbs library is not available
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: GLUSTER-1487
Product: GlusterFS
Classification: Community
Component: build
Version: 3.1-alpha
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Amar Tumballi
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-08-31 10:08 UTC by Shehjar Tikoo
Modified: 2015-12-01 16:45 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Regression: RTP
Mount Type: All
Documentation: ---
CRM:
Verified Versions:


Attachments (Terms of Use)

Description Shehjar Tikoo 2010-08-31 10:08:58 UTC
Build failed on my laptop:
shehjart@indus:glusterfs$ uname -a
Linux indus 2.6.31-20-generic #58-Ubuntu SMP Fri Mar 12 04:38:19 UTC 2010 x86_64 GNU/Linux



In file included from rdma.c:29:
rdma.h:40:30: error: infiniband/verbs.h: No such file or directory
In file included from rdma.c:29:
rdma.h:138: error: field ‘mtu’ has incomplete type
rdma.c: In function ‘rdma_get_local_lid’:
rdma.c:57: error: storage size of ‘attr’ isn’t known
rdma.c:59: warning: implicit declaration of function ‘ibv_query_port’
rdma.c:57: warning: unused variable ‘attr’
rdma.c: At top level:
rdma.c:66: warning: ‘enum ibv_port_state’ declared inside parameter list
rdma.c:66: error: parameter 1 (‘pstate’) has incomplete type
rdma.c: In function ‘get_port_state_str’:
rdma.c:69: error: ‘IBV_PORT_DOWN’ undeclared (first use in this function)
rdma.c:69: error: (Each undeclared identifier is reported only once
rdma.c:69: error: for each function it appears in.)
rdma.c:70: error: ‘IBV_PORT_INIT’ undeclared (first use in this function)
rdma.c:71: error: ‘IBV_PORT_ARMED’ undeclared (first use in this function)
rdma.c:72: error: ‘IBV_PORT_ACTIVE’ undeclared (first use in this function)
rdma.c:73: error: ‘IBV_PORT_ACTIVE_DEFER’ undeclared (first use in this function)
rdma.c: In function ‘ib_check_active_port’:
rdma.c:81: error: storage size of ‘port_attr’ isn’t known
rdma.c:100: error: type of formal parameter 1 is incomplete
rdma.c:105: error: ‘IBV_PORT_ACTIVE’ undeclared (first use in this function)
rdma.c:81: warning: unused variable ‘port_attr’
rdma.c: In function ‘ib_get_active_port’:
rdma.c:114: error: storage size of ‘ib_device_attr’ isn’t known
rdma.c:124: warning: implicit declaration of function ‘ibv_query_device’
rdma.c:114: warning: unused variable ‘ib_device_attr’
rdma.c: In function ‘rdma_new_post’:
rdma.c:193: warning: implicit declaration of function ‘ibv_reg_mr’
rdma.c:196: error: ‘IBV_ACCESS_LOCAL_WRITE’ undeclared (first use in this function)
rdma.c:196: warning: assignment makes pointer from integer without a cast
rdma.c: In function ‘rdma_destroy_post’:
rdma.c:253: warning: implicit declaration of function ‘ibv_dereg_mr’
rdma.c: In function ‘rdma_post_send’:
rdma.c:346: error: variable ‘list’ has initializer but incomplete type
rdma.c:347: error: unknown field ‘addr’ specified in initializer
rdma.c:347: warning: excess elements in struct initializer
rdma.c:347: warning: (near initialization for ‘list’)
rdma.c:348: error: unknown field ‘length’ specified in initializer
rdma.c:348: warning: excess elements in struct initializer
rdma.c:348: warning: (near initialization for ‘list’)
rdma.c:349: error: unknown field ‘lkey’ specified in initializer
rdma.c:349: error: dereferencing pointer to incomplete type
rdma.c:350: warning: excess elements in struct initializer
rdma.c:350: warning: (near initialization for ‘list’)
rdma.c:346: error: storage size of ‘list’ isn’t known
rdma.c:352: error: variable ‘wr’ has initializer but incomplete type
rdma.c:353: error: unknown field ‘wr_id’ specified in initializer
rdma.c:353: warning: excess elements in struct initializer
rdma.c:353: warning: (near initialization for ‘wr’)
rdma.c:354: error: unknown field ‘sg_list’ specified in initializer
rdma.c:354: warning: excess elements in struct initializer
rdma.c:354: warning: (near initialization for ‘wr’)
rdma.c:355: error: unknown field ‘num_sge’ specified in initializer
rdma.c:355: warning: excess elements in struct initializer
rdma.c:355: warning: (near initialization for ‘wr’)
rdma.c:356: error: unknown field ‘opcode’ specified in initializer
rdma.c:356: error: ‘IBV_WR_SEND’ undeclared (first use in this function)
rdma.c:356: warning: excess elements in struct initializer
rdma.c:356: warning: (near initialization for ‘wr’)
rdma.c:357: error: unknown field ‘send_flags’ specified in initializer
rdma.c:357: error: ‘IBV_SEND_SIGNALED’ undeclared (first use in this function)
rdma.c:357: warning: excess elements in struct initializer
rdma.c:357: warning: (near initialization for ‘wr’)
rdma.c:352: error: storage size of ‘wr’ isn’t known
rdma.c:363: warning: implicit declaration of function ‘ibv_post_send’
rdma.c:352: warning: unused variable ‘wr’
rdma.c:346: warning: unused variable ‘list’
rdma.c: In function ‘__rdma_create_read_chunks_from_vector’:
rdma.c:457: error: ‘IBV_ACCESS_REMOTE_READ’ undeclared (first use in this function)
rdma.c:457: warning: assignment makes pointer from integer without a cast
rdma.c:466: error: dereferencing pointer to incomplete type
rdma.c: In function ‘__rdma_create_write_chunks_from_vector’:
rdma.c:593: error: ‘IBV_ACCESS_REMOTE_WRITE’ undeclared (first use in this function)
rdma.c:594: error: ‘IBV_ACCESS_LOCAL_WRITE’ undeclared (first use in this function)
rdma.c:594: warning: assignment makes pointer from integer without a cast
rdma.c:603: error: dereferencing pointer to incomplete type
rdma.c: In function ‘rdma_post_recv’:
rdma.c:838: error: variable ‘list’ has initializer but incomplete type
rdma.c:839: error: unknown field ‘addr’ specified in initializer
rdma.c:839: warning: excess elements in struct initializer
rdma.c:839: warning: (near initialization for ‘list’)
rdma.c:840: error: unknown field ‘length’ specified in initializer
rdma.c:840: warning: excess elements in struct initializer
rdma.c:840: warning: (near initialization for ‘list’)
rdma.c:841: error: unknown field ‘lkey’ specified in initializer
rdma.c:841: error: dereferencing pointer to incomplete type
rdma.c:842: warning: excess elements in struct initializer
rdma.c:842: warning: (near initialization for ‘list’)
rdma.c:838: error: storage size of ‘list’ isn’t known
rdma.c:844: error: variable ‘wr’ has initializer but incomplete type
rdma.c:845: error: unknown field ‘wr_id’ specified in initializer
rdma.c:845: warning: excess elements in struct initializer
rdma.c:845: warning: (near initialization for ‘wr’)
rdma.c:846: error: unknown field ‘sg_list’ specified in initializer
rdma.c:846: warning: excess elements in struct initializer
rdma.c:846: warning: (near initialization for ‘wr’)
rdma.c:847: error: unknown field ‘num_sge’ specified in initializer
rdma.c:847: warning: excess elements in struct initializer
rdma.c:847: warning: (near initialization for ‘wr’)
rdma.c:844: error: storage size of ‘wr’ isn’t known
rdma.c:852: warning: implicit declaration of function ‘ibv_post_srq_recv’
rdma.c:844: warning: unused variable ‘wr’
rdma.c:838: warning: unused variable ‘list’
rdma.c: In function ‘__rdma_register_local_mr_for_rdma’:
rdma.c:1282: error: ‘IBV_ACCESS_LOCAL_WRITE’ undeclared (first use in this function)
rdma.c:1282: warning: assignment makes pointer from integer without a cast
rdma.c: In function ‘__rdma_write’:
rdma.c:1305: error: variable ‘wr’ has initializer but incomplete type
rdma.c:1306: error: unknown field ‘opcode’ specified in initializer
rdma.c:1306: error: ‘IBV_WR_RDMA_WRITE’ undeclared (first use in this function)
rdma.c:1306: warning: excess elements in struct initializer
rdma.c:1306: warning: (near initialization for ‘wr’)
rdma.c:1307: error: unknown field ‘send_flags’ specified in initializer
rdma.c:1307: error: ‘IBV_SEND_SIGNALED’ undeclared (first use in this function)
rdma.c:1307: warning: excess elements in struct initializer
rdma.c:1307: warning: (near initialization for ‘wr’)
rdma.c:1305: error: storage size of ‘wr’ isn’t known
rdma.c:1321: error: invalid application of ‘sizeof’ to incomplete type ‘struct ibv_sge’ 
rdma.c:1331: error: invalid use of undefined type ‘struct ibv_sge’
rdma.c:1331: error: dereferencing pointer to incomplete type
rdma.c:1332: error: invalid use of undefined type ‘struct ibv_sge’
rdma.c:1332: error: dereferencing pointer to incomplete type
rdma.c:1333: error: invalid use of undefined type ‘struct ibv_sge’
rdma.c:1333: error: dereferencing pointer to incomplete type
rdma.c:1333: error: dereferencing pointer to incomplete type
rdma.c:1305: warning: unused variable ‘wr’
rdma.c: In function ‘rdma_destroy_cq’:
rdma.c:2003: warning: implicit declaration of function ‘ibv_destroy_cq’
rdma.c: In function ‘rdma_create_cq’:
rdma.c:2022: warning: implicit declaration of function ‘ibv_create_cq’
rdma.c:2026: warning: assignment makes pointer from integer without a cast
rdma.c:2033: warning: implicit declaration of function ‘ibv_req_notify_cq’
rdma.c:2047: warning: assignment makes pointer from integer without a cast
rdma.c: In function ‘__rdma_destroy_qp’:
rdma.c:2195: error: dereferencing pointer to incomplete type
rdma.c:2196: warning: implicit declaration of function ‘ibv_destroy_qp’
rdma.c: In function ‘rdma_create_qp’:
rdma.c:2214: error: variable ‘init_attr’ has initializer but incomplete type
rdma.c:2215: error: unknown field ‘send_cq’ specified in initializer
rdma.c:2215: warning: excess elements in struct initializer
rdma.c:2215: warning: (near initialization for ‘init_attr’)
rdma.c:2216: error: unknown field ‘recv_cq’ specified in initializer
rdma.c:2216: warning: excess elements in struct initializer
rdma.c:2216: warning: (near initialization for ‘init_attr’)
rdma.c:2217: error: unknown field ‘srq’ specified in initializer
rdma.c:2217: warning: excess elements in struct initializer
rdma.c:2217: warning: (near initialization for ‘init_attr’)
rdma.c:2218: error: unknown field ‘cap’ specified in initializer
rdma.c:2218: error: extra brace group at end of initializer
rdma.c:2218: error: (near initialization for ‘init_attr’)
rdma.c:2223: warning: excess elements in struct initializer
rdma.c:2223: warning: (near initialization for ‘init_attr’)
rdma.c:2224: error: unknown field ‘qp_type’ specified in initializer
rdma.c:2224: error: ‘IBV_QPT_RC’ undeclared (first use in this function)
rdma.c:2225: warning: excess elements in struct initializer
rdma.c:2225: warning: (near initialization for ‘init_attr’)
rdma.c:2214: error: storage size of ‘init_attr’ isn’t known
rdma.c:2227: error: variable ‘attr’ has initializer but incomplete type
rdma.c:2228: error: unknown field ‘qp_state’ specified in initializer
rdma.c:2228: error: ‘IBV_QPS_INIT’ undeclared (first use in this function)
rdma.c:2228: warning: excess elements in struct initializer
rdma.c:2228: warning: (near initialization for ‘attr’)
rdma.c:2229: error: unknown field ‘pkey_index’ specified in initializer
rdma.c:2229: warning: excess elements in struct initializer
rdma.c:2229: warning: (near initialization for ‘attr’)
rdma.c:2230: error: unknown field ‘port_num’ specified in initializer
rdma.c:2230: warning: excess elements in struct initializer
rdma.c:2230: warning: (near initialization for ‘attr’)
rdma.c:2231: error: unknown field ‘qp_access_flags’ specified in initializer
rdma.c:2232: error: ‘IBV_ACCESS_REMOTE_READ’ undeclared (first use in this function)
rdma.c:2232: error: ‘IBV_ACCESS_REMOTE_WRITE’ undeclared (first use in this function)
rdma.c:2233: warning: excess elements in struct initializer
rdma.c:2233: warning: (near initialization for ‘attr’)
rdma.c:2227: error: storage size of ‘attr’ isn’t known
rdma.c:2235: warning: implicit declaration of function ‘ibv_create_qp’
rdma.c:2235: warning: assignment makes pointer from integer without a cast
rdma.c:2243: warning: implicit declaration of function ‘ibv_modify_qp’
rdma.c:2244: error: ‘IBV_QP_STATE’ undeclared (first use in this function)
rdma.c:2245: error: ‘IBV_QP_PKEY_INDEX’ undeclared (first use in this function)
rdma.c:2246: error: ‘IBV_QP_PORT’ undeclared (first use in this function)
rdma.c:2247: error: ‘IBV_QP_ACCESS_FLAGS’ undeclared (first use in this function)
rdma.c:2258: error: dereferencing pointer to incomplete type
rdma.c:2261: error: dereferencing pointer to incomplete type
rdma.c:2227: warning: unused variable ‘attr’
rdma.c:2214: warning: unused variable ‘init_attr’
rdma.c: In function ‘rdma_connect_qp’:
rdma.c:2345: error: variable ‘attr’ has initializer but incomplete type
rdma.c:2346: error: unknown field ‘qp_state’ specified in initializer
rdma.c:2346: error: ‘IBV_QPS_RTR’ undeclared (first use in this function)
rdma.c:2346: warning: excess elements in struct initializer
rdma.c:2346: warning: (near initialization for ‘attr’)
rdma.c:2347: error: unknown field ‘path_mtu’ specified in initializer
rdma.c:2347: warning: excess elements in struct initializer
rdma.c:2347: warning: (near initialization for ‘attr’)
rdma.c:2348: error: unknown field ‘dest_qp_num’ specified in initializer
rdma.c:2348: warning: excess elements in struct initializer
rdma.c:2348: warning: (near initialization for ‘attr’)
rdma.c:2349: error: unknown field ‘rq_psn’ specified in initializer
rdma.c:2349: warning: excess elements in struct initializer
rdma.c:2349: warning: (near initialization for ‘attr’)
rdma.c:2350: error: unknown field ‘max_dest_rd_atomic’ specified in initializer
rdma.c:2350: warning: excess elements in struct initializer
rdma.c:2350: warning: (near initialization for ‘attr’)
rdma.c:2351: error: unknown field ‘min_rnr_timer’ specified in initializer
rdma.c:2351: warning: excess elements in struct initializer
rdma.c:2351: warning: (near initialization for ‘attr’)
rdma.c:2352: error: unknown field ‘qp_access_flags’ specified in initializer
rdma.c:2353: error: ‘IBV_ACCESS_REMOTE_READ’ undeclared (first use in this function)
rdma.c:2353: error: ‘IBV_ACCESS_REMOTE_WRITE’ undeclared (first use in this function)
rdma.c:2353: warning: excess elements in struct initializer
rdma.c:2353: warning: (near initialization for ‘attr’)
rdma.c:2354: error: unknown field ‘ah_attr’ specified in initializer
rdma.c:2354: error: extra brace group at end of initializer
rdma.c:2354: error: (near initialization for ‘attr’)
rdma.c:2360: warning: excess elements in struct initializer
rdma.c:2360: warning: (near initialization for ‘attr’)
rdma.c:2345: error: storage size of ‘attr’ isn’t known
rdma.c:2363: error: ‘IBV_QP_STATE’ undeclared (first use in this function)
rdma.c:2364: error: ‘IBV_QP_AV’ undeclared (first use in this function)
rdma.c:2365: error: ‘IBV_QP_PATH_MTU’ undeclared (first use in this function)
rdma.c:2366: error: ‘IBV_QP_DEST_QPN’ undeclared (first use in this function)
rdma.c:2367: error: ‘IBV_QP_RQ_PSN’ undeclared (first use in this function)
rdma.c:2368: error: ‘IBV_QP_MAX_DEST_RD_ATOMIC’ undeclared (first use in this function)
rdma.c:2369: error: ‘IBV_QP_MIN_RNR_TIMER’ undeclared (first use in this function)
rdma.c:2377: error: ‘IBV_QPS_RTS’ undeclared (first use in this function)
rdma.c:2385: error: ‘IBV_QP_TIMEOUT’ undeclared (first use in this function)
rdma.c:2386: error: ‘IBV_QP_RETRY_CNT’ undeclared (first use in this function)
rdma.c:2387: error: ‘IBV_QP_RNR_RETRY’ undeclared (first use in this function)
rdma.c:2388: error: ‘IBV_QP_SQ_PSN’ undeclared (first use in this function)
rdma.c:2389: error: ‘IBV_QP_MAX_QP_RD_ATOMIC’ undeclared (first use in this function)
rdma.c:2345: warning: unused variable ‘attr’
rdma.c: In function ‘__rdma_read’:
rdma.c:2880: error: variable ‘list’ has initializer but incomplete type
rdma.c:2880: warning: excess elements in struct initializer
rdma.c:2880: warning: (near initialization for ‘list’)
rdma.c:2880: error: storage size of ‘list’ isn’t known
rdma.c:2881: error: variable ‘wr’ has initializer but incomplete type
rdma.c:2881: warning: excess elements in struct initializer
rdma.c:2881: warning: (near initialization for ‘wr’)
rdma.c:2881: error: storage size of ‘wr’ isn’t known
rdma.c:2890: error: dereferencing pointer to incomplete type
rdma.c:2895: error: ‘IBV_WR_RDMA_READ’ undeclared (first use in this function)
rdma.c:2896: error: ‘IBV_SEND_SIGNALED’ undeclared (first use in this function)
rdma.c:2881: warning: unused variable ‘wr’
rdma.c:2880: warning: unused variable ‘list’
rdma.c: At top level:
rdma.c:3169: warning: ‘struct ibv_wc’ declared inside parameter list
rdma.c: In function ‘rdma_process_recv’:
rdma.c:3178: error: dereferencing pointer to incomplete type
rdma.c:3185: error: dereferencing pointer to incomplete type
rdma.c: In function ‘rdma_recv_completion_proc’:
rdma.c:3245: error: variable ‘wc’ has initializer but incomplete type
rdma.c:3245: warning: excess elements in struct initializer
rdma.c:3245: warning: (near initialization for ‘wc’)
rdma.c:3245: error: storage size of ‘wc’ isn’t known
rdma.c:3252: warning: implicit declaration of function ‘ibv_get_cq_event’
rdma.c:3273: warning: implicit declaration of function ‘ibv_poll_cq’
rdma.c:3293: error: ‘IBV_WC_SUCCESS’ undeclared (first use in this function)
rdma.c:3330: warning: implicit declaration of function ‘ibv_ack_cq_events’
rdma.c:3245: warning: unused variable ‘wc’
rdma.c: At top level:
rdma.c:3338: warning: ‘struct ibv_wc’ declared inside parameter list
rdma.c: In function ‘rdma_handle_failed_send_completion’:
rdma.c:3352: error: dereferencing pointer to incomplete type
rdma.c:3354: error: dereferencing pointer to incomplete type
rdma.c:3354: error: dereferencing pointer to incomplete type
rdma.c:3354: error: dereferencing pointer to incomplete type
rdma.c:3354: error: dereferencing pointer to incomplete type
rdma.c:3354: error: dereferencing pointer to incomplete type
rdma.c:3354: error: dereferencing pointer to incomplete type
rdma.c:3361: error: dereferencing pointer to incomplete type
rdma.c:3361: error: ‘IBV_WC_RETRY_EXC_ERR’ undeclared (first use in this function)
rdma.c: At top level:
rdma.c:3379: warning: ‘struct ibv_wc’ declared inside parameter list
rdma.c: In function ‘rdma_handle_successful_send_completion’:
rdma.c:3384: error: dereferencing pointer to incomplete type
rdma.c:3384: error: ‘IBV_WC_RDMA_READ’ undeclared (first use in this function)
rdma.c:3388: error: dereferencing pointer to incomplete type
rdma.c: In function ‘rdma_send_completion_proc’:
rdma.c:3415: error: variable ‘wc’ has initializer but incomplete type
rdma.c:3415: warning: excess elements in struct initializer
rdma.c:3415: warning: (near initialization for ‘wc’)
rdma.c:3415: error: storage size of ‘wc’ isn’t known
rdma.c:3459: error: ‘IBV_WC_SUCCESS’ undeclared (first use in this function)
rdma.c:3415: warning: unused variable ‘wc’
rdma.c: In function ‘rdma_options_init’:
rdma.c:3548: error: ‘IBV_MTU_2048’ undeclared (first use in this function)
rdma.c:3554: error: ‘IBV_MTU_256’ undeclared (first use in this function)
rdma.c:3556: error: ‘IBV_MTU_512’ undeclared (first use in this function)
rdma.c:3558: error: ‘IBV_MTU_1024’ undeclared (first use in this function)
rdma.c:3562: error: ‘IBV_MTU_4096’ undeclared (first use in this function)
rdma.c: In function ‘rdma_get_device’:
rdma.c:3676: warning: implicit declaration of function ‘ibv_create_comp_channel’
rdma.c:3676: warning: assignment makes pointer from integer without a cast
rdma.c:3685: warning: assignment makes pointer from integer without a cast
rdma.c:3701: warning: implicit declaration of function ‘ibv_alloc_pd’
rdma.c:3701: warning: assignment makes pointer from integer without a cast
rdma.c:3710: error: variable ‘attr’ has initializer but incomplete type
rdma.c:3711: error: unknown field ‘attr’ specified in initializer
rdma.c:3711: error: extra brace group at end of initializer
rdma.c:3711: error: (near initialization for ‘attr’)
rdma.c:3714: warning: excess elements in struct initializer
rdma.c:3714: warning: (near initialization for ‘attr’)
rdma.c:3710: error: storage size of ‘attr’ isn’t known
rdma.c:3716: warning: implicit declaration of function ‘ibv_create_srq’
rdma.c:3716: warning: assignment makes pointer from integer without a cast
rdma.c:3710: warning: unused variable ‘attr’
rdma.c: In function ‘rdma_init’:
rdma.c:3778: warning: implicit declaration of function ‘ibv_get_device_list’
rdma.c:3778: warning: assignment makes pointer from integer without a cast
rdma.c:3799: warning: implicit declaration of function ‘ibv_get_device_name’
rdma.c:3799: warning: passing argument 1 of ‘gf_strdup’ makes pointer from integer without a cast
../../../../libglusterfs/src/mem-pool.h:79: note: expected ‘const char *’ but argument is of type ‘int’
rdma.c:3811: warning: passing argument 1 of ‘strcmp’ makes pointer from integer without a cast
/usr/include/string.h:142: note: expected ‘const char *’ but argument is of type ‘int’
rdma.c:3812: warning: implicit declaration of function ‘ibv_open_device’
rdma.c:3812: warning: assignment makes pointer from integer without a cast
rdma.c:3876: warning: implicit declaration of function ‘ibv_close_device’
rdma.c:3880: warning: implicit declaration of function ‘ibv_free_device_list’
make[5]: *** [rdma.lo] Error 1
make[4]: *** [all-recursive] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
shehjart@indus:glusterfs$ 




Configure output:

shehjart@indus:glusterfs$ ./configure >/dev/null
shehjart@indus:glusterfs$ ./configure 
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
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 for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /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 for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking how to run the C preprocessor... gcc -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 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... yes
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 whether -lc should be explicitly linked in... no
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... yes
checking whether to build static libraries... yes
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 ld... /usr/bin/ld -m elf_x86_64
checking for pthread_mutex_init in -lpthread... yes
checking for dlopen... no
checking for dlopen in -ldl... yes
checking sys/xattr.h usability... yes
checking sys/xattr.h presence... yes
checking for sys/xattr.h... yes
checking sys/extattr.h usability... no
checking sys/extattr.h presence... no
checking for sys/extattr.h... no
checking for pthread_spin_init... yes
checking for strnlen... yes
checking for setfsuid... yes
checking for setfsgid... yes
checking sys/epoll.h usability... yes
checking sys/epoll.h presence... yes
checking for sys/epoll.h... yes
checking for ibv_get_device_list in -libverbs... no
checking execinfo.h usability... yes
checking execinfo.h presence... yes
checking for execinfo.h... yes
checking for malloc_stats... yes
checking for struct stat.st_atim.tv_nsec... yes
checking for struct stat.st_atimespec.tv_nsec... no
checking argp.h usability... yes
checking argp.h presence... yes
checking for argp.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for llistxattr... yes
checking for fdatasync... yes
checking for /etc/debian_version... yes
checking for /etc/SuSE-release... no
checking for /etc/redhat-release... no
checking for readline in -lreadline -lcurses... no
checking for readline in -lreadline -ltermcap... no
checking for readline in -lreadline -lncurses... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libglusterfs/Makefile
config.status: creating libglusterfs/src/Makefile
config.status: creating glusterfsd/Makefile
config.status: creating glusterfsd/src/Makefile
config.status: creating rpc/Makefile
config.status: creating rpc/rpc-lib/Makefile
config.status: creating rpc/rpc-lib/src/Makefile
config.status: creating rpc/rpc-transport/Makefile
config.status: creating rpc/rpc-transport/socket/Makefile
config.status: creating rpc/rpc-transport/socket/src/Makefile
config.status: creating rpc/rpc-transport/rdma/Makefile
config.status: creating rpc/rpc-transport/rdma/src/Makefile
config.status: creating rpc/xdr/Makefile
config.status: creating rpc/xdr/src/Makefile
config.status: creating xlators/Makefile
config.status: creating xlators/mount/Makefile
config.status: creating xlators/mount/fuse/Makefile
config.status: creating xlators/mount/fuse/src/Makefile
config.status: creating xlators/mount/fuse/utils/mount.glusterfs
config.status: creating xlators/mount/fuse/utils/mount_glusterfs
config.status: creating xlators/mount/fuse/utils/Makefile
config.status: creating xlators/storage/Makefile
config.status: creating xlators/storage/posix/Makefile
config.status: creating xlators/storage/posix/src/Makefile
config.status: creating xlators/cluster/Makefile
config.status: creating xlators/cluster/afr/Makefile
config.status: creating xlators/cluster/afr/src/Makefile
config.status: creating xlators/cluster/stripe/Makefile
config.status: creating xlators/cluster/stripe/src/Makefile
config.status: creating xlators/cluster/dht/Makefile
config.status: creating xlators/cluster/dht/src/Makefile
config.status: creating xlators/performance/Makefile
config.status: creating xlators/performance/write-behind/Makefile
config.status: creating xlators/performance/write-behind/src/Makefile
config.status: creating xlators/performance/read-ahead/Makefile
config.status: creating xlators/performance/read-ahead/src/Makefile
config.status: creating xlators/performance/io-threads/Makefile
config.status: creating xlators/performance/io-threads/src/Makefile
config.status: creating xlators/performance/io-cache/Makefile
config.status: creating xlators/performance/io-cache/src/Makefile
config.status: creating xlators/performance/symlink-cache/Makefile
config.status: creating xlators/performance/symlink-cache/src/Makefile
config.status: creating xlators/performance/quick-read/Makefile
config.status: creating xlators/performance/quick-read/src/Makefile
config.status: creating xlators/performance/stat-prefetch/Makefile
config.status: creating xlators/performance/stat-prefetch/src/Makefile
config.status: creating xlators/debug/Makefile
config.status: creating xlators/debug/trace/Makefile
config.status: creating xlators/debug/trace/src/Makefile
config.status: creating xlators/debug/error-gen/Makefile
config.status: creating xlators/debug/error-gen/src/Makefile
config.status: creating xlators/debug/io-stats/Makefile
config.status: creating xlators/debug/io-stats/src/Makefile
config.status: creating xlators/protocol/Makefile
config.status: creating xlators/protocol/legacy/Makefile
config.status: creating xlators/protocol/legacy/lib/Makefile
config.status: creating xlators/protocol/legacy/lib/src/Makefile
config.status: creating xlators/protocol/legacy/transport/Makefile
config.status: creating xlators/protocol/legacy/transport/socket/Makefile
config.status: creating xlators/protocol/legacy/transport/socket/src/Makefile
config.status: creating xlators/protocol/legacy/transport/ib-verbs/Makefile
config.status: creating xlators/protocol/legacy/transport/ib-verbs/src/Makefile
config.status: creating xlators/protocol/legacy/client/Makefile
config.status: creating xlators/protocol/legacy/client/src/Makefile
config.status: creating xlators/protocol/legacy/server/Makefile
config.status: creating xlators/protocol/legacy/server/src/Makefile
config.status: creating xlators/protocol/auth/Makefile
config.status: creating xlators/protocol/auth/addr/Makefile
config.status: creating xlators/protocol/auth/addr/src/Makefile
config.status: creating xlators/protocol/auth/login/Makefile
config.status: creating xlators/protocol/auth/login/src/Makefile
config.status: creating xlators/protocol/client/Makefile
config.status: creating xlators/protocol/client/src/Makefile
config.status: creating xlators/protocol/server/Makefile
config.status: creating xlators/protocol/server/src/Makefile
config.status: creating xlators/features/Makefile
config.status: creating xlators/features/locks/Makefile
config.status: creating xlators/features/locks/src/Makefile
config.status: creating xlators/features/trash/Makefile
config.status: creating xlators/features/trash/src/Makefile
config.status: creating xlators/features/quota/Makefile
config.status: creating xlators/features/quota/src/Makefile
config.status: creating xlators/features/read-only/Makefile
config.status: creating xlators/features/read-only/src/Makefile
config.status: creating xlators/features/mac-compat/Makefile
config.status: creating xlators/features/mac-compat/src/Makefile
config.status: creating xlators/encryption/Makefile
config.status: creating xlators/encryption/rot-13/Makefile
config.status: creating xlators/encryption/rot-13/src/Makefile
config.status: creating cli/Makefile
config.status: creating cli/src/Makefile
config.status: creating doc/Makefile
config.status: creating doc/examples/Makefile
config.status: creating doc/hacker-guide/Makefile
config.status: creating extras/Makefile
config.status: creating extras/glusterfs-defrag
config.status: creating extras/init.d/Makefile
config.status: creating extras/init.d/glusterfs-server.plist
config.status: creating extras/init.d/glusterfsd-Debian
config.status: creating extras/init.d/glusterfsd-Redhat
config.status: creating extras/init.d/glusterfsd-SuSE
config.status: creating extras/benchmarking/Makefile
config.status: creating extras/volgen/Makefile
config.status: creating extras/volgen/glusterfs-volgen
config.status: creating contrib/fuse-util/Makefile
config.status: creating xlators/features/access-control/Makefile
config.status: creating xlators/features/access-control/src/Makefile
config.status: creating xlators/nfs/Makefile
config.status: creating xlators/nfs/server/Makefile
config.status: creating xlators/nfs/server/src/Makefile
config.status: creating xlators/mgmt/Makefile
config.status: creating xlators/mgmt/glusterd/Makefile
config.status: creating xlators/mgmt/glusterd/src/Makefile
config.status: creating glusterfs.spec
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
=== configuring in argp-standalone (/home/shehjart/code/glusterfs/argp-standalone)
configure: running /bin/bash ./configure --disable-option-checking '--prefix=/usr/local'  --cache-file=/dev/null --srcdir=.
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
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... /bin/grep
checking for egrep... /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 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 make sets $(MAKE)... (cached) yes
checking for ranlib... ranlib
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 for ANSI C header files... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for unistd.h... (cached) yes
checking sysexits.h usability... yes
checking sysexits.h presence... yes
checking for sysexits.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for size_t... yes
checking for __attribute__... no
checking for working alloca.h... yes
checking for alloca... yes
checking for vprintf... yes
checking for _doprnt... no
checking for strerror... yes
checking for sleep... yes
checking for getpid... yes
checking for snprintf... yes
checking for mempcpy... yes
checking for strndup... yes
checking for strchrnul... yes
checking for strcasecmp... yes
checking for vsnprintf... yes
checking for putc_unlocked('x', stdout)... yes
checking for flockfile... yes
checking for fputs_unlocked... yes
checking for fwrite_unlocked... yes
checking for strdup... yes
checking for asprintf... yes
checking whether program_invocation_name is declared... yes
checking whether program_invocation_short_name is declared... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands

GlusterFS configure summary
===========================
FUSE client        : yes
Infiniband verbs   : no
epoll IO multiplex : yes
argp-standalone    : no
fusermount         : no
readline           : no

Comment 1 Amar Tumballi 2010-08-31 13:59:33 UTC
should be fixed by patch http://patches.gluster.com/patch/4409/

commit cd5d2fc036003eb0c1a7f91755d3f5aa327067b4
Author: Raghavendra G <raghavendra>
Date:   Tue Aug 31 03:20:29 2010 +0000


Closing the bug.


Note You need to log in before you can comment on or make changes to this bug.