selecting UA_ENABLE_PUBSUB_MQTT in ccmake causes make errors

48 views
Skip to first unread message

Jacky Bek

unread,
Dec 29, 2020, 7:37:31 PM12/29/20
to open62541
when i enable the following options in ccmake and perform a 'make', 
UA_ENABLE_PUBSUB
UA_ENABLE_PUBSUB_DELTAFRAMES
UA_ENABLE_ETH_UADP
UA_ENABLE_PUBSUB_MQTT

error message is:
/home/pi/open62541/build/open62541.h:36210:2: error: #endif without #if
 #endif /* OPEN62541_H_ */
cc1: error: unrecognized command line option ‘-Wno-static-in-inline’ [-Werror]
cc1: all warnings being treated as errors
make[2]: *** [CMakeFiles/open62541-object.dir/build.make:298: CMakeFiles/open62541-object.dir/open62541.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:305: CMakeFiles/open62541-object.dir/all] Error 2
make: *** [Makefile:152: all] Error 2

if i disable 'UA_ENABLE_PUBSUB_MQTT', the error goes away.

Can you fixed it?

Thanks.
Reply all
Reply to author
Forward
0 new messages