Comments (3)
Before building filemq, make sure you build/install libzmq and then czmq.
On Mon, Sep 29, 2014 at 10:57 PM, tzhang27 [email protected] wrote:
Hello,
when I run "make check", I got the following error. Would you please help
me with that?
I got the same error on OS X and Scientific Linux.
ThanksIn file included from fmq_msg.c:43:0:
../include/fmq_msg.h:115:21: error: unknown type name 'zmsg_t'
../include/fmq_msg.h:119:1: error: unknown type name 'zmsg_t'
../include/fmq_msg.h:141:1: error: unknown type name 'zmsg_t'
../include/fmq_msg.h:146:1: error: unknown type name 'zmsg_t'
../include/fmq_msg.h:151:1: error: unknown type name 'zmsg_t'
../include/fmq_msg.h:154:9: error: unknown type name 'zhash_t'
../include/fmq_msg.h:155:9: error: unknown type name 'zhash_t'
../include/fmq_msg.h:158:1: error: unknown type name 'zmsg_t'
../include/fmq_msg.h:163:1: error: unknown type name 'zmsg_t'
../include/fmq_msg.h:165:9: error: unknown type name 'uint64_t'
../include/fmq_msg.h:166:9: error: unknown type name 'uint64_t'
../include/fmq_msg.h:169:1: error: unknown type name 'zmsg_t'
../include/fmq_msg.h:171:9: error: unknown type name 'uint64_t'
../include/fmq_msg.h:172:9: error: unknown type name 'byte'
../include/fmq_msg.h:174:9: error: unknown type name 'uint64_t'
../include/fmq_msg.h:175:9: error: unknown type name 'byte'
../include/fmq_msg.h:176:9: error: unknown type name 'zhash_t'
../include/fmq_msg.h:177:9: error: unknown type name 'zchunk_t'
../include/fmq_msg.h:180:1: error: unknown type name 'zmsg_t'
../include/fmq_msg.h:185:1: error: unknown type name 'zmsg_t'
../include/fmq_msg.h:190:1: error: unknown type name 'zmsg_t'
../include/fmq_msg.h:195:1: error: unknown type name 'zmsg_t'
../include/fmq_msg.h:200:1: error: unknown type name 'zmsg_t'
../include/fmq_msg.h:220:9: error: unknown type name 'zhash_t'
../include/fmq_msg.h:221:9: error: unknown type name 'zhash_t'
../include/fmq_msg.h:232:9: error: unknown type name 'uint64_t'
../include/fmq_msg.h:233:9: error: unknown type name 'uint64_t'
../include/fmq_msg.h:239:9: error: unknown type name 'uint64_t'
../include/fmq_msg.h:240:9: error: unknown type name 'byte'
../include/fmq_msg.h:242:9: error: unknown type name 'uint64_t'
../include/fmq_msg.h:243:9: error: unknown type name 'byte'
../include/fmq_msg.h:244:9: error: unknown type name 'zhash_t'
../include/fmq_msg.h:245:9: error: unknown type name 'zchunk_t'
../include/fmq_msg.h:283:1: error: unknown type name 'zframe_t'
../include/fmq_msg.h:286:46: error: unknown type name 'zframe_t'
../include/fmq_msg.h:303:1: error: unknown type name 'zhash_t'
../include/fmq_msg.h:306:1: error: unknown type name 'zhash_t'
../include/fmq_msg.h:310:43: error: unknown type name 'zhash_t'
../include/fmq_msg.h:316:1: error: unknown type name 'uint64_t'
../include/fmq_msg.h:318:26: error: unknown type name 'uint64_t'
../include/fmq_msg.h:322:1: error: unknown type name 'size_t'
../include/fmq_msg.h:326:1: error: unknown type name 'zhash_t'
../include/fmq_msg.h:329:1: error: unknown type name 'zhash_t'
../include/fmq_msg.h:333:41: error: unknown type name 'zhash_t'
../include/fmq_msg.h:339:1: error: unknown type name 'uint64_t'
../include/fmq_msg.h:341:26: error: unknown type name 'uint64_t'
../include/fmq_msg.h:345:1: error: unknown type name 'size_t'
../include/fmq_msg.h:349:1: error: unknown type name 'uint64_t'
../include/fmq_msg.h:352:42: error: unknown type name 'uint64_t'
../include/fmq_msg.h:355:1: error: unknown type name 'uint64_t'
../include/fmq_msg.h:358:44: error: unknown type name 'uint64_t'
../include/fmq_msg.h:361:1: error: unknown type name 'byte'
../include/fmq_msg.h:364:45: error: unknown type name 'byte'
../include/fmq_msg.h:373:1: error: unknown type name 'uint64_t'
../include/fmq_msg.h:376:42: error: unknown type name 'uint64_t'
../include/fmq_msg.h:379:1: error: unknown type name 'byte'
../include/fmq_msg.h:382:39: error: unknown type name 'byte'
../include/fmq_msg.h:385:1: error: unknown type name 'zhash_t'
../include/fmq_msg.h:388:1: error: unknown type name 'zhash_t'
../include/fmq_msg.h:392:43: error: unknown type name 'zhash_t'
../include/fmq_msg.h:398:1: error: unknown type name 'uint64_t'
../include/fmq_msg.h:400:26: error: unknown type name 'uint64_t'
../include/fmq_msg.h:404:1: error: unknown type name 'size_t'
../include/fmq_msg.h:408:1: error: unknown type name 'zchunk_t'
../include/fmq_msg.h:411:1: error: unknown type name 'zchunk_t'
../include/fmq_msg.h:415:41: error: unknown type name 'zchunk_t'
../include/fmq_msg.h:425:19: error: unknown type name 'bool'
fmq_msg.c:48:5: error: unknown type name 'zframe_t'
fmq_msg.c:50:5: error: unknown type name 'byte'
fmq_msg.c:51:5: error: unknown type name 'byte'
fmq_msg.c:53:5: error: unknown type name 'uint16_t'
fmq_msg.c:55:5: error: unknown type name 'zhash_t'
fmq_msg.c:56:5: error: unknown type name 'size_t'
fmq_msg.c:57:5: error: unknown type name 'zhash_t'
fmq_msg.c:58:5: error: unknown type name 'size_t'
fmq_msg.c:59:5: error: unknown type name 'uint64_t'
fmq_msg.c:60:5: error: unknown type name 'uint64_t'
fmq_msg.c:61:5: error: unknown type name 'byte'
fmq_msg.c:63:5: error: unknown type name 'uint64_t'
fmq_msg.c:64:5: error: unknown type name 'byte'
fmq_msg.c:65:5: error: unknown type name 'zhash_t'
fmq_msg.c:66:5: error: unknown type name 'size_t'
fmq_msg.c:67:5: error: unknown type name 'zchunk_t'
fmq_msg.c: In function 'fmq_msg_new':
fmq_msg.c:213:5: error: implicit declaration of function 'zmalloc'
[-Werror=implicit-function-declaration]
fmq_msg.c:213:23: error: cast to pointer from integer of different size
[-Werror=int-to-pointer-cast]
fmq_msg.c: In function 'fmq_msg_destroy':
fmq_msg.c:225:5: error: implicit declaration of function 'assert'
[-Werror=implicit-function-declaration]
fmq_msg.c:230:9: error: implicit declaration of function 'zframe_destroy'
[-Werror=implicit-function-declaration]
fmq_msg.c:231:9: error: implicit declaration of function 'free'
[-Werror=implicit-function-declaration]
fmq_msg.c:231:9: error: incompatible implicit declaration of built-in
function 'free' [-Werror]
fmq_msg.c:233:9: error: implicit declaration of function 'zhash_destroy'
[-Werror=implicit-function-declaration]
fmq_msg.c:237:9: error: implicit declaration of function 'zchunk_destroy'
[-Werror=implicit-function-declaration]
fmq_msg.c:242:19: error: 'NULL' undeclared (first use in this function)
fmq_msg.c:242:19: note: each undeclared identifier is reported only once
for each function it appears in
fmq_msg.c: At top level:
fmq_msg.c:253:17: error: unknown type name 'zmsg_t'
fmq_msg.c:400:1: error: unknown type name 'zmsg_t'
fmq_msg.c: In function 'fmq_msg_encode':
fmq_msg.c:407:5: error: unknown type name 'zmsg_t'
fmq_msg.c:407:5: error: implicit declaration of function 'zmsg_new'
[-Werror=implicit-function-declaration]
fmq_msg.c:407:19: error: initialization makes pointer from integer without
a cast [-Werror]
fmq_msg.c:409:5: error: unknown type name 'size_t'
fmq_msg.c:413:13: error: implicit declaration of function 'strlen'
[-Werror=implicit-function-declaration]
fmq_msg.c:413:31: error: incompatible implicit declaration of built-in
function 'strlen' [-Werror]
fmq_msg.c:431:17: error: implicit declaration of function 'zhash_first'
[-Werror=implicit-function-declaration]
fmq_msg.c:431:30: error: cast to pointer from integer of different size
[-Werror=int-to-pointer-cast]
fmq_msg.c:433:21: error: implicit declaration of function 'zhash_cursor'
[-Werror=implicit-function-declaration]
fmq_msg.c:433:21: error: passing argument 1 of 'strlen' makes pointer from
integer without a cast [-Werror]
fmq_msg.c:433:21: note: expected 'const char' but argument is of type 'int' fmq_msg.c:435:21: error: implicit
declaration of function 'zhash_next'
[-Werror=implicit-function-declaration] fmq_msg.c:435:28: error: cast to
pointer from integer of different size [-Werror=int-to-pointer-cast]
fmq_msg.c:444:30: error: cast to pointer from integer of different size
[-Werror=int-to-pointer-cast] fmq_msg.c:446:21: error: passing argument 1
of 'strlen' makes pointer from integer without a cast [-Werror]
fmq_msg.c:446:21: note: expected 'const char ' but argument is of type
'int' fmq_msg.c:448:28: error: cast to pointer from integer of different
size [-Werror=int-to-pointer-cast] fmq_msg.c:482:30: error: cast to pointer
from integer of different size [-Werror=int-to-pointer-cast]
fmq_msg.c:484:21: error: passing argument 1 of 'strlen' makes pointer from
integer without a cast [-Werror] fmq_msg.c:484:21: note: expected 'const
char *' but argument is of type 'int' fmq_msg.c:486:28: error: cast to
pointer from integer of different size [-Werror=int-to-pointer-cast]
fmq_msg.c:493:17: error: implicit declaration of function 'zchunk_size'
[-Werror=implicit-function-declaration] fmq_msg.c:520:13: error: implicit
declaration of function 'zsys_error'
[-Werror=implicit-function-declaration] fmq_msg.c:522:21: error: 'false'
undeclared (first use in this function) fmq_msg.c:525:5: error: unknown
type name 'zframe_t' fmq_msg.c:525:5: error: implicit declaration of
function 'zframe_new' [-Werror=implicit-function-declaration]
fmq_msg.c:525:35: error: 'NULL' undeclared (first use in this function)
fmq_msg.c:526:5: error: implicit declaration of function 'zframe_data'
[-Werror=implicit-function-declaration] fmq_msg.c:526:18: error: assignment
makes pointer from integer without a cast [-Werror] fmq_msg.c:527:5: error:
'byte' undeclared (first use in this function) fmq_msg.c:528:5: error:
expected expression before ')' token fmq_msg.c:532:13: error: unknown type
name 'size_t' fmq_msg.c:532:13: error: incompatible implicit declaration of
built-in function 'strlen' [-Werror] fmq_msg.c:532:13: error: expected
expression before ')' token fmq_msg.c:532:13: error: implicit declaration
of function 'memcpy' [-Werror=implicit-function-declaration]
fmq_msg.c:532:13: error: incompatible implicit declaration of built-in
function 'memcpy' [-Werror] fmq_msg.c:541:17: error: unknown type name
'size_t' fmq_msg.c:541:17: error: incompatible implicit declaration of
built-in function 'strlen' [-Werror] fmq_msg.c:541:17: error: expected
expression before ')' token fmq_msg.c:541:17: error: incompatible implicit
declaration of built-in function 'memcpy' [-Werror] fmq_msg.c:544:17:
error: expected expression before ')' token fmq_msg.c:546:17: error:
implicit declaration of function 'zhash_size'
[-Werror=implicit-function-declaration] fmq_msg.c:547:30: error: cast to
pointer from integer of different size [-Werror=int-to-pointer-cast]
fmq_msg.c:549:21: error: unknown type name 'size_t' fmq_msg.c:549:21:
error: incompatible implicit declaration of built-in function 'strlen'
[-Werror] fmq_msg.c:549:21: error: passing argument 1 of 'strlen' makes
pointer from integer without a cast [-Werror] fmq_msg.c:549:21: note:
expected 'const char *' but argument is of type 'int' fmq_msg.c:549:21:
error: expected expression before ')' token fmq_msg.c:549:21: error:
incompatible implicit declaration of built-in function 'memcpy' [-Werror]
fmq_msg.c:549:21: error: passing argument 2 of 'memcpy' makes pointer from
integer without a cast [-Werror] fmq_msg.c:549:21: note: expected 'const
void *' but argument is of type 'int' fmq_msg.c:550:21: error: unknown type
name 'size_t' fmq_msg.c:550:21: error: incompatible implicit declaration of
built-in function 'strlen' [-Werror] fmq_msg.c:550:21: error: incompatible
implicit declaration of built-in function 'memcpy' [-Werror]
fmq_msg.c:551:28: error: cast to pointer from integer of different size
[-Werror=int-to-pointer-cast] fmq_msg.c:558:30: error: cast to pointer from
integer of different size [-Werror=int-to-pointer-cast] fmq_msg.c:560:21:
error: unknown type name 'size_t' fmq_msg.c:560:21: error: incompatible
implicit declaration of built-in function 'strlen' [-Werror]
fmq_msg.c:560:21: error: passing argument 1 of 'strlen' makes pointer from
integer without a cast [-Werror] fmq_msg.c:560:21: note: expected 'const
char *' but argument is of type 'int' fmq_msg.c:560:21: error: expected
expression before ')' token fmq_msg.c:560:21: error: incompatible implicit
declaration of built-in function 'memcpy' [-Werror] fmq_msg.c:560:21:
error: passing argument 2 of 'memcpy' makes pointer from integer without a
cast [-Werror] fmq_msg.c:560:21: note: expected 'const void *' but argument
is of type 'int' fmq_msg.c:561:21: error: unknown type name 'size_t'
fmq_msg.c:561:21: error: incompatible implicit declaration of built-in
function 'strlen' [-Werror] fmq_msg.c:561:21: error: incompatible implicit
declaration of built-in function 'memcpy' [-Werror] fmq_msg.c:562:28:
error: cast to pointer from integer of different size
[-Werror=int-to-pointer-cast] fmq_msg.c:573:13: error: right shift count >=
width of type [-Werror] fmq_msg.c:573:13: error: right shift count >= width
of type [-Werror] fmq_msg.c:573:13: error: right shift count >= width of
type [-Werror] fmq_msg.c:573:13: error: right shift count >= width of type
[-Werror] fmq_msg.c:574:13: error: right shift count >= width of type
[-Werror] fmq_msg.c:574:13: error: right shift count >= width of type
[-Werror] fmq_msg.c:574:13: error: right shift count >= width of type
[-Werror] fmq_msg.c:574:13: error: right shift count >= width of type
[-Werror] fmq_msg.c:578:13: error: right shift count >= width of type
[-Werror] fmq_msg.c:578:13: error: right shift count >= width of type
[-Werror] fmq_msg.c:578:13: error: right shift count >= width of type
[-Werror] fmq_msg.c:578:13: error: right shift count >= width of type
[-Werror] fmq_msg.c:579:13: error: expected expression before ')' token
fmq_msg.c:581:17: error: unknown type name 'size_t' fmq_msg.c:581:17:
error: incompatible implicit declaration of built-in function 'strlen'
[-Werror] fmq_msg.c:581:17: error: expected expression before ')' token
fmq_msg.c:581:17: error: incompatible implicit declaration of built-in
function 'memcpy' [-Werror] fmq_msg.c:584:17: error: expected expression
before ')' token fmq_msg.c:585:13: error: right shift count >= width of
type [-Werror] fmq_msg.c:585:13: error: right shift count >= width of type
[-Werror] fmq_msg.c:585:13: error: right shift count >= width of type
[-Werror] fmq_msg.c:585:13: error: right shift count >= width of type
[-Werror] fmq_msg.c:586:13: error: expected expression before ')' token
fmq_msg.c:589:30: error: cast to pointer from integer of different size
[-Werror=int-to-pointer-cast] fmq_msg.c:591:21: error: unknown type name
'size_t' fmq_msg.c:591:21: error: incompatible implicit declaration of
built-in function 'strlen' [-Werror] fmq_msg.c:591:21: error: passing
argument 1 of 'strlen' makes pointer from integer without a cast [-Werror]
fmq_msg.c:591:21: note: expected 'const char *' but argument is of type
'int' fmq_msg.c:591:21: error: expected expression before ')' token
fmq_msg.c:591:21: error: incompatible implicit declaration of built-in
function 'memcpy' [-Werror] fmq_msg.c:591:21: error: passing argument 2 of
'memcpy' makes pointer from integer without a cast [-Werror]
fmq_msg.c:591:21: note: expected 'const void *' but argument is of type
'int' fmq_msg.c:592:21: error: unknown type name 'size_t' fmq_msg.c:592:21:
error: incompatible implicit declaration of built-in function 'strlen'
[-Werror] fmq_msg.c:592:21: error: incompatible implicit declaration of
built-in function 'memcpy' [-Werror] fmq_msg.c:593:28: error: cast to
pointer from integer of different size [-Werror=int-to-pointer-cast]
fmq_msg.c:600:17: error: incompatible implicit declaration of built-in
function 'memcpy' [-Werror] fmq_msg.c:601:25: error: implicit declaration
of function 'zchunk_data' [-Werror=implicit-function-declaration]
fmq_msg.c:602:25: error: passing argument 2 of 'memcpy' makes pointer from
integer without a cast [-Werror] fmq_msg.c:602:25: note: expected 'const
void *' but argument is of type 'int' fmq_msg.c:620:17: error: unknown type
name 'size_t' fmq_msg.c:620:17: error: incompatible implicit declaration of
built-in function 'strlen' [-Werror] fmq_msg.c:620:17: error: expected
expression before ')' token fmq_msg.c:620:17: error: incompatible implicit
declaration of built-in function 'memcpy' [-Werror] fmq_msg.c:623:17:
error: expected expression before ')' token fmq_msg.c:628:17: error:
unknown type name 'size_t' fmq_msg.c:628:17: error: incompatible implicit
declaration of built-in function 'strlen' [-Werror] fmq_msg.c:628:17:
error: expected expression before ')' token fmq_msg.c:628:17: error:
incompatible implicit declaration of built-in function 'memcpy' [-Werror]
fmq_msg.c:631:17: error: expected expression before ')' token
fmq_msg.c:636:5: error: implicit declaration of function 'zmsg_append'
[-Werror=implicit-function-declaration] fmq_msg.c:637:9: error: implicit
declaration of function 'zmsg_destroy'
[-Werror=implicit-function-declaration] fmq_msg.c: In function
'fmq_msg_recv': fmq_msg.c:655:5: error: unknown type name 'zmsg_t'
fmq_msg.c:655:5: error: implicit declaration of function 'zmsg_recv'
[-Werror=implicit-function-declaration] fmq_msg.c:655:19: error:
initialization makes pointer from integer without a cast [-Werror]
fmq_msg.c:657:5: error: unknown type name 'zframe_t' fmq_msg.c:657:28:
error: 'NULL' undeclared (first use in this function) fmq_msg.c:658:5:
error: implicit declaration of function 'zsocket_type'
[-Werror=implicit-function-declaration] fmq_msg.c:658:5: error: implicit
declaration of function 'zsock_resolve'
[-Werror=implicit-function-declaration] fmq_msg.c:658:49: error:
'ZMQ_ROUTER' undeclared (first use in this function) fmq_msg.c:659:9:
error: implicit declaration of function 'zmsg_pop'
[-Werror=implicit-function-declaration] fmq_msg.c:659:20: error: assignment
makes pointer from integer without a cast [-Werror] fmq_msg.c:661:9: error:
implicit declaration of function 'zmsg_next'
[-Werror=implicit-function-declaration] fmq_msg.c:664:5: error: implicit
declaration of function 'fmq_msg_decode'
[-Werror=implicit-function-declaration] fmq_msg.c:664:26: error:
initialization makes pointer from integer without a cast [-Werror]
fmq_msg.c: In function 'fmq_msg_recv_nowait': fmq_msg.c:680:5: error:
unknown type name 'zmsg_t' fmq_msg.c:680:5: error: implicit declaration of
function 'zmsg_recv_nowait' [-Werror=implicit-function-declaration]
fmq_msg.c:680:19: error: initialization makes pointer from integer without
a cast [-Werror] fmq_msg.c:682:5: error: unknown type name 'zframe_t'
fmq_msg.c:682:28: error: 'NULL' undeclared (first use in this function)
fmq_msg.c:683:49: error: 'ZMQ_ROUTER' undeclared (first use in this
function) fmq_msg.c:684:20: error: assignment makes pointer from integer
without a cast [-Werror] fmq_msg.c:689:26: error: initialization makes
pointer from integer without a cast [-Werror] fmq_msg.c: In function
'fmq_msg_send': fmq_msg.c:710:5: error: unknown type name 'zframe_t'
fmq_msg.c:711:24: error: 'NULL' undeclared (first use in this function)
fmq_msg.c:714:5: error: unknown type name 'zmsg_t' fmq_msg.c:717:50: error:
'ZMQ_ROUTER' undeclared (first use in this function) fmq_msg.c:719:9:
error: implicit declaration of function 'zmsg_prepend'
[-Werror=implicit-function-declaration] fmq_msg.c:724:5: error: implicit
declaration of function 'zmsg_send' [-Werror=implicit-function-declaration]
fmq_msg.c: At top level: fmq_msg.c:747:1: error: unknown type name 'zmsg_t'
fmq_msg.c:759:1: error: unknown type name 'zmsg_t' fmq_msg.c:771:1: error:
unknown type name 'zmsg_t' fmq_msg.c:774:5: error: unknown type name
'zhash_t' fmq_msg.c:775:5: error: unknown type name 'zhash_t'
fmq_msg.c:790:1: error: unknown type name 'zmsg_t' fmq_msg.c:802:1: error:
unknown type name 'zmsg_t' fmq_msg.c:804:5: error: unknown type name
'uint64_t' fmq_msg.c:805:5: error: unknown type name 'uint64_t'
fmq_msg.c:817:1: error: unknown type name 'zmsg_t' fmq_msg.c:819:5: error:
unknown type name 'uint64_t' fmq_msg.c:820:5: error: unknown type name
'byte' fmq_msg.c:822:5: error: unknown type name 'uint64_t'
fmq_msg.c:823:5: error: unknown type name 'byte' fmq_msg.c:824:5: error:
unknown type name 'zhash_t' fmq_msg.c:825:5: error: unknown type name
'zchunk_t' fmq_msg.c:844:1: error: unknown type name 'zmsg_t'
fmq_msg.c:856:1: error: unknown type name 'zmsg_t' fmq_msg.c:868:1: error:
unknown type name 'zmsg_t' fmq_msg.c:880:1: error: unknown type name
'zmsg_t' fmq_msg.c:893:1: error: unknown type name 'zmsg_t'
fmq_msg.c:934:5: error: unknown type name 'zhash_t' fmq_msg.c:935:5: error:
unknown type name 'zhash_t' fmq_msg.c:965:5: error: unknown type name
'uint64_t' fmq_msg.c:966:5: error: unknown type name 'uint64_t'
fmq_msg.c:981:5: error: unknown type name 'uint64_t' fmq_msg.c:982:5:
error: unknown type name 'byte' fmq_msg.c:984:5: error: unknown type name
'uint64_t' fmq_msg.c:985:5: error: unknown type name 'byte'
fmq_msg.c:986:5: error: unknown type name 'zhash_t' fmq_msg.c:987:5: error:
unknown type name 'zchunk_t' fmq_msg.c: In function 'fmq_msg_dup':
fmq_msg.c:1074:16: error: 'NULL' undeclared (first use in this function)
fmq_msg.c:1078:9: error: implicit declaration of function 'zframe_dup'
[-Werror=implicit-function-declaration] fmq_msg.c:1078:26: error:
assignment makes pointer from integer without a cast [-Werror]
fmq_msg.c:1081:13: error: implicit declaration of function 'strdup'
[-Werror=implicit-function-declaration] fmq_msg.c:1081:46: error:
incompatible implicit declaration of built-in function 'strdup' [-Werror]
fmq_msg.c:1090:13: error: implicit declaration of function 'zhash_dup'
[-Werror=implicit-function-declaration] fmq_msg.c:1109:13: error: implicit
declaration of function 'zchunk_dup'
[-Werror=implicit-function-declaration] fmq_msg.c: In function
'fmq_msg_print': fmq_msg.c:1143:13: error: implicit declaration of function
'zsys_debug' [-Werror=implicit-function-declaration] fmq_msg.c:1160:30:
error: cast to pointer from integer of different size
[-Werror=int-to-pointer-cast] fmq_msg.c:1163:28: error: cast to pointer
from integer of different size [-Werror=int-to-pointer-cast]
fmq_msg.c:1170:30: error: cast to pointer from integer of different size
[-Werror=int-to-pointer-cast] fmq_msg.c:1173:28: error: cast to pointer
from integer of different size [-Werror=int-to-pointer-cast]
fmq_msg.c:1202:30: error: cast to pointer from integer of different size
[-Werror=int-to-pointer-cast] fmq_msg.c:1205:28: error: cast to pointer
from integer of different size [-Werror=int-to-pointer-cast] fmq_msg.c: At
top level: fmq_msg.c:1248:1: error: unknown type name 'zframe_t'
fmq_msg.c:1256:42: error: unknown type name 'zframe_t' fmq_msg.c: In
function 'fmq_msg_set_path': fmq_msg.c:1340:5: error: unknown type name
'va_list' fmq_msg.c:1341:5: error: implicit declaration of function
'va_start' [-Werror=implicit-function-declaration] fmq_msg.c:1342:5: error:
incompatible implicit declaration of built-in function 'free' [-Werror]
fmq_msg.c:1343:5: error: implicit declaration of function 'zsys_vprintf'
[-Werror=implicit-function-declaration] fmq_msg.c:1343:16: error:
assignment makes pointer from integer without a cast [-Werror]
fmq_msg.c:1344:5: error: implicit declaration of function 'va_end'
[-Werror=implicit-function-declaration] fmq_msg.c: At top level:
fmq_msg.c:1351:1: error: unknown type name 'zhash_t' fmq_msg.c:1360:1:
error: unknown type name 'zhash_t' fmq_msg.c: In function
'fmq_msg_get_options': fmq_msg.c:1363:5: error: unknown type name 'zhash_t'
fmq_msg.c:1364:21: error: 'NULL' undeclared (first use in this function)
fmq_msg.c: At top level: fmq_msg.c:1371:39: error: unknown type name
'zhash_t' fmq_msg.c: In function 'fmq_msg_options_string':
fmq_msg.c:1387:25: error: 'NULL' undeclared (first use in this function)
fmq_msg.c:1389:9: error: implicit declaration of function 'zhash_lookup'
[-Werror=implicit-function-declaration] fmq_msg.c:1389:17: error: cast to
pointer from integer of different size [-Werror=int-to-pointer-cast]
fmq_msg.c: At top level: fmq_msg.c:1396:1: error: unknown type name
'uint64_t' fmq_msg.c:1397:59: error: unknown type name 'uint64_t'
fmq_msg.c: In function 'fmq_msg_options_insert': fmq_msg.c:1415:5: error:
unknown type name 'va_list' fmq_msg.c:1417:20: error: initialization makes
pointer from integer without a cast [-Werror] fmq_msg.c:1422:9: error:
implicit declaration of function 'zhash_new'
[-Werror=implicit-function-declaration] fmq_msg.c:1422:23: error:
assignment makes pointer from integer without a cast [-Werror]
fmq_msg.c:1423:9: error: implicit declaration of function 'zhash_autofree'
[-Werror=implicit-function-declaration] fmq_msg.c:1425:5: error: implicit
declaration of function 'zhash_update'
[-Werror=implicit-function-declaration] fmq_msg.c:1426:5: error:
incompatible implicit declaration of built-in function 'free' [-Werror]
fmq_msg.c: At top level: fmq_msg.c:1429:1: error: unknown type name
'size_t' fmq_msg.c:1439:1: error: unknown type name 'zhash_t'
fmq_msg.c:1448:1: error: unknown type name 'zhash_t' fmq_msg.c: In function
'fmq_msg_get_cache': fmq_msg.c:1451:5: error: unknown type name 'zhash_t'
fmq_msg.c:1452:19: error: 'NULL' undeclared (first use in this function)
fmq_msg.c: At top level: fmq_msg.c:1459:37: error: unknown type name
'zhash_t' fmq_msg.c: In function 'fmq_msg_cache_string': fmq_msg.c:1475:25:
error: 'NULL' undeclared (first use in this function) fmq_msg.c:1477:17:
error: cast to pointer from integer of different size
[-Werror=int-to-pointer-cast] fmq_msg.c: At top level: fmq_msg.c:1484:1:
error: unknown type name 'uint64_t' fmq_msg.c:1485:57: error: unknown type
name 'uint64_t' fmq_msg.c: In function 'fmq_msg_cache_insert':
fmq_msg.c:1503:5: error: unknown type name 'va_list' fmq_msg.c:1505:20:
error: initialization makes pointer from integer without a cast [-Werror]
fmq_msg.c:1510:21: error: assignment makes pointer from integer without a
cast [-Werror] fmq_msg.c:1514:5: error: incompatible implicit declaration
of built-in function 'free' [-Werror] fmq_msg.c: At top level:
fmq_msg.c:1517:1: error: unknown type name 'size_t' fmq_msg.c:1527:1:
error: unknown type name 'uint64_t' fmq_msg.c:1535:38: error: unknown type
name 'uint64_t' fmq_msg.c:1545:1: error: unknown type name 'uint64_t'
fmq_msg.c:1553:40: error: unknown type name 'uint64_t' fmq_msg.c:1563:1:
error: unknown type name 'byte' fmq_msg.c:1571:41: error: unknown type name
'byte' fmq_msg.c: In function 'fmq_msg_set_filename': fmq_msg.c:1593:5:
error: unknown type name 'va_list' fmq_msg.c:1595:5: error: incompatible
implicit declaration of built-in function 'free' [-Werror]
fmq_msg.c:1596:20: error: assignment makes pointer from integer without a
cast [-Werror] fmq_msg.c: At top level: fmq_msg.c:1604:1: error: unknown
type name 'uint64_t' fmq_msg.c:1612:38: error: unknown type name 'uint64_t'
fmq_msg.c:1622:1: error: unknown type name 'byte' fmq_msg.c:1630:35: error:
unknown type name 'byte' fmq_msg.c:1640:1: error: unknown type name
'zhash_t' fmq_msg.c:1649:1: error: unknown type name 'zhash_t' fmq_msg.c:
In function 'fmq_msg_get_headers': fmq_msg.c:1652:5: error: unknown type
name 'zhash_t' fmq_msg.c:1653:21: error: 'NULL' undeclared (first use in
this function) fmq_msg.c: At top level: fmq_msg.c:1660:39: error: unknown
type name 'zhash_t' fmq_msg.c: In function 'fmq_msg_headers_string':
fmq_msg.c:1676:25: error: 'NULL' undeclared (first use in this function)
fmq_msg.c:1678:17: error: cast to pointer from integer of different size
[-Werror=int-to-pointer-cast] fmq_msg.c: At top level: fmq_msg.c:1685:1:
error: unknown type name 'uint64_t' fmq_msg.c:1686:59: error: unknown type
name 'uint64_t' fmq_msg.c: In function 'fmq_msg_headers_insert':
fmq_msg.c:1704:5: error: unknown type name 'va_list' fmq_msg.c:1706:20:
error: initialization makes pointer from integer without a cast [-Werror]
fmq_msg.c:1711:23: error: assignment makes pointer from integer without a
cast [-Werror] fmq_msg.c:1715:5: error: incompatible implicit declaration
of built-in function 'free' [-Werror] fmq_msg.c: At top level:
fmq_msg.c:1718:1: error: unknown type name 'size_t' fmq_msg.c:1728:1:
error: unknown type name 'zchunk_t' fmq_msg.c:1737:1: error: unknown type
name 'zchunk_t' fmq_msg.c: In function 'fmq_msg_get_chunk':
fmq_msg.c:1740:5: error: unknown type name 'zchunk_t' fmq_msg.c:1741:19:
error: 'NULL' undeclared (first use in this function) fmq_msg.c: At top
level: fmq_msg.c:1748:37: error: unknown type name 'zchunk_t' fmq_msg.c: In
function 'fmq_msg_set_reason': fmq_msg.c:1773:5: error: unknown type name
'va_list' fmq_msg.c:1775:5: error: incompatible implicit declaration of
built-in function 'free' [-Werror] fmq_msg.c:1776:18: error: assignment
makes pointer from integer without a cast [-Werror] fmq_msg.c: At top
level: fmq_msg.c:1786:15: error: unknown type name 'bool' cc1: all warnings
being treated as errors make[1]: * [fmq_msg.lo] Error 1
make: *** [check-recursive] Error 1—
Reply to this email directly or view it on GitHub
#56.
from filemq.
I did install libzmq 4.0.4 and czmq 2.2.0..........
from filemq.
Finally, I made it .......
Is there a simple way to send a single file from server to client? In zmq, we have socket.send(msg) and socket.recv(msg), do we have any methods like send(file) and recv(file) ??
Thank you very much!
from filemq.
Related Issues (20)
- Can't compile with MSVC HOT 4
- Assertion failure during server processing of icanhaz message from client HOT 3
- Compilation errors in fmq_client.c and fmq_server.c HOT 2
- Client does not detect dead server HOT 3
- Server sends full contents, ignoring cache HOT 3
- File name incorrect in fmq_client.c HOT 2
- CPU Usage went up to 99%
- a
- compilation issue HOT 2
- FileMQ uses deprecated CZMQ API's HOT 9
- i am getting errors in make check step will you please help me out
- SIGSEGV during running test building filemq jar file (using libzmq in 4.1.x zeromq branch)
- Latest commit doesn't build with msvc HOT 15
- FileMQ does not build under OS X HOT 6
- Clarify License HOT 4
- filemq doesn't build with gcc 7.1 due to Wformat-truncation
- Failed to build FileMQ, "cannot link with -lczmq", czmq is installed already. HOT 2
- make check fail HOT 1
- GSL files? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from filemq.