Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Mosquitto » Mosquitto s/w for the solaris version(Mosquitto s/w for the solaris version)
Mosquitto s/w for the solaris version [message #1516931] Fri, 19 December 2014 06:17 Go to next message
pawan gupta is currently offline pawan guptaFriend
Messages: 2
Registered: December 2014
Junior Member
We want to install the Mosquitto 1.3.4 on Solaris, so from where I can get the zip/s/w for the Solaris

We have the Linux version of the Mosquitto 1.3.4

Please advise

Re: Mosquitto s/w for the solaris version [message #1517407 is a reply to message #1516931] Fri, 19 December 2014 13:27 Go to previous messageGo to next message
Denis Roy is currently offline Denis RoyFriend
Messages: 483
Registered: October 2004
Location: Ottawa, Ontario, Canada
Senior Member

Unfortunately, most of our developers, including the Eclipse Foundation itself, does not have access to Solaris hardware. We would welcome any Solaris community contributions, though, be it binaries, builds or what not.

Denis Roy
Eclipse Webmaster -- webmaster@eclipse.org
Re: Mosquitto s/w for the solaris version [message #1522035 is a reply to message #1517407] Mon, 22 December 2014 04:43 Go to previous messageGo to next message
pawan gupta is currently offline pawan guptaFriend
Messages: 2
Registered: December 2014
Junior Member
Thanks Denis..

We have the code for the Linux version, so do we know how to compile this mosquito code, when we move it to a new machine, like Solaris?


Here is the situation right now, the mosquito executable is not compatible with the current OS- solaris.

sun1293_applmgr_TESTiAS$ ldd mosquitto
ldd: mosquitto: ELF machine type: EM_AMD64: is incompatible with system

May be a recompile will help.

Since this is all C code, I tried gcc, but it didn't work.

sun1293_applmgr_TESTiAS$ /usr/local/bin/gcc mosquitto.c -o mosquitto -lmosquitto
mosquitto.c:30:20: config.h: No such file or directory
mosquitto.c:48:30: mosquitto_broker.h: No such file or directory
mosquitto.c:49:25: memory_mosq.h: No such file or directory
mosquitto.c:53: error: syntax error before "flag_reload"
mosquitto.c:53: error: `false' undeclared here (not in a function)
mosquitto.c:53: warning: data definition has no type or storage class
mosquitto.c:57: error: syntax error before "flag_tree_print"
mosquitto.c:57: warning: data definition has no type or storage class
mosquitto.c:65: warning: "struct mqtt3_config" declared inside parameter list
mosquitto.c:65: warning: its scope is only this definition or declaration, which is probably not what you want
mosquitto.c:83: warning: "struct mqtt3_config" declared inside parameter list
mosquitto.c:84: error: conflicting types for 'drop_privileges'
mosquitto.c:65: error: previous declaration of 'drop_privileges' was here
mosquitto.c:84: error: conflicting types for 'drop_privileges'
mosquitto.c:65: error: previous declaration of 'drop_privileges' was here
mosquitto.c: In function `drop_privileges':
mosquitto.c:90: error: dereferencing pointer to incomplete type
mosquitto.c:91: error: dereferencing pointer to incomplete type
mosquitto.c:93: error: `MOSQ_LOG_ERR' undeclared (first use in this function)
mosquitto.c:93: error: (Each undeclared identifier is reported only once
mosquitto.c:93: error: for each function it appears in.)
mosquitto.c:93: error: dereferencing pointer to incomplete type
mosquitto.c:108: error: `MOSQ_LOG_WARNING' undeclared (first use in this function)
mosquitto.c:112: error: `MOSQ_ERR_SUCCESS' undeclared (first use in this function)
mosquitto.c: In function `handle_sighup':
mosquitto.c:119: error: `true' undeclared (first use in this function)
mosquitto.c: In function `handle_sigusr2':
mosquitto.c:140: error: `true' undeclared (first use in this function)
mosquitto.c: In function `main':
mosquitto.c:148: error: storage size of 'config' isn't known
mosquitto.c:171: error: invalid application of `sizeof' to incomplete type `mosquitto_db'
mosquitto.c:177: error: `MOSQ_ERR_SUCCESS' undeclared (first use in this function)
mosquitto.c:178: error: invalid use of undefined type `struct mosquitto_db'
mosquitto.c:187: error: `MOSQ_LOG_ERR' undeclared (first use in this function)
mosquitto.c:219: error: `MOSQ_LOG_INFO' undeclared (first use in this function)
mosquitto.c:219: error: `VERSION' undeclared (first use in this function)
mosquitto.c:219: error: `TIMESTAMP' undeclared (first use in this function)
mosquitto.c:243: error: invalid use of undefined type `struct mosquitto_db'
mosquitto.c:251: warning: assignment makes pointer from integer without a cast
mosquitto.c:253: error: invalid use of undefined type `struct mosquitto_db'
mosquitto.c:261: error: `INVALID_SOCKET' undeclared (first use in this function)
mosquitto.c:262: error: invalid use of undefined type `struct mosquitto_db'
mosquitto.c:309: error: invalid use of undefined type `struct mosquitto_db'
mosquitto.c:310: error: invalid use of undefined type `struct mosquitto_db'
mosquitto.c:311: error: invalid use of undefined type `struct mosquitto_db'
mosquitto.c:311: error: `true' undeclared (first use in this function)
mosquitto.c:314: error: invalid use of undefined type `struct mosquitto_db'
mosquitto.c:315: error: invalid use of undefined type `struct mosquitto_db'
mosquitto.c:338: error: invalid use of undefined type `struct mosquitto_db'
mosquitto.c: At top level:
mosquitto.c:51: error: storage size of `int_db' isn't known


If someone has some more knowledge with compiling this code, or with mosquito itself, please advise for how to get this done.

Or if there is a different mosquito download/bundle for solaris, please let me know

Thanks.

Re: Mosquitto s/w for the solaris version [message #1522042 is a reply to message #1516931] Mon, 22 December 2014 04:47 Go to previous messageGo to next message
pawan gupta is currently offline pawan guptaFriend
Messages: 2
Registered: December 2014
Junior Member
Do we know how to compile this mosquito code, when we move it to a new machine, like soaris?

we have this running fine on linux, & now has copied the linux code to solaris

Here is the situation right now, the mosquito executable is not compatible with the current OS.

sun1293_applmgr_TESTiAS$ ldd mosquitto
ldd: mosquitto: ELF machine type: EM_AMD64: is incompatible with system

May be a recompile will help.

Since this is all C code, I tried gcc, but it didn't work.

sun1293_applmgr_TESTiAS$ /usr/local/bin/gcc mosquitto.c -o mosquitto -lmosquitto
mosquitto.c:30:20: config.h: No such file or directory
mosquitto.c:48:30: mosquitto_broker.h: No such file or directory
mosquitto.c:49:25: memory_mosq.h: No such file or directory
mosquitto.c:53: error: syntax error before "flag_reload"
mosquitto.c:53: error: `false' undeclared here (not in a function)
mosquitto.c:53: warning: data definition has no type or storage class
mosquitto.c:57: error: syntax error before "flag_tree_print"
mosquitto.c:57: warning: data definition has no type or storage class
mosquitto.c:65: warning: "struct mqtt3_config" declared inside parameter list
mosquitto.c:65: warning: its scope is only this definition or declaration, which is probably not what you want
mosquitto.c:83: warning: "struct mqtt3_config" declared inside parameter list
mosquitto.c:84: error: conflicting types for 'drop_privileges'
mosquitto.c:65: error: previous declaration of 'drop_privileges' was here
mosquitto.c:84: error: conflicting types for 'drop_privileges'
mosquitto.c:65: error: previous declaration of 'drop_privileges' was here
mosquitto.c: In function `drop_privileges':
mosquitto.c:90: error: dereferencing pointer to incomplete type
mosquitto.c:91: error: dereferencing pointer to incomplete type
mosquitto.c:93: error: `MOSQ_LOG_ERR' undeclared (first use in this function)
mosquitto.c:93: error: (Each undeclared identifier is reported only once
mosquitto.c:93: error: for each function it appears in.)
mosquitto.c:93: error: dereferencing pointer to incomplete type
mosquitto.c:108: error: `MOSQ_LOG_WARNING' undeclared (first use in this function)
mosquitto.c:112: error: `MOSQ_ERR_SUCCESS' undeclared (first use in this function)
mosquitto.c: In function `handle_sighup':
mosquitto.c:119: error: `true' undeclared (first use in this function)
mosquitto.c: In function `handle_sigusr2':
mosquitto.c:140: error: `true' undeclared (first use in this function)
mosquitto.c: In function `main':
mosquitto.c:148: error: storage size of 'config' isn't known
mosquitto.c:171: error: invalid application of `sizeof' to incomplete type `mosquitto_db'
mosquitto.c:177: error: `MOSQ_ERR_SUCCESS' undeclared (first use in this function)
mosquitto.c:178: error: invalid use of undefined type `struct mosquitto_db'
mosquitto.c:187: error: `MOSQ_LOG_ERR' undeclared (first use in this function)
mosquitto.c:219: error: `MOSQ_LOG_INFO' undeclared (first use in this function)
mosquitto.c:219: error: `VERSION' undeclared (first use in this function)
mosquitto.c:219: error: `TIMESTAMP' undeclared (first use in this function)
mosquitto.c:243: error: invalid use of undefined type `struct mosquitto_db'
mosquitto.c:251: warning: assignment makes pointer from integer without a cast
mosquitto.c:253: error: invalid use of undefined type `struct mosquitto_db'
mosquitto.c:261: error: `INVALID_SOCKET' undeclared (first use in this function)
mosquitto.c:262: error: invalid use of undefined type `struct mosquitto_db'
mosquitto.c:309: error: invalid use of undefined type `struct mosquitto_db'
mosquitto.c:310: error: invalid use of undefined type `struct mosquitto_db'
mosquitto.c:311: error: invalid use of undefined type `struct mosquitto_db'
mosquitto.c:311: error: `true' undeclared (first use in this function)
mosquitto.c:314: error: invalid use of undefined type `struct mosquitto_db'
mosquitto.c:315: error: invalid use of undefined type `struct mosquitto_db'
mosquitto.c:338: error: invalid use of undefined type `struct mosquitto_db'
mosquitto.c: At top level:
mosquitto.c:51: error: storage size of `int_db' isn't known


If someone has some more knowledge with compiling this code, or with mosquito itself, please advise for how to get this done on solaris

Or if there is a different mosquito download/bundle for solaris, please provide us that.

Thanks.

Re: Mosquitto s/w for the solaris version [message #1522889 is a reply to message #1522042] Mon, 22 December 2014 15:56 Go to previous messageGo to next message
Denis Roy is currently offline Denis RoyFriend
Messages: 483
Registered: October 2004
Location: Ottawa, Ontario, Canada
Senior Member

I've moved this thread to the mosquitto forum for comment.

Denis Roy
Eclipse Webmaster -- webmaster@eclipse.org
Re: Mosquitto s/w for the solaris version [message #1693376 is a reply to message #1522042] Thu, 23 April 2015 15:25 Go to previous message
Roger Light is currently offline Roger LightFriend
Messages: 90
Registered: September 2013
Member
Sorry for the very late reply, I've not been getting notifications of forum messages.

To compile mosquitto on Solaris please try "make" or "gmake". You may also need to tell make what compiler you are using, e.g. "make CC=gcc".
Previous Topic:Does mosquitto 1.4 support mqtt-sn?
Next Topic:Issue in configuring self-signed SSL on Mosquitto 1.3.5
Goto Forum:
  


Current Time: Fri Mar 29 06:43:26 GMT 2024

Powered by FUDForum. Page generated in 0.03178 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top