Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[mosquitto-dev] Building 1.4.2 on Ubuntu

Hi,

trying to build 1.4.2 from source with websocket support by setting WITH_WEBSOCKETS:=yes, results in the following errors,


mosquitto.c: In function 'main':
mosquitto.c:275:101: error: expected _expression_ before ',' token
  _mosquitto_log_printf(NULL, MOSQ_LOG_INFO, "mosquitto version %s (build date %s) starting", VERSION, TIMESTAMP);
                                                                                                     ^
mosquitto.c:290:54: error: expected _expression_ before ')' token
   snprintf(buf, 1024, "mosquitto version %s", VERSION);
                                                      ^
mosquitto.c:368:88: error: expected _expression_ before ')' token
  _mosquitto_log_printf(NULL, MOSQ_LOG_INFO, "mosquitto version %s terminating", VERSION);


It compiled ok when WITH_WEBSOCKETS:=no.

Any ideas?

Thanks.

Sunny

Back to the top