Fanhang32 opened a new issue, #1375:
URL: https://github.com/apache/mynewt-nimble/issues/1375

   ccache gcc -c -I./include -I../../../porting/npl/linux/include 
-I../../../nimble/transport/socket/include -I../../../nimble/include 
-I../../../nimble/host/include -I../../../nimble/host/services/ans/include 
-I../../../nimble/host/services/bas/include 
-I../../../nimble/host/services/bleuart/include 
-I../../../nimble/host/services/gap/include 
-I../../../nimble/host/services/gatt/include 
-I../../../nimble/host/services/ias/include 
-I../../../nimble/host/services/dis/include 
-I../../../nimble/host/services/lls/include 
-I../../../nimble/host/services/tps/include 
-I../../../nimble/host/store/ram/include -I../../../nimble/host/util/include 
-I../../../nimble/transport/include -I../../../porting/nimble/include 
-I../../../ext/tinycrypt/include -m32 -I./include 
-I../../../porting/npl/linux/include -I../../../nimble/transport/socket/include 
-I../../../nimble/include -I../../../nimble/host/include 
-I../../../nimble/host/services/ans/include 
-I../../../nimble/host/services/bas/include -I../../.
 ./nimble/host/services/bleuart/include 
-I../../../nimble/host/services/gap/include 
-I../../../nimble/host/services/gatt/include 
-I../../../nimble/host/services/ias/include 
-I../../../nimble/host/services/dis/include 
-I../../../nimble/host/services/lls/include 
-I../../../nimble/host/services/tps/include 
-I../../../nimble/host/store/ram/include -I../../../nimble/host/util/include 
-I../../../nimble/transport/include -I../../../porting/nimble/include 
-I../../../ext/tinycrypt/include -g -D_GNU_SOURCE  -o 
../../../nimble/host/src/ble_att.o ../../../nimble/host/src/ble_att.c
   In file included from ../../../porting/nimble/include/os/os.h:37,
                    from ../../../porting/nimble/include/os/os_mbuf.h:32,
                    from ../../../nimble/host/src/ble_att_cmd_priv.h:25,
                    from ../../../nimble/host/src/ble_hs_priv.h:25,
                    from ../../../nimble/host/src/ble_att.c:22:
   ./include/syscfg/syscfg.h:15:49: error: 
‘MYNEWT_VAL_BLE_L2CAP_COC_SDU_BUFF_COUNT’ undeclared here (not in a function); 
did you mean ‘MYNEWT_VAL_BLE_L2CAP_COC_MAX_NUM’?
      15 | #define MYNEWT_VAL(_name)                       MYNEWT_VAL_ ## _name
         |                                                 ^~~~~~~~~~~
   ../../../nimble/host/src/ble_l2cap_coc_priv.h:40:40: note: in expansion of 
macro ‘MYNEWT_VAL’
      40 | #define BLE_L2CAP_SDU_BUFF_CNT        
(MYNEWT_VAL(BLE_L2CAP_COC_SDU_BUFF_COUNT))
         |                                        ^~~~~~~~~~
   ../../../nimble/host/src/ble_l2cap_coc_priv.h:43:26: note: in expansion of 
macro ‘BLE_L2CAP_SDU_BUFF_CNT’
      43 |     struct os_mbuf *sdus[BLE_L2CAP_SDU_BUFF_CNT];
         |                          ^~~~~~~~~~~~~~~~~~~~~~
   make: *** [Makefile:98:../../../nimble/host/src/ble_att.o] 错误 1
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to