Closed Schwolop closed 9 years ago
Hi @Schwolop!
First question, what version of protobuf are you using? If it works using Python 3, I assume you are using one of the 3.0.0 alpha releases?
It would be nice if you could make a proper Github pull request, otherwise the changes you made are not so obivous. I'll try to take a look anyway by comparing today's master's HEAD with your repo, but a pull request would still be the best.
Thanks for sharing!
Yes, it was using the latest 3.0.0.alpha2 of protobuf, which was available directly through pip. I can make a fork of OLA and submit a proper pull request in a few days time (this is for a side-business and I only get time for it about once a week...)
At any rate, it was surprisingly easy - 2to3 did 99% of the work automatically, and the only other bits were some strings being initialised to "" in an incompatible manner.
Also, if you could pinpoint specific things that do not work with Python 3.4, we could fix those specifically.
Running 2to3 helps, but we shouldn't take everything it outputs for cash. For example, it transforms
i, o, e = select.select(self._read_descriptors.keys(),
self._write_descriptors.keys(),
self._error_descriptors.keys(),
sleep_time)
to
i, o, e = select.select(list(self._read_descriptors.keys()),
list(self._write_descriptors.keys()),
list(self._error_descriptors.keys()),
sleep_time)
Python 2's .keys() returns a list, whereas Python 3's returns an iterator. It adds the call to list() to make sure that the exact same behaviour is preserved. In our case, select works fine with any kind of iterable, so we don't need to add those calls for it to work in both Python 2 and 3.
So I'd suggest using 2to3, but then cherry-picking the changes to only include those that make sense (I know for a fact that it will automatically add useless extra parenthesis on those calls to print that already have parenthesis).
Hi @Schwolop,
Is this issue still valid?
It looks like the latest changes your team has made also support Python3, so I'd suggest you close this issue, and I can return to using the official OLA packages. Apologies for letting this drop off my radar!
The latest Python 3 changes are quite recent and might not be in released versions yet, maybe that's the problem. @nomis52 was talking about doing a 0.9.6 release soon though, so it shouldn't be too long until they get there.
Closing thanks to the work of @simark
i use python 3.5 within the conda package installer. so i cloned the ola-python3 package, installed the protobuf and tried to run the code. something goes wrong:
module body in olatest.py at line 14
from ola.ClientWrapper import ClientWrapper
module body in ClientWrapper.py at line 33
from ola.OlaClient import OlaClient
module body in OlaClient.py at line 27
from ola import Ola_pb2
module body in Ola_pb2.py at line 2036
DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), '\200\001\000\210\001\001\220\001\001')
function _ParseOptions in descriptor.py at line 872
message.ParseFromString(string)
function ParseFromString in message.py at line 185
self.MergeFromString(serialised)
function MergeFromString in python_message.py at line 1088
raise message_mod.DecodeError('Truncated message.')
any hints? .F
As @Schwolop and @simark refer to, the changes for python3 support have already been rolled into OLA, so you don't need to use @Schwolop 's package, which may well be out of date and broken now.
There is some other information on the Python API here: https://www.openlighting.org/ola/developer-documentation/python-api/
On 8 Sep 2016, at 03:41, Peter Newman notifications@github.com wrote:
As @Schwolop and @simark refer to, the changes for python3 support have already been rolled into OLA, so you don't need to use @Schwolop 's package, which may well be out of date and broken now.
There is some other information on the Python API here: https://www.openlighting.org/ola/developer-documentation/python-api/
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.
The procedure as described will place the ola folder into /usr/local/lib/python3.5/site-packages/
instead of $HOME/anaconda/lib/python3.5/site-packages/
Is there a parameter to tell ./configure about this?
.F
On 8 Sep 2016, at 03:41, Peter Newman notifications@github.com wrote:
As @Schwolop and @simark refer to, the changes for python3 support have already been rolled into OLA, so you don't need to use @Schwolop 's package, which may well be out of date and broken now.
There is some other information on the Python API here: https://www.openlighting.org/ola/developer-documentation/python-api/
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.
When copying the compiled package to the correct python3.5 site-package folder, then try to run the script, it will complain about an i/o error:
Traceback (most recent call last):
File “./olatest.py”, line 125, in
@klankschap is this still an issue? Can you share the contents of your olatest.py? Do the example Python scripts work?
Dear Peter,
On 10 Apr 2017, at 10:04, Peter Newman notifications@github.com wrote:
@klankschap is this still an issue? Can you share the contents of your olatest.py? Do the example Python scripts work?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
So i just downloaded the source and tried to make a OSX 10.11.6 version
i’m using python 3.6 $ python Python 3.6.1 |Anaconda custom (x86_64)| (default, Mar 22 2017, 19:25:17) [GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.57)] on darwin
$ autoreconf -i
OLA Version 0.10.3
Prefix: '/usr/local' Compiler: 'g++ -g -O2 -std=gnu++98 -D_THREAD_SAFE -I/opt/local/include' Linker: '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -L/opt/local/lib ' Python: /Users/vm/anaconda/bin/python
Python API: yes Java API: no Enable HTTP Server: yes RDM Responder Tests: no Ja Rule: no Enabled Plugins: artnet dummy e131 espnet gpio karate kinet milinst opendmx openpixelcontrol osc pathport renard sandnet shownet stageprofi usbdmx usbpro UUCP Lock Directory: /tmp
Now type 'make [
$ make … warnings … … common/utils/StringUtils.cpp:420:9: error: use of undeclared identifier 'OLA_FALLTHROUGH' OLA_FALLTHROUGH ^ common/utils/StringUtils.cpp:424:9: error: use of undeclared identifier 'OLA_FALLTHROUGH' OLA_FALLTHROUGH ^ 2 errors generated. make[2]: [common/utils/common_libolacommon_la-StringUtils.lo] Error 1 make[1]: [all-recursive] Error 1 make: *** [all] Error 2
then again:
$ make
/Applications/Xcode.app/Contents/Developer/usr/bin/make all-recursive
Making all in java
make[2]: Nothing to be done for all'. /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/opt/local/include -I./include -I./include -Wall -Wformat -W -fvisibility-inlines-hidden -D_THREAD_SAFE -I/opt/local/include -Werror -Werror -Wno-error=unused-parameter -Wno-error=deprecated-declarations -Wno-error=sign-compare -DPID_DATA_DIR=\"/usr/local/share/ola/pids\" -g -O2 -std=gnu++98 -D_THREAD_SAFE -MT common/utils/common_libolacommon_la-StringUtils.lo -MD -MP -MF common/utils/.deps/common_libolacommon_la-StringUtils.Tpo -c -o common/utils/common_libolacommon_la-StringUtils.lo
test -f 'common/utils/StringUtils.cpp' || echo './'`common/utils/StringUtils.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/opt/local/include -I./include -I./include -Wall -Wformat -W -fvisibility-inlines-hidden -D_THREAD_SAFE -I/opt/local/include -Werror -Werror -Wno-error=unused-parameter -Wno-error=deprecated-declarations -Wno-error=sign-compare -DPID_DATA_DIR=\"/usr/local/share/ola/pids\" -g -O2 -std=gnu++98 -D_THREAD_SAFE -MT common/utils/common_libolacommon_la-StringUtils.lo -MD -MP -MF common/utils/.deps/common_libolacommon_la-StringUtils.Tpo -c common/utils/StringUtils.cpp -fno-common -DPIC -o common/utils/.libs/common_libolacommon_la-StringUtils.o
common/utils/StringUtils.cpp:420:9: error: use of undeclared identifier
'OLA_FALLTHROUGH'
OLA_FALLTHROUGH
^
common/utils/StringUtils.cpp:424:9: error: use of undeclared identifier
'OLA_FALLTHROUGH'
OLA_FALLTHROUGH
^
2 errors generated.
make[2]: [common/utils/common_libolacommon_la-StringUtils.lo] Error 1
make[1]: [all-recursive] Error 1
make: *** [all] Error 2
not sure what happened, yet
.Floris
That's very odd as it builds fine on our Travis Mac builds.
That macro is declared in ola/include/ola/base/Macro.h which is being included in the file fine. Have you got another older version of our Macro.h somewhere on the system perhaps?
dear Peter
On 10 Apr 2017, at 15:20, Peter Newman notifications@github.com wrote:
That's very odd as it builds fine on our Travis Mac builds.
That macro is declared in ola/include/ola/base/Macro.h which is being included in the file fine. Have you got another older version of our Macro.h somewhere on the system perhaps?
Yes i have a previous version in a different folder. i did remove both the folders /usr/local/include/ola /usr/local/include/olad
without much of an improvement
OLA Version 0.10.3
Prefix: '/usr/local' Compiler: 'g++ -g -O2 -std=gnu++98 -D_THREAD_SAFE -I/opt/local/include' Linker: '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -L/opt/local/lib ' Python: /Users/vm/anaconda/bin/python
Python API: yes Java API: no Enable HTTP Server: yes RDM Responder Tests: no Ja Rule: no Enabled Plugins: artnet dummy e131 espnet gpio karate kinet milinst opendmx openpixelcontrol osc pathport renard sandnet shownet stageprofi usbdmx usbpro UUCP Lock Directory: /tmp
Now type 'make [
that seems to work.
the make however still crashes.
This is the end of the messages
parameter 'end' [-Wunused-parameter]
inline int CalculateReserve(Iter begin, Iter end, std::input_iterator_tag) {
^
13 warnings generated.
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/opt/local/include -I./include -I./include -Wall -Wformat -W -fvisibility-inlines-hidden -D_THREAD_SAFE -I/opt/local/include -Werror -Werror -Wno-error=unused-parameter -Wno-error=deprecated-declarations -Wno-error=sign-compare -DPID_DATA_DIR=\"/usr/local/share/ola/pids\" -g -O2 -std=gnu++98 -D_THREAD_SAFE -MT common/rdm/common_libolacommon_la-PidStoreLoader.lo -MD -MP -MF common/rdm/.deps/common_libolacommon_la-PidStoreLoader.Tpo -c common/rdm/PidStoreLoader.cpp -o common/rdm/common_libolacommon_la-PidStoreLoader.o >/dev/null 2>&1
mv -f common/rdm/.deps/common_libolacommon_la-PidStoreLoader.Tpo common/rdm/.deps/common_libolacommon_la-PidStoreLoader.Plo
/bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/opt/local/include -I./include -I./include -Wall -Wformat -W -fvisibility-inlines-hidden -D_THREAD_SAFE -I/opt/local/include -Werror -Werror -Wno-error=unused-parameter -Wno-error=deprecated-declarations -Wno-error=sign-compare -DPID_DATA_DIR=\"/usr/local/share/ola/pids\" -g -O2 -std=gnu++98 -D_THREAD_SAFE -MT common/rdm/common_libolacommon_la-QueueingRDMController.lo -MD -MP -MF common/rdm/.deps/common_libolacommon_la-QueueingRDMController.Tpo -c -o common/rdm/common_libolacommon_la-QueueingRDMController.lo test -f 'common/rdm/QueueingRDMController.cpp' || echo './'
common/rdm/QueueingRDMController.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/opt/local/include -I./include -I./include -Wall -Wformat -W -fvisibility-inlines-hidden -D_THREAD_SAFE -I/opt/local/include -Werror -Werror -Wno-error=unused-parameter -Wno-error=deprecated-declarations -Wno-error=sign-compare -DPID_DATA_DIR=\"/usr/local/share/ola/pids\" -g -O2 -std=gnu++98 -D_THREAD_SAFE -MT common/rdm/common_libolacommon_la-QueueingRDMController.lo -MD -MP -MF common/rdm/.deps/common_libolacommon_la-QueueingRDMController.Tpo -c common/rdm/QueueingRDMController.cpp -fno-common -DPIC -o common/rdm/.libs/common_libolacommon_la-QueueingRDMController.o
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/opt/local/include -I./include -I./include -Wall -Wformat -W -fvisibility-inlines-hidden -D_THREAD_SAFE -I/opt/local/include -Werror -Werror -Wno-error=unused-parameter -Wno-error=deprecated-declarations -Wno-error=sign-compare -DPID_DATA_DIR=\"/usr/local/share/ola/pids\" -g -O2 -std=gnu++98 -D_THREAD_SAFE -MT common/rdm/common_libolacommon_la-QueueingRDMController.lo -MD -MP -MF common/rdm/.deps/common_libolacommon_la-QueueingRDMController.Tpo -c common/rdm/QueueingRDMController.cpp -o common/rdm/common_libolacommon_la-QueueingRDMController.o >/dev/null 2>&1
mv -f common/rdm/.deps/common_libolacommon_la-QueueingRDMController.Tpo common/rdm/.deps/common_libolacommon_la-QueueingRDMController.Plo
/bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/opt/local/include -I./include -I./include -Wall -Wformat -W -fvisibility-inlines-hidden -D_THREAD_SAFE -I/opt/local/include -Werror -Werror -Wno-error=unused-parameter -Wno-error=deprecated-declarations -Wno-error=sign-compare -DPID_DATA_DIR=\"/usr/local/share/ola/pids\" -g -O2 -std=gnu++98 -D_THREAD_SAFE -MT common/rdm/common_libolacommon_la-RDMAPI.lo -MD -MP -MF common/rdm/.deps/common_libolacommon_la-RDMAPI.Tpo -c -o common/rdm/common_libolacommon_la-RDMAPI.lo test -f 'common/rdm/RDMAPI.cpp' || echo './'
common/rdm/RDMAPI.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/opt/local/include -I./include -I./include -Wall -Wformat -W -fvisibility-inlines-hidden -D_THREAD_SAFE -I/opt/local/include -Werror -Werror -Wno-error=unused-parameter -Wno-error=deprecated-declarations -Wno-error=sign-compare -DPID_DATA_DIR=\"/usr/local/share/ola/pids\" -g -O2 -std=gnu++98 -D_THREAD_SAFE -MT common/rdm/common_libolacommon_la-RDMAPI.lo -MD -MP -MF common/rdm/.deps/common_libolacommon_la-RDMAPI.Tpo -c common/rdm/RDMAPI.cpp -fno-common -DPIC -o common/rdm/.libs/common_libolacommon_la-RDMAPI.o
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/opt/local/include -I./include -I./include -Wall -Wformat -W -fvisibility-inlines-hidden -D_THREAD_SAFE -I/opt/local/include -Werror -Werror -Wno-error=unused-parameter -Wno-error=deprecated-declarations -Wno-error=sign-compare -DPID_DATA_DIR=\"/usr/local/share/ola/pids\" -g -O2 -std=gnu++98 -D_THREAD_SAFE -MT common/rdm/common_libolacommon_la-RDMAPI.lo -MD -MP -MF common/rdm/.deps/common_libolacommon_la-RDMAPI.Tpo -c common/rdm/RDMAPI.cpp -o common/rdm/common_libolacommon_la-RDMAPI.o >/dev/null 2>&1
mv -f common/rdm/.deps/common_libolacommon_la-RDMAPI.Tpo common/rdm/.deps/common_libolacommon_la-RDMAPI.Plo
/bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/opt/local/include -I./include -I./include -Wall -Wformat -W -fvisibility-inlines-hidden -D_THREAD_SAFE -I/opt/local/include -Werror -Werror -Wno-error=unused-parameter -Wno-error=deprecated-declarations -Wno-error=sign-compare -DPID_DATA_DIR=\"/usr/local/share/ola/pids\" -g -O2 -std=gnu++98 -D_THREAD_SAFE -MT common/rdm/common_libolacommon_la-RDMCommand.lo -MD -MP -MF common/rdm/.deps/common_libolacommon_la-RDMCommand.Tpo -c -o common/rdm/common_libolacommon_la-RDMCommand.lo test -f 'common/rdm/RDMCommand.cpp' || echo './'
common/rdm/RDMCommand.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/opt/local/include -I./include -I./include -Wall -Wformat -W -fvisibility-inlines-hidden -D_THREAD_SAFE -I/opt/local/include -Werror -Werror -Wno-error=unused-parameter -Wno-error=deprecated-declarations -Wno-error=sign-compare -DPID_DATA_DIR=\"/usr/local/share/ola/pids\" -g -O2 -std=gnu++98 -D_THREAD_SAFE -MT common/rdm/common_libolacommon_la-RDMCommand.lo -MD -MP -MF common/rdm/.deps/common_libolacommon_la-RDMCommand.Tpo -c common/rdm/RDMCommand.cpp -fno-common -DPIC -o common/rdm/.libs/common_libolacommon_la-RDMCommand.o
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/opt/local/include -I./include -I./include -Wall -Wformat -W -fvisibility-inlines-hidden -D_THREAD_SAFE -I/opt/local/include -Werror -Werror -Wno-error=unused-parameter -Wno-error=deprecated-declarations -Wno-error=sign-compare -DPID_DATA_DIR=\"/usr/local/share/ola/pids\" -g -O2 -std=gnu++98 -D_THREAD_SAFE -MT common/rdm/common_libolacommon_la-RDMCommand.lo -MD -MP -MF common/rdm/.deps/common_libolacommon_la-RDMCommand.Tpo -c common/rdm/RDMCommand.cpp -o common/rdm/common_libolacommon_la-RDMCommand.o >/dev/null 2>&1
mv -f common/rdm/.deps/common_libolacommon_la-RDMCommand.Tpo common/rdm/.deps/common_libolacommon_la-RDMCommand.Plo
/bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/opt/local/include -I./include -I./include -Wall -Wformat -W -fvisibility-inlines-hidden -D_THREAD_SAFE -I/opt/local/include -Werror -Werror -Wno-error=unused-parameter -Wno-error=deprecated-declarations -Wno-error=sign-compare -DPID_DATA_DIR=\"/usr/local/share/ola/pids\" -g -O2 -std=gnu++98 -D_THREAD_SAFE -MT common/rdm/common_libolacommon_la-RDMCommandSerializer.lo -MD -MP -MF common/rdm/.deps/common_libolacommon_la-RDMCommandSerializer.Tpo -c -o common/rdm/common_libolacommon_la-RDMCommandSerializer.lo test -f 'common/rdm/RDMCommandSerializer.cpp' || echo './'
common/rdm/RDMCommandSerializer.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/opt/local/include -I./include -I./include -Wall -Wformat -W -fvisibility-inlines-hidden -D_THREAD_SAFE -I/opt/local/include -Werror -Werror -Wno-error=unused-parameter -Wno-error=deprecated-declarations -Wno-error=sign-compare -DPID_DATA_DIR=\"/usr/local/share/ola/pids\" -g -O2 -std=gnu++98 -D_THREAD_SAFE -MT common/rdm/common_libolacommon_la-RDMCommandSerializer.lo -MD -MP -MF common/rdm/.deps/common_libolacommon_la-RDMCommandSerializer.Tpo -c common/rdm/RDMCommandSerializer.cpp -fno-common -DPIC -o common/rdm/.libs/common_libolacommon_la-RDMCommandSerializer.o
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/opt/local/include -I./include -I./include -Wall -Wformat -W -fvisibility-inlines-hidden -D_THREAD_SAFE -I/opt/local/include -Werror -Werror -Wno-error=unused-parameter -Wno-error=deprecated-declarations -Wno-error=sign-compare -DPID_DATA_DIR=\"/usr/local/share/ola/pids\" -g -O2 -std=gnu++98 -D_THREAD_SAFE -MT common/rdm/common_libolacommon_la-RDMCommandSerializer.lo -MD -MP -MF common/rdm/.deps/common_libolacommon_la-RDMCommandSerializer.Tpo -c common/rdm/RDMCommandSerializer.cpp -o common/rdm/common_libolacommon_la-RDMCommandSerializer.o >/dev/null 2>&1
mv -f common/rdm/.deps/common_libolacommon_la-RDMCommandSerializer.Tpo common/rdm/.deps/common_libolacommon_la-RDMCommandSerializer.Plo
/bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/opt/local/include -I./include -I./include -Wall -Wformat -W -fvisibility-inlines-hidden -D_THREAD_SAFE -I/opt/local/include -Werror -Werror -Wno-error=unused-parameter -Wno-error=deprecated-declarations -Wno-error=sign-compare -DPID_DATA_DIR=\"/usr/local/share/ola/pids\" -g -O2 -std=gnu++98 -D_THREAD_SAFE -MT common/rdm/common_libolacommon_la-RDMFrame.lo -MD -MP -MF common/rdm/.deps/common_libolacommon_la-RDMFrame.Tpo -c -o common/rdm/common_libolacommon_la-RDMFrame.lo test -f 'common/rdm/RDMFrame.cpp' || echo './'
common/rdm/RDMFrame.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/opt/local/include -I./include -I./include -Wall -Wformat -W -fvisibility-inlines-hidden -D_THREAD_SAFE -I/opt/local/include -Werror -Werror -Wno-error=unused-parameter -Wno-error=deprecated-declarations -Wno-error=sign-compare -DPID_DATA_DIR=\"/usr/local/share/ola/pids\" -g -O2 -std=gnu++98 -D_THREAD_SAFE -MT common/rdm/common_libolacommon_la-RDMFrame.lo -MD -MP -MF common/rdm/.deps/common_libolacommon_la-RDMFrame.Tpo -c common/rdm/RDMFrame.cpp -fno-common -DPIC -o common/rdm/.libs/common_libolacommon_la-RDMFrame.o
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/opt/local/include -I./include -I./include -Wall -Wformat -W -fvisibility-inlines-hidden -D_THREAD_SAFE -I/opt/local/include -Werror -Werror -Wno-error=unused-parameter -Wno-error=deprecated-declarations -Wno-error=sign-compare -DPID_DATA_DIR=\"/usr/local/share/ola/pids\" -g -O2 -std=gnu++98 -D_THREAD_SAFE -MT common/rdm/common_libolacommon_la-RDMFrame.lo -MD -MP -MF common/rdm/.deps/common_libolacommon_la-RDMFrame.Tpo -c common/rdm/RDMFrame.cpp -o common/rdm/common_libolacommon_la-RDMFrame.o >/dev/null 2>&1
mv -f common/rdm/.deps/common_libolacommon_la-RDMFrame.Tpo common/rdm/.deps/common_libolacommon_la-RDMFrame.Plo
/bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/opt/local/include -I./include -I./include -Wall -Wformat -W -fvisibility-inlines-hidden -D_THREAD_SAFE -I/opt/local/include -Werror -Werror -Wno-error=unused-parameter -Wno-error=deprecated-declarations -Wno-error=sign-compare -DPID_DATA_DIR=\"/usr/local/share/ola/pids\" -g -O2 -std=gnu++98 -D_THREAD_SAFE -MT common/rdm/common_libolacommon_la-RDMHelper.lo -MD -MP -MF common/rdm/.deps/common_libolacommon_la-RDMHelper.Tpo -c -o common/rdm/common_libolacommon_la-RDMHelper.lo test -f 'common/rdm/RDMHelper.cpp' || echo './'
common/rdm/RDMHelper.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/opt/local/include -I./include -I./include -Wall -Wformat -W -fvisibility-inlines-hidden -D_THREAD_SAFE -I/opt/local/include -Werror -Werror -Wno-error=unused-parameter -Wno-error=deprecated-declarations -Wno-error=sign-compare -DPID_DATA_DIR=\"/usr/local/share/ola/pids\" -g -O2 -std=gnu++98 -D_THREAD_SAFE -MT common/rdm/common_libolacommon_la-RDMHelper.lo -MD -MP -MF common/rdm/.deps/common_libolacommon_la-RDMHelper.Tpo -c common/rdm/RDMHelper.cpp -fno-common -DPIC -o common/rdm/.libs/common_libolacommon_la-RDMHelper.o
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/opt/local/include -I./include -I./include -Wall -Wformat -W -fvisibility-inlines-hidden -D_THREAD_SAFE -I/opt/local/include -Werror -Werror -Wno-error=unused-parameter -Wno-error=deprecated-declarations -Wno-error=sign-compare -DPID_DATA_DIR=\"/usr/local/share/ola/pids\" -g -O2 -std=gnu++98 -D_THREAD_SAFE -MT common/rdm/common_libolacommon_la-RDMHelper.lo -MD -MP -MF common/rdm/.deps/common_libolacommon_la-RDMHelper.Tpo -c common/rdm/RDMHelper.cpp -o common/rdm/common_libolacommon_la-RDMHelper.o >/dev/null 2>&1
mv -f common/rdm/.deps/common_libolacommon_la-RDMHelper.Tpo common/rdm/.deps/common_libolacommon_la-RDMHelper.Plo
/bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/opt/local/include -I./include -I./include -Wall -Wformat -W -fvisibility-inlines-hidden -D_THREAD_SAFE -I/opt/local/include -Werror -Werror -Wno-error=unused-parameter -Wno-error=deprecated-declarations -Wno-error=sign-compare -DPID_DATA_DIR=\"/usr/local/share/ola/pids\" -g -O2 -std=gnu++98 -D_THREAD_SAFE -MT common/rdm/common_libolacommon_la-RDMReply.lo -MD -MP -MF common/rdm/.deps/common_libolacommon_la-RDMReply.Tpo -c -o common/rdm/common_libolacommon_la-RDMReply.lo test -f 'common/rdm/RDMReply.cpp' || echo './'
common/rdm/RDMReply.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/opt/local/include -I./include -I./include -Wall -Wformat -W -fvisibility-inlines-hidden -D_THREAD_SAFE -I/opt/local/include -Werror -Werror -Wno-error=unused-parameter -Wno-error=deprecated-declarations -Wno-error=sign-compare -DPID_DATA_DIR=\"/usr/local/share/ola/pids\" -g -O2 -std=gnu++98 -D_THREAD_SAFE -MT common/rdm/common_libolacommon_la-RDMReply.lo -MD -MP -MF common/rdm/.deps/common_libolacommon_la-RDMReply.Tpo -c common/rdm/RDMReply.cpp -fno-common -DPIC -o common/rdm/.libs/common_libolacommon_la-RDMReply.o
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/opt/local/include -I./include -I./include -Wall -Wformat -W -fvisibility-inlines-hidden -D_THREAD_SAFE -I/opt/local/include -Werror -Werror -Wno-error=unused-parameter -Wno-error=deprecated-declarations -Wno-error=sign-compare -DPID_DATA_DIR=\"/usr/local/share/ola/pids\" -g -O2 -std=gnu++98 -D_THREAD_SAFE -MT common/rdm/common_libolacommon_la-RDMReply.lo -MD -MP -MF common/rdm/.deps/common_libolacommon_la-RDMReply.Tpo -c common/rdm/RDMReply.cpp -o common/rdm/common_libolacommon_la-RDMReply.o >/dev/null 2>&1
mv -f common/rdm/.deps/common_libolacommon_la-RDMReply.Tpo common/rdm/.deps/common_libolacommon_la-RDMReply.Plo
/bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/opt/local/include -I./include -I./include -Wall -Wformat -W -fvisibility-inlines-hidden -D_THREAD_SAFE -I/opt/local/include -Werror -Werror -Wno-error=unused-parameter -Wno-error=deprecated-declarations -Wno-error=sign-compare -DPID_DATA_DIR=\"/usr/local/share/ola/pids\" -g -O2 -std=gnu++98 -D_THREAD_SAFE -MT common/rdm/common_libolacommon_la-ResponderHelper.lo -MD -MP -MF common/rdm/.deps/common_libolacommon_la-ResponderHelper.Tpo -c -o common/rdm/common_libolacommon_la-ResponderHelper.lo test -f 'common/rdm/ResponderHelper.cpp' || echo './'
common/rdm/ResponderHelper.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/opt/local/include -I./include -I./include -Wall -Wformat -W -fvisibility-inlines-hidden -D_THREAD_SAFE -I/opt/local/include -Werror -Werror -Wno-error=unused-parameter -Wno-error=deprecated-declarations -Wno-error=sign-compare -DPID_DATA_DIR=\"/usr/local/share/ola/pids\" -g -O2 -std=gnu++98 -D_THREAD_SAFE -MT common/rdm/common_libolacommon_la-ResponderHelper.lo -MD -MP -MF common/rdm/.deps/common_libolacommon_la-ResponderHelper.Tpo -c common/rdm/ResponderHelper.cpp -fno-common -DPIC -o common/rdm/.libs/common_libolacommon_la-ResponderHelper.o
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/opt/local/include -I./include -I./include -Wall -Wformat -W -fvisibility-inlines-hidden -D_THREAD_SAFE -I/opt/local/include -Werror -Werror -Wno-error=unused-parameter -Wno-error=deprecated-declarations -Wno-error=sign-compare -DPID_DATA_DIR=\"/usr/local/share/ola/pids\" -g -O2 -std=gnu++98 -D_THREAD_SAFE -MT common/rdm/common_libolacommon_la-ResponderHelper.lo -MD -MP -MF common/rdm/.deps/common_libolacommon_la-ResponderHelper.Tpo -c common/rdm/ResponderHelper.cpp -o common/rdm/common_libolacommon_la-ResponderHelper.o >/dev/null 2>&1
mv -f common/rdm/.deps/common_libolacommon_la-ResponderHelper.Tpo common/rdm/.deps/common_libolacommon_la-ResponderHelper.Plo
/bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/opt/local/include -I./include -I./include -Wall -Wformat -W -fvisibility-inlines-hidden -D_THREAD_SAFE -I/opt/local/include -Werror -Werror -Wno-error=unused-parameter -Wno-error=deprecated-declarations -Wno-error=sign-compare -DPID_DATA_DIR=\"/usr/local/share/ola/pids\" -g -O2 -std=gnu++98 -D_THREAD_SAFE -MT common/rdm/common_libolacommon_la-ResponderLoadSensor.lo -MD -MP -MF common/rdm/.deps/common_libolacommon_la-ResponderLoadSensor.Tpo -c -o common/rdm/common_libolacommon_la-ResponderLoadSensor.lo test -f 'common/rdm/ResponderLoadSensor.cpp' || echo './'
common/rdm/ResponderLoadSensor.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/opt/local/include -I./include -I./include -Wall -Wformat -W -fvisibility-inlines-hidden -D_THREAD_SAFE -I/opt/local/include -Werror -Werror -Wno-error=unused-parameter -Wno-error=deprecated-declarations -Wno-error=sign-compare -DPID_DATA_DIR=\"/usr/local/share/ola/pids\" -g -O2 -std=gnu++98 -D_THREAD_SAFE -MT common/rdm/common_libolacommon_la-ResponderLoadSensor.lo -MD -MP -MF common/rdm/.deps/common_libolacommon_la-ResponderLoadSensor.Tpo -c common/rdm/ResponderLoadSensor.cpp -fno-common -DPIC -o common/rdm/.libs/common_libolacommon_la-ResponderLoadSensor.o
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/opt/local/include -I./include -I./include -Wall -Wformat -W -fvisibility-inlines-hidden -D_THREAD_SAFE -I/opt/local/include -Werror -Werror -Wno-error=unused-parameter -Wno-error=deprecated-declarations -Wno-error=sign-compare -DPID_DATA_DIR=\"/usr/local/share/ola/pids\" -g -O2 -std=gnu++98 -D_THREAD_SAFE -MT common/rdm/common_libolacommon_la-ResponderLoadSensor.lo -MD -MP -MF common/rdm/.deps/common_libolacommon_la-ResponderLoadSensor.Tpo -c common/rdm/ResponderLoadSensor.cpp -o common/rdm/common_libolacommon_la-ResponderLoadSensor.o >/dev/null 2>&1
mv -f common/rdm/.deps/common_libolacommon_la-ResponderLoadSensor.Tpo common/rdm/.deps/common_libolacommon_la-ResponderLoadSensor.Plo
/bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/opt/local/include -I./include -I./include -Wall -Wformat -W -fvisibility-inlines-hidden -D_THREAD_SAFE -I/opt/local/include -Werror -Werror -Wno-error=unused-parameter -Wno-error=deprecated-declarations -Wno-error=sign-compare -DPID_DATA_DIR=\"/usr/local/share/ola/pids\" -g -O2 -std=gnu++98 -D_THREAD_SAFE -MT common/rdm/common_libolacommon_la-ResponderPersonality.lo -MD -MP -MF common/rdm/.deps/common_libolacommon_la-ResponderPersonality.Tpo -c -o common/rdm/common_libolacommon_la-ResponderPersonality.lo test -f 'common/rdm/ResponderPersonality.cpp' || echo './'
common/rdm/ResponderPersonality.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/opt/local/include -I./include -I./include -Wall -Wformat -W -fvisibility-inlines-hidden -D_THREAD_SAFE -I/opt/local/include -Werror -Werror -Wno-error=unused-parameter -Wno-error=deprecated-declarations -Wno-error=sign-compare -DPID_DATA_DIR=\"/usr/local/share/ola/pids\" -g -O2 -std=gnu++98 -D_THREAD_SAFE -MT common/rdm/common_libolacommon_la-ResponderPersonality.lo -MD -MP -MF common/rdm/.deps/common_libolacommon_la-ResponderPersonality.Tpo -c common/rdm/ResponderPersonality.cpp -fno-common -DPIC -o common/rdm/.libs/common_libolacommon_la-ResponderPersonality.o
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/opt/local/include -I./include -I./include -Wall -Wformat -W -fvisibility-inlines-hidden -D_THREAD_SAFE -I/opt/local/include -Werror -Werror -Wno-error=unused-parameter -Wno-error=deprecated-declarations -Wno-error=sign-compare -DPID_DATA_DIR=\"/usr/local/share/ola/pids\" -g -O2 -std=gnu++98 -D_THREAD_SAFE -MT common/rdm/common_libolacommon_la-ResponderPersonality.lo -MD -MP -MF common/rdm/.deps/common_libolacommon_la-ResponderPersonality.Tpo -c common/rdm/ResponderPersonality.cpp -o common/rdm/common_libolacommon_la-ResponderPersonality.o >/dev/null 2>&1
mv -f common/rdm/.deps/common_libolacommon_la-ResponderPersonality.Tpo common/rdm/.deps/common_libolacommon_la-ResponderPersonality.Plo
/bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/opt/local/include -I./include -I./include -Wall -Wformat -W -fvisibility-inlines-hidden -D_THREAD_SAFE -I/opt/local/include -Werror -Werror -Wno-error=unused-parameter -Wno-error=deprecated-declarations -Wno-error=sign-compare -DPID_DATA_DIR=\"/usr/local/share/ola/pids\" -g -O2 -std=gnu++98 -D_THREAD_SAFE -MT common/rdm/common_libolacommon_la-ResponderSettings.lo -MD -MP -MF common/rdm/.deps/common_libolacommon_la-ResponderSettings.Tpo -c -o common/rdm/common_libolacommon_la-ResponderSettings.lo test -f 'common/rdm/ResponderSettings.cpp' || echo './'
common/rdm/ResponderSettings.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/opt/local/include -I./include -I./include -Wall -Wformat -W -fvisibility-inlines-hidden -D_THREAD_SAFE -I/opt/local/include -Werror -Werror -Wno-error=unused-parameter -Wno-error=deprecated-declarations -Wno-error=sign-compare -DPID_DATA_DIR=\"/usr/local/share/ola/pids\" -g -O2 -std=gnu++98 -D_THREAD_SAFE -MT common/rdm/common_libolacommon_la-ResponderSettings.lo -MD -MP -MF common/rdm/.deps/common_libolacommon_la-ResponderSettings.Tpo -c common/rdm/ResponderSettings.cpp -fno-common -DPIC -o common/rdm/.libs/common_libolacommon_la-ResponderSettings.o
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/opt/local/include -I./include -I./include -Wall -Wformat -W -fvisibility-inlines-hidden -D_THREAD_SAFE -I/opt/local/include -Werror -Werror -Wno-error=unused-parameter -Wno-error=deprecated-declarations -Wno-error=sign-compare -DPID_DATA_DIR=\"/usr/local/share/ola/pids\" -g -O2 -std=gnu++98 -D_THREAD_SAFE -MT common/rdm/common_libolacommon_la-ResponderSettings.lo -MD -MP -MF common/rdm/.deps/common_libolacommon_la-ResponderSettings.Tpo -c common/rdm/ResponderSettings.cpp -o common/rdm/common_libolacommon_la-ResponderSettings.o >/dev/null 2>&1
mv -f common/rdm/.deps/common_libolacommon_la-ResponderSettings.Tpo common/rdm/.deps/common_libolacommon_la-ResponderSettings.Plo
/bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/opt/local/include -I./include -I./include -Wall -Wformat -W -fvisibility-inlines-hidden -D_THREAD_SAFE -I/opt/local/include -Werror -Werror -Wno-error=unused-parameter -Wno-error=deprecated-declarations -Wno-error=sign-compare -DPID_DATA_DIR=\"/usr/local/share/ola/pids\" -g -O2 -std=gnu++98 -D_THREAD_SAFE -MT common/rdm/common_libolacommon_la-ResponderSlotData.lo -MD -MP -MF common/rdm/.deps/common_libolacommon_la-ResponderSlotData.Tpo -c -o common/rdm/common_libolacommon_la-ResponderSlotData.lo test -f 'common/rdm/ResponderSlotData.cpp' || echo './'
common/rdm/ResponderSlotData.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/opt/local/include -I./include -I./include -Wall -Wformat -W -fvisibility-inlines-hidden -D_THREAD_SAFE -I/opt/local/include -Werror -Werror -Wno-error=unused-parameter -Wno-error=deprecated-declarations -Wno-error=sign-compare -DPID_DATA_DIR=\"/usr/local/share/ola/pids\" -g -O2 -std=gnu++98 -D_THREAD_SAFE -MT common/rdm/common_libolacommon_la-ResponderSlotData.lo -MD -MP -MF common/rdm/.deps/common_libolacommon_la-ResponderSlotData.Tpo -c common/rdm/ResponderSlotData.cpp -fno-common -DPIC -o common/rdm/.libs/common_libolacommon_la-ResponderSlotData.o
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/opt/local/include -I./include -I./include -Wall -Wformat -W -fvisibility-inlines-hidden -D_THREAD_SAFE -I/opt/local/include -Werror -Werror -Wno-error=unused-parameter -Wno-error=deprecated-declarations -Wno-error=sign-compare -DPID_DATA_DIR=\"/usr/local/share/ola/pids\" -g -O2 -std=gnu++98 -D_THREAD_SAFE -MT common/rdm/common_libolacommon_la-ResponderSlotData.lo -MD -MP -MF common/rdm/.deps/common_libolacommon_la-ResponderSlotData.Tpo -c common/rdm/ResponderSlotData.cpp -o common/rdm/common_libolacommon_la-ResponderSlotData.o >/dev/null 2>&1
mv -f common/rdm/.deps/common_libolacommon_la-ResponderSlotData.Tpo common/rdm/.deps/common_libolacommon_la-ResponderSlotData.Plo
/bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/opt/local/include -I./include -I./include -Wall -Wformat -W -fvisibility-inlines-hidden -D_THREAD_SAFE -I/opt/local/include -Werror -Werror -Wno-error=unused-parameter -Wno-error=deprecated-declarations -Wno-error=sign-compare -DPID_DATA_DIR=\"/usr/local/share/ola/pids\" -g -O2 -std=gnu++98 -D_THREAD_SAFE -MT common/rdm/common_libolacommon_la-SensorResponder.lo -MD -MP -MF common/rdm/.deps/common_libolacommon_la-SensorResponder.Tpo -c -o common/rdm/common_libolacommon_la-SensorResponder.lo test -f 'common/rdm/SensorResponder.cpp' || echo './'
common/rdm/SensorResponder.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/opt/local/include -I./include -I./include -Wall -Wformat -W -fvisibility-inlines-hidden -D_THREAD_SAFE -I/opt/local/include -Werror -Werror -Wno-error=unused-parameter -Wno-error=deprecated-declarations -Wno-error=sign-compare -DPID_DATA_DIR=\"/usr/local/share/ola/pids\" -g -O2 -std=gnu++98 -D_THREAD_SAFE -MT common/rdm/common_libolacommon_la-SensorResponder.lo -MD -MP -MF common/rdm/.deps/common_libolacommon_la-SensorResponder.Tpo -c common/rdm/SensorResponder.cpp -fno-common -DPIC -o common/rdm/.libs/common_libolacommon_la-SensorResponder.o
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/opt/local/include -I./include -I./include -Wall -Wformat -W -fvisibility-inlines-hidden -D_THREAD_SAFE -I/opt/local/include -Werror -Werror -Wno-error=unused-parameter -Wno-error=deprecated-declarations -Wno-error=sign-compare -DPID_DATA_DIR=\"/usr/local/share/ola/pids\" -g -O2 -std=gnu++98 -D_THREAD_SAFE -MT common/rdm/common_libolacommon_la-SensorResponder.lo -MD -MP -MF common/rdm/.deps/common_libolacommon_la-SensorResponder.Tpo -c common/rdm/SensorResponder.cpp -o common/rdm/common_libolacommon_la-SensorResponder.o >/dev/null 2>&1
mv -f common/rdm/.deps/common_libolacommon_la-SensorResponder.Tpo common/rdm/.deps/common_libolacommon_la-SensorResponder.Plo
/bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/opt/local/include -I./include -I./include -Wall -Wformat -W -fvisibility-inlines-hidden -D_THREAD_SAFE -I/opt/local/include -Werror -Werror -Wno-error=unused-parameter -Wno-error=deprecated-declarations -Wno-error=sign-compare -DPID_DATA_DIR=\"/usr/local/share/ola/pids\" -g -O2 -std=gnu++98 -D_THREAD_SAFE -MT common/rdm/common_libolacommon_la-StringMessageBuilder.lo -MD -MP -MF common/rdm/.deps/common_libolacommon_la-StringMessageBuilder.Tpo -c -o common/rdm/common_libolacommon_la-StringMessageBuilder.lo test -f 'common/rdm/StringMessageBuilder.cpp' || echo './'
common/rdm/StringMessageBuilder.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/opt/local/include -I./include -I./include -Wall -Wformat -W -fvisibility-inlines-hidden -D_THREAD_SAFE -I/opt/local/include -Werror -Werror -Wno-error=unused-parameter -Wno-error=deprecated-declarations -Wno-error=sign-compare -DPID_DATA_DIR=\"/usr/local/share/ola/pids\" -g -O2 -std=gnu++98 -D_THREAD_SAFE -MT common/rdm/common_libolacommon_la-StringMessageBuilder.lo -MD -MP -MF common/rdm/.deps/common_libolacommon_la-StringMessageBuilder.Tpo -c common/rdm/StringMessageBuilder.cpp -fno-common -DPIC -o common/rdm/.libs/common_libolacommon_la-StringMessageBuilder.o
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/opt/local/include -I./include -I./include -Wall -Wformat -W -fvisibility-inlines-hidden -D_THREAD_SAFE -I/opt/local/include -Werror -Werror -Wno-error=unused-parameter -Wno-error=deprecated-declarations -Wno-error=sign-compare -DPID_DATA_DIR=\"/usr/local/share/ola/pids\" -g -O2 -std=gnu++98 -D_THREAD_SAFE -MT common/rdm/common_libolacommon_la-StringMessageBuilder.lo -MD -MP -MF common/rdm/.deps/common_libolacommon_la-StringMessageBuilder.Tpo -c common/rdm/StringMessageBuilder.cpp -o common/rdm/common_libolacommon_la-StringMessageBuilder.o >/dev/null 2>&1
mv -f common/rdm/.deps/common_libolacommon_la-StringMessageBuilder.Tpo common/rdm/.deps/common_libolacommon_la-StringMessageBuilder.Plo
/bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/opt/local/include -I./include -I./include -Wall -Wformat -W -fvisibility-inlines-hidden -D_THREAD_SAFE -I/opt/local/include -Werror -Werror -Wno-error=unused-parameter -Wno-error=deprecated-declarations -Wno-error=sign-compare -DPID_DATA_DIR=\"/usr/local/share/ola/pids\" -g -O2 -std=gnu++98 -D_THREAD_SAFE -MT common/rdm/common_libolacommon_la-SubDeviceDispatcher.lo -MD -MP -MF common/rdm/.deps/common_libolacommon_la-SubDeviceDispatcher.Tpo -c -o common/rdm/common_libolacommon_la-SubDeviceDispatcher.lo test -f 'common/rdm/SubDeviceDispatcher.cpp' || echo './'
common/rdm/SubDeviceDispatcher.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/opt/local/include -I./include -I./include -Wall -Wformat -W -fvisibility-inlines-hidden -D_THREAD_SAFE -I/opt/local/include -Werror -Werror -Wno-error=unused-parameter -Wno-error=deprecated-declarations -Wno-error=sign-compare -DPID_DATA_DIR=\"/usr/local/share/ola/pids\" -g -O2 -std=gnu++98 -D_THREAD_SAFE -MT common/rdm/common_libolacommon_la-SubDeviceDispatcher.lo -MD -MP -MF common/rdm/.deps/common_libolacommon_la-SubDeviceDispatcher.Tpo -c common/rdm/SubDeviceDispatcher.cpp -fno-common -DPIC -o common/rdm/.libs/common_libolacommon_la-SubDeviceDispatcher.o
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/opt/local/include -I./include -I./include -Wall -Wformat -W -fvisibility-inlines-hidden -D_THREAD_SAFE -I/opt/local/include -Werror -Werror -Wno-error=unused-parameter -Wno-error=deprecated-declarations -Wno-error=sign-compare -DPID_DATA_DIR=\"/usr/local/share/ola/pids\" -g -O2 -std=gnu++98 -D_THREAD_SAFE -MT common/rdm/common_libolacommon_la-SubDeviceDispatcher.lo -MD -MP -MF common/rdm/.deps/common_libolacommon_la-SubDeviceDispatcher.Tpo -c common/rdm/SubDeviceDispatcher.cpp -o common/rdm/common_libolacommon_la-SubDeviceDispatcher.o >/dev/null 2>&1
mv -f common/rdm/.deps/common_libolacommon_la-SubDeviceDispatcher.Tpo common/rdm/.deps/common_libolacommon_la-SubDeviceDispatcher.Plo
/bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/opt/local/include -I./include -I./include -Wall -Wformat -W -fvisibility-inlines-hidden -D_THREAD_SAFE -I/opt/local/include -Werror -Werror -Wno-error=unused-parameter -Wno-error=deprecated-declarations -Wno-error=sign-compare -DPID_DATA_DIR=\"/usr/local/share/ola/pids\" -g -O2 -std=gnu++98 -D_THREAD_SAFE -MT common/rdm/common_libolacommon_la-UID.lo -MD -MP -MF common/rdm/.deps/common_libolacommon_la-UID.Tpo -c -o common/rdm/common_libolacommon_la-UID.lo test -f 'common/rdm/UID.cpp' || echo './'
common/rdm/UID.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/opt/local/include -I./include -I./include -Wall -Wformat -W -fvisibility-inlines-hidden -D_THREAD_SAFE -I/opt/local/include -Werror -Werror -Wno-error=unused-parameter -Wno-error=deprecated-declarations -Wno-error=sign-compare -DPID_DATA_DIR=\"/usr/local/share/ola/pids\" -g -O2 -std=gnu++98 -D_THREAD_SAFE -MT common/rdm/common_libolacommon_la-UID.lo -MD -MP -MF common/rdm/.deps/common_libolacommon_la-UID.Tpo -c common/rdm/UID.cpp -fno-common -DPIC -o common/rdm/.libs/common_libolacommon_la-UID.o
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/opt/local/include -I./include -I./include -Wall -Wformat -W -fvisibility-inlines-hidden -D_THREAD_SAFE -I/opt/local/include -Werror -Werror -Wno-error=unused-parameter -Wno-error=deprecated-declarations -Wno-error=sign-compare -DPID_DATA_DIR=\"/usr/local/share/ola/pids\" -g -O2 -std=gnu++98 -D_THREAD_SAFE -MT common/rdm/common_libolacommon_la-UID.lo -MD -MP -MF common/rdm/.deps/common_libolacommon_la-UID.Tpo -c common/rdm/UID.cpp -o common/rdm/common_libolacommon_la-UID.o >/dev/null 2>&1
mv -f common/rdm/.deps/common_libolacommon_la-UID.Tpo common/rdm/.deps/common_libolacommon_la-UID.Plo
/bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/opt/local/include -I./include -I./include -Wall -Wformat -W -fvisibility-inlines-hidden -D_THREAD_SAFE -I/opt/local/include -Werror -Werror -Wno-error=unused-parameter -Wno-error=deprecated-declarations -Wno-error=sign-compare -DPID_DATA_DIR=\"/usr/local/share/ola/pids\" -g -O2 -std=gnu++98 -D_THREAD_SAFE -MT common/rdm/common_libolacommon_la-VariableFieldSizeCalculator.lo -MD -MP -MF common/rdm/.deps/common_libolacommon_la-VariableFieldSizeCalculator.Tpo -c -o common/rdm/common_libolacommon_la-VariableFieldSizeCalculator.lo test -f 'common/rdm/VariableFieldSizeCalculator.cpp' || echo './'
common/rdm/VariableFieldSizeCalculator.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/opt/local/include -I./include -I./include -Wall -Wformat -W -fvisibility-inlines-hidden -D_THREAD_SAFE -I/opt/local/include -Werror -Werror -Wno-error=unused-parameter -Wno-error=deprecated-declarations -Wno-error=sign-compare -DPID_DATA_DIR=\"/usr/local/share/ola/pids\" -g -O2 -std=gnu++98 -D_THREAD_SAFE -MT common/rdm/common_libolacommon_la-VariableFieldSizeCalculator.lo -MD -MP -MF common/rdm/.deps/common_libolacommon_la-VariableFieldSizeCalculator.Tpo -c common/rdm/VariableFieldSizeCalculator.cpp -fno-common -DPIC -o common/rdm/.libs/common_libolacommon_la-VariableFieldSizeCalculator.o
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/opt/local/include -I./include -I./include -Wall -Wformat -W -fvisibility-inlines-hidden -D_THREAD_SAFE -I/opt/local/include -Werror -Werror -Wno-error=unused-parameter -Wno-error=deprecated-declarations -Wno-error=sign-compare -DPID_DATA_DIR=\"/usr/local/share/ola/pids\" -g -O2 -std=gnu++98 -D_THREAD_SAFE -MT common/rdm/common_libolacommon_la-VariableFieldSizeCalculator.lo -MD -MP -MF common/rdm/.deps/common_libolacommon_la-VariableFieldSizeCalculator.Tpo -c common/rdm/VariableFieldSizeCalculator.cpp -o common/rdm/common_libolacommon_la-VariableFieldSizeCalculator.o >/dev/null 2>&1
mv -f common/rdm/.deps/common_libolacommon_la-VariableFieldSizeCalculator.Tpo common/rdm/.deps/common_libolacommon_la-VariableFieldSizeCalculator.Plo
/bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/opt/local/include -I./include -I./include -Wall -Wformat -W -fvisibility-inlines-hidden -D_THREAD_SAFE -I/opt/local/include -Werror -Werror -Wno-error=unused-parameter -Wno-error=deprecated-declarations -Wno-error=sign-compare -DPID_DATA_DIR=\"/usr/local/share/ola/pids\" -g -O2 -std=gnu++98 -D_THREAD_SAFE -MT common/rpc/common_libolacommon_la-RpcChannel.lo -MD -MP -MF common/rpc/.deps/common_libolacommon_la-RpcChannel.Tpo -c -o common/rpc/common_libolacommon_la-RpcChannel.lo test -f 'common/rpc/RpcChannel.cpp' || echo './'
common/rpc/RpcChannel.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/opt/local/include -I./include -I./include -Wall -Wformat -W -fvisibility-inlines-hidden -D_THREAD_SAFE -I/opt/local/include -Werror -Werror -Wno-error=unused-parameter -Wno-error=deprecated-declarations -Wno-error=sign-compare -DPID_DATA_DIR=\"/usr/local/share/ola/pids\" -g -O2 -std=gnu++98 -D_THREAD_SAFE -MT common/rpc/common_libolacommon_la-RpcChannel.lo -MD -MP -MF common/rpc/.deps/common_libolacommon_la-RpcChannel.Tpo -c common/rpc/RpcChannel.cpp -fno-common -DPIC -o common/rpc/.libs/common_libolacommon_la-RpcChannel.o
In file included from common/rpc/RpcChannel.cpp:25:
In file included from /opt/local/include/google/protobuf/message.h:120:
/opt/local/include/google/protobuf/descriptor.h:1283:21: warning: unused
parameter 'filename' [-Wunused-parameter]
const string& filename, // File name in which the error occurred.
^
/opt/local/include/google/protobuf/descriptor.h:1284:21: warning: unused
parameter 'element_name' [-Wunused-parameter]
const string& element_name, // Full name of the erroneous element.
^
/opt/local/include/google/protobuf/descriptor.h:1285:22: warning: unused
parameter 'descriptor' [-Wunused-parameter]
const Message descriptor, // Descriptor of the erroneous element.
^
/opt/local/include/google/protobuf/descriptor.h:1286:21: warning: unused
parameter 'location' [-Wunused-parameter]
ErrorLocation location, // One of the location constants, above.
^
/opt/local/include/google/protobuf/descriptor.h:1287:21: warning: unused
parameter 'message' [-Wunused-parameter]
const string& message // Human-readable error message.
^
In file included from common/rpc/RpcChannel.cpp:25:
/opt/local/include/google/protobuf/message.h:392:40: warning: unused parameter
'message' [-Wunused-parameter]
virtual bool HasOneof(const Message& message,
^
/opt/local/include/google/protobuf/message.h:393:48: warning: unused parameter
'oneof_descriptor' [-Wunused-parameter]
const OneofDescriptor oneof_descriptor) const {
^
/opt/local/include/google/protobuf/message.h:397:36: warning: unused parameter
'message' [-Wunused-parameter]
virtual void ClearOneof(Message message,
^
/opt/local/include/google/protobuf/message.h:398:50: warning: unused parameter
'oneof_descriptor' [-Wunused-parameter]
const OneofDescriptor oneof_descriptor) const {}
^
/opt/local/include/google/protobuf/message.h:403:22: warning: unused parameter
'message' [-Wunused-parameter]
const Message& message,
^
/opt/local/include/google/protobuf/message.h:404:30: warning: unused parameter
'oneof_descriptor' [-Wunused-parameter]
const OneofDescriptor* oneof_descriptor) const {
^
In file included from common/rpc/RpcChannel.cpp:30:
In file included from ./common/rpc/Rpc.pb.h:24:
/opt/local/include/google/protobuf/repeated_field.h:86:34: warning: unused
parameter 'begin' [-Wunused-parameter]
inline int CalculateReserve(Iter begin, Iter end, std::input_iterator_tag) {
^
/opt/local/include/google/protobuf/repeated_field.h:86:46: warning: unused
parameter 'end' [-Wunused-parameter]
inline int CalculateReserve(Iter begin, Iter end, std::input_iterator_tag) {
^
13 warnings generated.
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/opt/local/include -I./include -I./include -Wall -Wformat -W -fvisibility-inlines-hidden -D_THREAD_SAFE -I/opt/local/include -Werror -Werror -Wno-error=unused-parameter -Wno-error=deprecated-declarations -Wno-error=sign-compare -DPID_DATA_DIR=\"/usr/local/share/ola/pids\" -g -O2 -std=gnu++98 -D_THREAD_SAFE -MT common/rpc/common_libolacommon_la-RpcChannel.lo -MD -MP -MF common/rpc/.deps/common_libolacommon_la-RpcChannel.Tpo -c common/rpc/RpcChannel.cpp -o common/rpc/common_libolacommon_la-RpcChannel.o >/dev/null 2>&1
mv -f common/rpc/.deps/common_libolacommon_la-RpcChannel.Tpo common/rpc/.deps/common_libolacommon_la-RpcChannel.Plo
/bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/opt/local/include -I./include -I./include -Wall -Wformat -W -fvisibility-inlines-hidden -D_THREAD_SAFE -I/opt/local/include -Werror -Werror -Wno-error=unused-parameter -Wno-error=deprecated-declarations -Wno-error=sign-compare -DPID_DATA_DIR=\"/usr/local/share/ola/pids\" -g -O2 -std=gnu++98 -D_THREAD_SAFE -MT common/rpc/common_libolacommon_la-RpcController.lo -MD -MP -MF common/rpc/.deps/common_libolacommon_la-RpcController.Tpo -c -o common/rpc/common_libolacommon_la-RpcController.lo test -f 'common/rpc/RpcController.cpp' || echo './'
common/rpc/RpcController.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/opt/local/include -I./include -I./include -Wall -Wformat -W -fvisibility-inlines-hidden -D_THREAD_SAFE -I/opt/local/include -Werror -Werror -Wno-error=unused-parameter -Wno-error=deprecated-declarations -Wno-error=sign-compare -DPID_DATA_DIR=\"/usr/local/share/ola/pids\" -g -O2 -std=gnu++98 -D_THREAD_SAFE -MT common/rpc/common_libolacommon_la-RpcController.lo -MD -MP -MF common/rpc/.deps/common_libolacommon_la-RpcController.Tpo -c common/rpc/RpcController.cpp -fno-common -DPIC -o common/rpc/.libs/common_libolacommon_la-RpcController.o
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/opt/local/include -I./include -I./include -Wall -Wformat -W -fvisibility-inlines-hidden -D_THREAD_SAFE -I/opt/local/include -Werror -Werror -Wno-error=unused-parameter -Wno-error=deprecated-declarations -Wno-error=sign-compare -DPID_DATA_DIR=\"/usr/local/share/ola/pids\" -g -O2 -std=gnu++98 -D_THREAD_SAFE -MT common/rpc/common_libolacommon_la-RpcController.lo -MD -MP -MF common/rpc/.deps/common_libolacommon_la-RpcController.Tpo -c common/rpc/RpcController.cpp -o common/rpc/common_libolacommon_la-RpcController.o >/dev/null 2>&1
mv -f common/rpc/.deps/common_libolacommon_la-RpcController.Tpo common/rpc/.deps/common_libolacommon_la-RpcController.Plo
/bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/opt/local/include -I./include -I./include -Wall -Wformat -W -fvisibility-inlines-hidden -D_THREAD_SAFE -I/opt/local/include -Werror -Werror -Wno-error=unused-parameter -Wno-error=deprecated-declarations -Wno-error=sign-compare -DPID_DATA_DIR=\"/usr/local/share/ola/pids\" -g -O2 -std=gnu++98 -D_THREAD_SAFE -MT common/rpc/common_libolacommon_la-RpcServer.lo -MD -MP -MF common/rpc/.deps/common_libolacommon_la-RpcServer.Tpo -c -o common/rpc/common_libolacommon_la-RpcServer.lo test -f 'common/rpc/RpcServer.cpp' || echo './'
common/rpc/RpcServer.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/opt/local/include -I./include -I./include -Wall -Wformat -W -fvisibility-inlines-hidden -D_THREAD_SAFE -I/opt/local/include -Werror -Werror -Wno-error=unused-parameter -Wno-error=deprecated-declarations -Wno-error=sign-compare -DPID_DATA_DIR=\"/usr/local/share/ola/pids\" -g -O2 -std=gnu++98 -D_THREAD_SAFE -MT common/rpc/common_libolacommon_la-RpcServer.lo -MD -MP -MF common/rpc/.deps/common_libolacommon_la-RpcServer.Tpo -c common/rpc/RpcServer.cpp -fno-common -DPIC -o common/rpc/.libs/common_libolacommon_la-RpcServer.o
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/opt/local/include -I./include -I./include -Wall -Wformat -W -fvisibility-inlines-hidden -D_THREAD_SAFE -I/opt/local/include -Werror -Werror -Wno-error=unused-parameter -Wno-error=deprecated-declarations -Wno-error=sign-compare -DPID_DATA_DIR=\"/usr/local/share/ola/pids\" -g -O2 -std=gnu++98 -D_THREAD_SAFE -MT common/rpc/common_libolacommon_la-RpcServer.lo -MD -MP -MF common/rpc/.deps/common_libolacommon_la-RpcServer.Tpo -c common/rpc/RpcServer.cpp -o common/rpc/common_libolacommon_la-RpcServer.o >/dev/null 2>&1
mv -f common/rpc/.deps/common_libolacommon_la-RpcServer.Tpo common/rpc/.deps/common_libolacommon_la-RpcServer.Plo
/bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/opt/local/include -I./include -I./include -Wall -Wformat -W -fvisibility-inlines-hidden -D_THREAD_SAFE -I/opt/local/include -Werror -Werror -Wno-error=unused-parameter -Wno-error=deprecated-declarations -Wno-error=sign-compare -DPID_DATA_DIR=\"/usr/local/share/ola/pids\" -g -O2 -std=gnu++98 -D_THREAD_SAFE -MT common/strings/common_libolacommon_la-Format.lo -MD -MP -MF common/strings/.deps/common_libolacommon_la-Format.Tpo -c -o common/strings/common_libolacommon_la-Format.lo test -f 'common/strings/Format.cpp' || echo './'
common/strings/Format.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/opt/local/include -I./include -I./include -Wall -Wformat -W -fvisibility-inlines-hidden -D_THREAD_SAFE -I/opt/local/include -Werror -Werror -Wno-error=unused-parameter -Wno-error=deprecated-declarations -Wno-error=sign-compare -DPID_DATA_DIR=\"/usr/local/share/ola/pids\" -g -O2 -std=gnu++98 -D_THREAD_SAFE -MT common/strings/common_libolacommon_la-Format.lo -MD -MP -MF common/strings/.deps/common_libolacommon_la-Format.Tpo -c common/strings/Format.cpp -fno-common -DPIC -o common/strings/.libs/common_libolacommon_la-Format.o
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/opt/local/include -I./include -I./include -Wall -Wformat -W -fvisibility-inlines-hidden -D_THREAD_SAFE -I/opt/local/include -Werror -Werror -Wno-error=unused-parameter -Wno-error=deprecated-declarations -Wno-error=sign-compare -DPID_DATA_DIR=\"/usr/local/share/ola/pids\" -g -O2 -std=gnu++98 -D_THREAD_SAFE -MT common/strings/common_libolacommon_la-Format.lo -MD -MP -MF common/strings/.deps/common_libolacommon_la-Format.Tpo -c common/strings/Format.cpp -o common/strings/common_libolacommon_la-Format.o >/dev/null 2>&1
mv -f common/strings/.deps/common_libolacommon_la-Format.Tpo common/strings/.deps/common_libolacommon_la-Format.Plo
/bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/opt/local/include -I./include -I./include -Wall -Wformat -W -fvisibility-inlines-hidden -D_THREAD_SAFE -I/opt/local/include -Werror -Werror -Wno-error=unused-parameter -Wno-error=deprecated-declarations -Wno-error=sign-compare -DPID_DATA_DIR=\"/usr/local/share/ola/pids\" -g -O2 -std=gnu++98 -D_THREAD_SAFE -MT common/strings/common_libolacommon_la-Utils.lo -MD -MP -MF common/strings/.deps/common_libolacommon_la-Utils.Tpo -c -o common/strings/common_libolacommon_la-Utils.lo test -f 'common/strings/Utils.cpp' || echo './'
common/strings/Utils.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/opt/local/include -I./include -I./include -Wall -Wformat -W -fvisibility-inlines-hidden -D_THREAD_SAFE -I/opt/local/include -Werror -Werror -Wno-error=unused-parameter -Wno-error=deprecated-declarations -Wno-error=sign-compare -DPID_DATA_DIR=\"/usr/local/share/ola/pids\" -g -O2 -std=gnu++98 -D_THREAD_SAFE -MT common/strings/common_libolacommon_la-Utils.lo -MD -MP -MF common/strings/.deps/common_libolacommon_la-Utils.Tpo -c common/strings/Utils.cpp -fno-common -DPIC -o common/strings/.libs/common_libolacommon_la-Utils.o
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/opt/local/include -I./include -I./include -Wall -Wformat -W -fvisibility-inlines-hidden -D_THREAD_SAFE -I/opt/local/include -Werror -Werror -Wno-error=unused-parameter -Wno-error=deprecated-declarations -Wno-error=sign-compare -DPID_DATA_DIR=\"/usr/local/share/ola/pids\" -g -O2 -std=gnu++98 -D_THREAD_SAFE -MT common/strings/common_libolacommon_la-Utils.lo -MD -MP -MF common/strings/.deps/common_libolacommon_la-Utils.Tpo -c common/strings/Utils.cpp -o common/strings/common_libolacommon_la-Utils.o >/dev/null 2>&1
mv -f common/strings/.deps/common_libolacommon_la-Utils.Tpo common/strings/.deps/common_libolacommon_la-Utils.Plo
/bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/opt/local/include -I./include -I./include -Wall -Wformat -W -fvisibility-inlines-hidden -D_THREAD_SAFE -I/opt/local/include -Werror -Werror -Wno-error=unused-parameter -Wno-error=deprecated-declarations -Wno-error=sign-compare -DPID_DATA_DIR=\"/usr/local/share/ola/pids\" -g -O2 -std=gnu++98 -D_THREAD_SAFE -MT common/system/common_libolacommon_la-Limits.lo -MD -MP -MF common/system/.deps/common_libolacommon_la-Limits.Tpo -c -o common/system/common_libolacommon_la-Limits.lo test -f 'common/system/Limits.cpp' || echo './'
common/system/Limits.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/opt/local/include -I./include -I./include -Wall -Wformat -W -fvisibility-inlines-hidden -D_THREAD_SAFE -I/opt/local/include -Werror -Werror -Wno-error=unused-parameter -Wno-error=deprecated-declarations -Wno-error=sign-compare -DPID_DATA_DIR=\"/usr/local/share/ola/pids\" -g -O2 -std=gnu++98 -D_THREAD_SAFE -MT common/system/common_libolacommon_la-Limits.lo -MD -MP -MF common/system/.deps/common_libolacommon_la-Limits.Tpo -c common/system/Limits.cpp -fno-common -DPIC
That's a separate issue (which I think we may have fixed for the next release). Can you try adding --disable-fatal-warnings to configure.
Hi - this is less an issue, and more a sort-of pull-request. I couldn't find python3 bindings for OLA so I ran the existing python2 bindings through the 2to3 tool, then fixed the remaining unicode string issues manually. As far as I can tell from my usage, it works just fine, and the patched source is available here: https://bitbucket.org/cubescape/ola-python3/src
If that's helpful, please feel free to make use of it. If not, it's working for my use-cases, so I'm happy either way.
Cheers, Tom