View Issue Details

IDProjectCategoryView StatusLast Update
0003415GNUnetbuild processpublic2018-06-07 00:25
Reporterell Assigned Tootarabai  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
OSXubuntu-14.04-64amd 
Product VersionGit master 
Target Version0.11.0pre66 
Summary0003415: Revision 33458: make[2]: *** [peerstore_api.lo] Fehler 1
DescriptionMaking install in peerstore
make[2]: Betrete Verzeichnis '/home/ell/gnunet/src/peerstore'
  CC peerstore_api.lo
peerstore_api.c:268:28: error: 'GNUNET_MESSAGE_TYPE_PEERSTORE_WATCH_RECORD' undeclared here (not in a function)
     {&handle_watch_result, GNUNET_MESSAGE_TYPE_PEERSTORE_WATCH_RECORD, 0},
                            ^
peerstore_api.c:632:1: error: conflicting types for 'GNUNET_PEERSTORE_iterate'
 GNUNET_PEERSTORE_iterate (struct GNUNET_PEERSTORE_Handle *h,
 ^
In file included from peerstore.h:29:0,
                 from peerstore_api.c:28:
../../src/include/gnunet_peerstore_service.h:168:1: note: previous declaration of 'GNUNET_PEERSTORE_iterate' was here
 GNUNET_PEERSTORE_iterate (struct GNUNET_PEERSTORE_Handle *h,
 ^
In file included from ../../src/include/gnunet_util_lib.h:48:0,
                 from peerstore_api.c:27:
peerstore_api.c: In function 'GNUNET_PEERSTORE_watch_cancel':
peerstore_api.c:726:28: error: 'GNUNET_MESSAGE_TYPE_PEERSTORE_WATCH_CANCEL' undeclared (first use in this function)
     ev = GNUNET_MQ_msg(hm, GNUNET_MESSAGE_TYPE_PEERSTORE_WATCH_CANCEL);
                            ^
../../src/include/gnunet_mq_lib.h:43:133: note: in definition of macro 'GNUNET_MQ_msg_extra'
 #define GNUNET_MQ_msg_extra(mvar, esize, type) GNUNET_MQ_msg_(((struct GNUNET_MessageHeader**) &(mvar)), (esize) + sizeof *(mvar), (type))
                                                                                                                                     ^
peerstore_api.c:726:10: note: in expansion of macro 'GNUNET_MQ_msg'
     ev = GNUNET_MQ_msg(hm, GNUNET_MESSAGE_TYPE_PEERSTORE_WATCH_CANCEL);
          ^
peerstore_api.c:726:28: note: each undeclared identifier is reported only once for each function it appears in
     ev = GNUNET_MQ_msg(hm, GNUNET_MESSAGE_TYPE_PEERSTORE_WATCH_CANCEL);
                            ^
../../src/include/gnunet_mq_lib.h:43:133: note: in definition of macro 'GNUNET_MQ_msg_extra'
 #define GNUNET_MQ_msg_extra(mvar, esize, type) GNUNET_MQ_msg_(((struct GNUNET_MessageHeader**) &(mvar)), (esize) + sizeof *(mvar), (type))
                                                                                                                                     ^
peerstore_api.c:726:10: note: in expansion of macro 'GNUNET_MQ_msg'
     ev = GNUNET_MQ_msg(hm, GNUNET_MESSAGE_TYPE_PEERSTORE_WATCH_CANCEL);
          ^
In file included from ../../src/include/gnunet_util_lib.h:48:0,
                 from peerstore_api.c:27:
../../src/include/gnunet_mq_lib.h:43:72: warning: passing argument 3 of 'GNUNET_MQ_msg_' makes integer from pointer without a cast [enabled by default]
 #define GNUNET_MQ_msg_extra(mvar, esize, type) GNUNET_MQ_msg_(((struct GNUNET_MessageHeader**) &(mvar)), (esize) + sizeof *(mvar), (type))
                                                                        ^
../../src/include/gnunet_mq_lib.h:54:35: note: in expansion of macro 'GNUNET_MQ_msg_extra'
 #define GNUNET_MQ_msg(mvar, type) GNUNET_MQ_msg_extra(mvar, 0, type)
                                   ^
peerstore_api.c:726:10: note: in expansion of macro 'GNUNET_MQ_msg'
     ev = GNUNET_MQ_msg(hm, GNUNET_MESSAGE_TYPE_PEERSTORE_WATCH_CANCEL);
          ^
In file included from ../../src/include/gnunet_util_lib.h:48:0,
                 from peerstore_api.c:27:
../../src/include/gnunet_mq_lib.h:272:1: note: expected 'uint16_t' but argument is of type 'const struct GNUNET_MQ_MessageHandler *'
 GNUNET_MQ_msg_ (struct GNUNET_MessageHeader **mhp, uint16_t size, uint16_t type);
 ^
peerstore_api.c: In function 'GNUNET_PEERSTORE_watch':
peerstore_api.c:764:26: error: 'GNUNET_MESSAGE_TYPE_PEERSTORE_WATCH' undeclared (first use in this function)
   ev = GNUNET_MQ_msg(hm, GNUNET_MESSAGE_TYPE_PEERSTORE_WATCH);
                          ^
../../src/include/gnunet_mq_lib.h:43:133: note: in definition of macro 'GNUNET_MQ_msg_extra'
 #define GNUNET_MQ_msg_extra(mvar, esize, type) GNUNET_MQ_msg_(((struct GNUNET_MessageHeader**) &(mvar)), (esize) + sizeof *(mvar), (type))
                                                                                                                                     ^
peerstore_api.c:764:8: note: in expansion of macro 'GNUNET_MQ_msg'
   ev = GNUNET_MQ_msg(hm, GNUNET_MESSAGE_TYPE_PEERSTORE_WATCH);
        ^
In file included from ../../src/include/gnunet_util_lib.h:48:0,
                 from peerstore_api.c:27:
../../src/include/gnunet_mq_lib.h:43:72: warning: passing argument 3 of 'GNUNET_MQ_msg_' makes integer from pointer without a cast [enabled by default]
 #define GNUNET_MQ_msg_extra(mvar, esize, type) GNUNET_MQ_msg_(((struct GNUNET_MessageHeader**) &(mvar)), (esize) + sizeof *(mvar), (type))
                                                                        ^
../../src/include/gnunet_mq_lib.h:54:35: note: in expansion of macro 'GNUNET_MQ_msg_extra'
 #define GNUNET_MQ_msg(mvar, type) GNUNET_MQ_msg_extra(mvar, 0, type)
                                   ^
peerstore_api.c:764:8: note: in expansion of macro 'GNUNET_MQ_msg'
   ev = GNUNET_MQ_msg(hm, GNUNET_MESSAGE_TYPE_PEERSTORE_WATCH);
        ^
In file included from ../../src/include/gnunet_util_lib.h:48:0,
                 from peerstore_api.c:27:
../../src/include/gnunet_mq_lib.h:272:1: note: expected 'uint16_t' but argument is of type 'const struct GNUNET_MQ_MessageHandler *'
 GNUNET_MQ_msg_ (struct GNUNET_MessageHeader **mhp, uint16_t size, uint16_t type);
 ^
make[2]: *** [peerstore_api.lo] Fehler 1
make[2]: Verlasse Verzeichnis '/home/ell/gnunet/src/peerstore'
Steps To ReproduceRevision 33458:

cd gnunet
svn up
sudo make install
TagsNo tags attached.

Activities

otarabai

2014-06-02 13:40

reporter   ~0008377

Fixed in r33466

Issue History

Date Modified Username Field Change
2014-06-01 12:28 ell New Issue
2014-06-02 12:13 Christian Grothoff Assigned To => otarabai
2014-06-02 12:13 Christian Grothoff Status new => assigned
2014-06-02 12:13 Christian Grothoff Target Version => 0.11.0pre66
2014-06-02 13:40 otarabai Note Added: 0008377
2014-06-02 13:40 otarabai Status assigned => resolved
2014-06-02 13:40 otarabai Resolution open => fixed
2018-06-07 00:25 Christian Grothoff Status resolved => closed