[Pvfs2-users] Errors building 2.8.0

Steven Truelove truelove at array.ca
Tue Feb 17 14:04:25 EST 2009


Hi,

    I have tried to build pvfs2 2.8.0, and I have run into some build 
errors.  I am building on Ubuntu 8.04 with gcc 4.2.3.  Any help that can 
be offered would be very much appreciated.  The first set of errors were:

  CC            src/io/bmi/reference-list-server.o
src/io/bmi/reference-list.c: In function 'ref_list_search_str':
src/io/bmi/reference-list.c:134: warning: passing argument 2 of 
'qhash_search' 
d                                                                             
iscards qualifiers from pointer target type
  CC            src/io/bmi/bmi_ib/ib-server.o
In file included from ./src/io/bmi/bmi-method-support.h:14,
                 from src/io/bmi/bmi_ib/ib.c:21:
./src/common/quicklist/quicklist.h: In function 'qlist_exists':
./src/common/quicklist/quicklist.h:195: warning: declaration of 'link' 
shadows 
a                                                                              
global declaration
/usr/include/unistd.h:757: warning: shadowed declaration is here
src/io/bmi/bmi_ib/ib.c: In function 'ib_check_cq':
src/io/bmi/bmi_ib/ib.c:124: error: 'GOSSIP_BMI_DEBUG_IB' undeclared 
(first use 
i                                                                             
n this function)
src/io/bmi/bmi_ib/ib.c:124: error: (Each undeclared identifier is 
reported 
only                                                                              
once
src/io/bmi/bmi_ib/ib.c:124: error: for each function it appears in.)
src/io/bmi/bmi_ib/ib.c: In function 'post_rr':
src/io/bmi/bmi_ib/ib.c:295: error: 'GOSSIP_BMI_DEBUG_IB' undeclared 
(first use 
i                                                                             
n this function)
src/io/bmi/bmi_ib/ib.c: In function 'encourage_send_waiting_buffer':
src/io/bmi/bmi_ib/ib.c:312: error: 'GOSSIP_BMI_DEBUG_IB' undeclared 
(first use 
i                                                                             
n this function)
src/io/bmi/bmi_ib/ib.c: In function 'encourage_send_incoming_cts':
src/io/bmi/bmi_ib/ib.c:398: error: 'GOSSIP_BMI_DEBUG_IB' undeclared 
(first use 
i                                                                             
n this function)
src/io/bmi/bmi_ib/ib.c: In function 'encourage_recv_incoming':
src/io/bmi/bmi_ib/ib.c:485: error: 'GOSSIP_BMI_DEBUG_IB' undeclared 
(first use 
i                                                                             
n this function)
src/io/bmi/bmi_ib/ib.c: In function 'encourage_rts_done_waiting_buffer':
src/io/bmi/bmi_ib/ib.c:661: error: 'GOSSIP_BMI_DEBUG_IB' undeclared 
(first use 
i                                                                             
n this function)
src/io/bmi/bmi_ib/ib.c: In function 'send_bye':
src/io/bmi/bmi_ib/ib.c:687: error: 'GOSSIP_BMI_DEBUG_IB' undeclared 
(first use 
i                                                                             
n this function)
src/io/bmi/bmi_ib/ib.c: In function 'send_cts':
src/io/bmi/bmi_ib/ib.c:720: error: 'GOSSIP_BMI_DEBUG_IB' undeclared 
(first use 
i                                                                             
n this function)
src/io/bmi/bmi_ib/ib.c: In function 'post_send':
src/io/bmi/bmi_ib/ib.c:831: error: 'GOSSIP_BMI_DEBUG_IB' undeclared 
(first use 
i                                                                             
n this function)
src/io/bmi/bmi_ib/ib.c: In function 'post_recv':
src/io/bmi/bmi_ib/ib.c:969: error: 'GOSSIP_BMI_DEBUG_IB' undeclared 
(first use 
i                                                                             
n this function)
src/io/bmi/bmi_ib/ib.c: In function 'test_sq':
src/io/bmi/bmi_ib/ib.c:1097: error: 'GOSSIP_BMI_DEBUG_IB' undeclared 
(first 
use                                                                              
in this function)
src/io/bmi/bmi_ib/ib.c: In function 'test_rq':
src/io/bmi/bmi_ib/ib.c:1162: error: 'GOSSIP_BMI_DEBUG_IB' undeclared 
(first 
use                                                                              
in this function)
src/io/bmi/bmi_ib/ib.c: In function 'BMI_ib_testcontext':
src/io/bmi/bmi_ib/ib.c:1350: error: 'GOSSIP_BMI_DEBUG_IB' undeclared 
(first 
use                                                                              
in this function)
src/io/bmi/bmi_ib/ib.c: In function 'BMI_ib_testunexpected':
src/io/bmi/bmi_ib/ib.c:1392: error: 'GOSSIP_BMI_DEBUG_IB' undeclared 
(first 
use                                                                              
in this function)
src/io/bmi/bmi_ib/ib.c: In function 'ib_close_connection':
src/io/bmi/bmi_ib/ib.c:1689: error: 'GOSSIP_BMI_DEBUG_IB' undeclared 
(first 
use                                                                              
in this function)
src/io/bmi/bmi_ib/ib.c: In function 'ib_tcp_server_check_new_connections':
src/io/bmi/bmi_ib/ib.c:1837: error: 'GOSSIP_BMI_DEBUG_IB' undeclared 
(first 
use                                                                              
in this function)
src/io/bmi/bmi_ib/ib.c: In function 'ib_block_for_activity':
src/io/bmi/bmi_ib/ib.c:1873: error: 'GOSSIP_BMI_DEBUG_IB' undeclared 
(first 
use                                                                              
in this function)
src/io/bmi/bmi_ib/ib.c: In function 'BMI_ib_initialize':
src/io/bmi/bmi_ib/ib.c:1978: error: 'GOSSIP_BMI_DEBUG_IB' undeclared 
(first 
use                                                                              
in this function)
src/io/bmi/bmi_ib/ib.c: At top level:
src/io/bmi/bmi_ib/ib.c:2112: warning: initialization from incompatible 
pointer 
t                                                                             
ype
src/io/bmi/bmi_ib/ib.c:2113: warning: initialization from incompatible 
pointer 
t                                                                             
ype
src/io/bmi/bmi_ib/ib.c:2114: warning: initialization from incompatible 
pointer 
t                                                                             
ype
src/io/bmi/bmi_ib/ib.c:2120: warning: initialization from incompatible 
pointer 
t                                                                             
ype
src/io/bmi/bmi_ib/ib.c:2121: warning: initialization from incompatible 
pointer 
t                                                                             
ype
src/io/bmi/bmi_ib/ib.c:2122: warning: initialization from incompatible 
pointer 
t                                                                             
ype
make: *** [src/io/bmi/bmi_ib/ib-server.o] Error 1


I solved this by changing the #if 1 on line 456 of 
src/io/bmi/bmi_ib/ib.h to an #if 0.  Now I get these errors:

  CC            src/io/bmi/bmi_ib/util-server.o
In file included from src/io/bmi/bmi_ib/ib.h:12,
                 from src/io/bmi/bmi_ib/util.c:15:
./src/common/quicklist/quicklist.h: In function 'qlist_exists':
./src/common/quicklist/quicklist.h:195: warning: declaration of 'link' 
shadows a global declaration
/usr/include/unistd.h:757: warning: shadowed declaration is here
In file included from src/io/bmi/bmi_ib/util.c:15:
src/io/bmi/bmi_ib/ib.h: At top level:
src/io/bmi/bmi_ib/ib.h:254: error: expected '{' before ',' token
src/io/bmi/bmi_ib/ib.h:254: warning: type defaults to 'int' in 
declaration of 'type name'
src/io/bmi/bmi_ib/ib.h:255: error: expected declaration specifiers or 
'...' before 'credit'
src/io/bmi/bmi_ib/ib.h:255: warning: data definition has no type or 
storage class
src/io/bmi/bmi_ib/ib.h:255: warning: type defaults to 'int' in 
declaration of 'endecode_fields_2'
src/io/bmi/bmi_ib/ib.h:266: error: expected '{' before ',' token
src/io/bmi/bmi_ib/ib.h:266: warning: type defaults to 'int' in 
declaration of 'type name'
src/io/bmi/bmi_ib/ib.h:267: error: expected declaration specifiers or 
'...' before 'c'
src/io/bmi/bmi_ib/ib.h:268: error: expected declaration specifiers or 
'...' before 'bmi_tag'
src/io/bmi/bmi_ib/ib.h:269: error: expected declaration specifiers or 
'...' before '__pad'
src/io/bmi/bmi_ib/ib.h:269: warning: data definition has no type or 
storage class
src/io/bmi/bmi_ib/ib.h:269: warning: type defaults to 'int' in 
declaration of 'endecode_fields_4'
src/io/bmi/bmi_ib/ib.h:282: error: expected '{' before ',' token
src/io/bmi/bmi_ib/ib.h:282: warning: type defaults to 'int' in 
declaration of 'type name'
src/io/bmi/bmi_ib/ib.h:283: error: expected declaration specifiers or 
'...' before 'c'
src/io/bmi/bmi_ib/ib.h:284: error: expected declaration specifiers or 
'...' before 'bmi_tag'
src/io/bmi/bmi_ib/ib.h:285: error: expected declaration specifiers or 
'...' before '__pad'
src/io/bmi/bmi_ib/ib.h:286: error: expected declaration specifiers or 
'...' before 'mop_id'
src/io/bmi/bmi_ib/ib.h:287: error: expected declaration specifiers or 
'...' before 'tot_len'
src/io/bmi/bmi_ib/ib.h:287: warning: data definition has no type or 
storage class
src/io/bmi/bmi_ib/ib.h:287: warning: type defaults to 'int' in 
declaration of 'endecode_fields_6'
src/io/bmi/bmi_ib/ib.h:306: error: expected '{' before ',' token
src/io/bmi/bmi_ib/ib.h:306: warning: type defaults to 'int' in 
declaration of 'type name'
src/io/bmi/bmi_ib/ib.h:307: error: expected declaration specifiers or 
'...' before 'c'
src/io/bmi/bmi_ib/ib.h:308: error: expected declaration specifiers or 
'...' before 'rts_mop_id'
src/io/bmi/bmi_ib/ib.h:309: error: expected declaration specifiers or 
'...' before 'buflist_tot_len'
src/io/bmi/bmi_ib/ib.h:310: error: expected declaration specifiers or 
'...' before 'buflist_num'
src/io/bmi/bmi_ib/ib.h:310: warning: data definition has no type or 
storage class
src/io/bmi/bmi_ib/ib.h:310: warning: type defaults to 'int' in 
declaration of 'endecode_fields_5'
src/io/bmi/bmi_ib/ib.h:321: error: expected '{' before ',' token
src/io/bmi/bmi_ib/ib.h:321: warning: type defaults to 'int' in 
declaration of 'type name'
src/io/bmi/bmi_ib/ib.h:322: error: expected declaration specifiers or 
'...' before 'c'
src/io/bmi/bmi_ib/ib.h:323: error: expected declaration specifiers or 
'...' before 'mop_id'
src/io/bmi/bmi_ib/ib.h:323: warning: data definition has no type or 
storage class
src/io/bmi/bmi_ib/ib.h:323: warning: type defaults to 'int' in 
declaration of 'endecode_fields_3'
src/io/bmi/bmi_ib/ib.h:419: warning: 'enum PVFS_io_type' declared inside 
parameter list
src/io/bmi/bmi_ib/ib.h:419: warning: its scope is only this definition 
or declaration, which is probably not what you want
make: *** [src/io/bmi/bmi_ib/util-server.o] Error 1

-- 
Steven Truelove
Array Systems Computing, Inc.
1120 Finch Avenue West, 7th Floor
Toronto, Ontario
M3J 3H7
CANADA
http://www.array.ca
truelove at array.ca
Phone: (416) 736-0900 x307
Fax: (416) 736-4715



More information about the Pvfs2-users mailing list