[etherlab-users] Installing DLS in MacOSX

Daniel Lemus dslemusp at gmail.com
Wed Apr 24 11:41:23 CEST 2019


Hi

I have a ‘target’ PC (Linux RT) with Etherlab and DLS running and a ‘host’ PC (MacOSX) with test manager as supervision. I have made scripts in the host to easily start and stop the DLS in the target. Given that the dls export command takes too much time to convert the stored data into ASCII or MAT files in the target, I copied over ssh the original job folder to the host with all the data (being much faster) to later run the dls export in the host. However I have been trouble trying to install DLS in my host (being a MacOSX). I managed to install the PdCom but once I tried to install the DLS I got stuck once I run the make command (see below).

Given that I only interested on running the dls export in the host I am wondering if there is a better way to convert the data without installing the DLS, or an easy fix to install the DLS in my Mac.

Thank you

Daniel Lemus


/Applications/Xcode.app/Contents/Developer/usr/bin/make  all-recursive
Making all in proto
protoc dls.proto --cpp_out=.
[libprotobuf WARNING google/protobuf/compiler/parser.cc:564] No syntax specified for the proto file: dls.proto. Please use 'syntax = "proto2";' or 'syntax = "proto3";' to specify a syntax version. (Defaulted to proto2 syntax.)
Making all in lib
Making all in LibDLS
make[3]: Nothing to be done for `all'.
/bin/sh ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..   -I/usr/local/etherlab/include -Wall -I/usr/local/include -I/usr/include -I/usr/local/opt/libxml2/include/libxml2 -g -O2 -MT libdls_la-Base64.lo -MD -MP -MF .deps/libdls_la-Base64.Tpo -c -o libdls_la-Base64.lo `test -f 'Base64.cpp' || echo './'`Base64.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/local/etherlab/include -Wall -I/usr/local/include -I/usr/include -I/usr/local/opt/libxml2/include/libxml2 -g -O2 -MT libdls_la-Base64.lo -MD -MP -MF .deps/libdls_la-Base64.Tpo -c Base64.cpp  -fno-common -DPIC -o .libs/libdls_la-Base64.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/local/etherlab/include -Wall -I/usr/local/include -I/usr/include -I/usr/local/opt/libxml2/include/libxml2 -g -O2 -MT libdls_la-Base64.lo -MD -MP -MF .deps/libdls_la-Base64.Tpo -c Base64.cpp -o libdls_la-Base64.o >/dev/null 2>&1
mv -f .deps/libdls_la-Base64.Tpo .deps/libdls_la-Base64.Plo
/bin/sh ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..   -I/usr/local/etherlab/include -Wall -I/usr/local/include -I/usr/include -I/usr/local/opt/libxml2/include/libxml2 -g -O2 -MT libdls_la-BaseMessage.lo -MD -MP -MF .deps/libdls_la-BaseMessage.Tpo -c -o libdls_la-BaseMessage.lo `test -f 'BaseMessage.cpp' || echo './'`BaseMessage.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/local/etherlab/include -Wall -I/usr/local/include -I/usr/include -I/usr/local/opt/libxml2/include/libxml2 -g -O2 -MT libdls_la-BaseMessage.lo -MD -MP -MF .deps/libdls_la-BaseMessage.Tpo -c BaseMessage.cpp  -fno-common -DPIC -o .libs/libdls_la-BaseMessage.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/local/etherlab/include -Wall -I/usr/local/include -I/usr/include -I/usr/local/opt/libxml2/include/libxml2 -g -O2 -MT libdls_la-BaseMessage.lo -MD -MP -MF .deps/libdls_la-BaseMessage.Tpo -c BaseMessage.cpp -o libdls_la-BaseMessage.o >/dev/null 2>&1
mv -f .deps/libdls_la-BaseMessage.Tpo .deps/libdls_la-BaseMessage.Plo
/bin/sh ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..   -I/usr/local/etherlab/include -Wall -I/usr/local/include -I/usr/include -I/usr/local/opt/libxml2/include/libxml2 -g -O2 -MT libdls_la-BaseMessageList.lo -MD -MP -MF .deps/libdls_la-BaseMessageList.Tpo -c -o libdls_la-BaseMessageList.lo `test -f 'BaseMessageList.cpp' || echo './'`BaseMessageList.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/local/etherlab/include -Wall -I/usr/local/include -I/usr/include -I/usr/local/opt/libxml2/include/libxml2 -g -O2 -MT libdls_la-BaseMessageList.lo -MD -MP -MF .deps/libdls_la-BaseMessageList.Tpo -c BaseMessageList.cpp  -fno-common -DPIC -o .libs/libdls_la-BaseMessageList.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/local/etherlab/include -Wall -I/usr/local/include -I/usr/include -I/usr/local/opt/libxml2/include/libxml2 -g -O2 -MT libdls_la-BaseMessageList.lo -MD -MP -MF .deps/libdls_la-BaseMessageList.Tpo -c BaseMessageList.cpp -o libdls_la-BaseMessageList.o >/dev/null 2>&1
mv -f .deps/libdls_la-BaseMessageList.Tpo .deps/libdls_la-BaseMessageList.Plo
/bin/sh ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..   -I/usr/local/etherlab/include -Wall -I/usr/local/include -I/usr/include -I/usr/local/opt/libxml2/include/libxml2 -g -O2 -MT libdls_la-Channel.lo -MD -MP -MF .deps/libdls_la-Channel.Tpo -c -o libdls_la-Channel.lo `test -f 'Channel.cpp' || echo './'`Channel.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/local/etherlab/include -Wall -I/usr/local/include -I/usr/include -I/usr/local/opt/libxml2/include/libxml2 -g -O2 -MT libdls_la-Channel.lo -MD -MP -MF .deps/libdls_la-Channel.Tpo -c Channel.cpp  -fno-common -DPIC -o .libs/libdls_la-Channel.o
In file included from Channel.cpp:36:
In file included from ../proto/dls.pb.h:23:
In file included from /usr/local/include/google/protobuf/io/coded_stream.h:135:
/usr/local/include/google/protobuf/stubs/common.h:186:17: error: expected expression
  OnShutdownRun([](const void* pp) { delete static_cast<const T*>(pp); }, p);
                ^
In file included from Channel.cpp:36:
In file included from ../proto/dls.pb.h:26:
In file included from /usr/local/include/google/protobuf/generated_message_table_driven.h:34:
In file included from /usr/local/include/google/protobuf/map.h:49:
In file included from /usr/local/include/google/protobuf/map_type_handler.h:35:
In file included from /usr/local/include/google/protobuf/wire_format_lite_inl.h:45:
/usr/local/include/google/protobuf/message_lite.h:136:3: error: unknown type name 'constexpr'
  constexpr const T& get() const { return reinterpret_cast<const T&>(union_); }
  ^
/usr/local/include/google/protobuf/message_lite.h:136:13: error: expected member name or ';' after declaration specifiers
  constexpr const T& get() const { return reinterpret_cast<const T&>(union_); }
  ~~~~~~~~~ ^
/usr/local/include/google/protobuf/message_lite.h:129:11: error: use of undeclared identifier 'union_'
    new (&union_) T();
          ^
/usr/local/include/google/protobuf/message_lite.h:133:5: error: use of undeclared identifier 'get_mutable'
    get_mutable()->~T();
    ^
/usr/local/include/google/protobuf/message_lite.h:150:45: error: found '<::' after a template name which forms the digraph '<:'
      (aka '[') and a ':', did you mean '< ::'?
PROTOBUF_EXPORT extern ExplicitlyConstructed<::std::string>
                                            ^
/usr/local/include/google/protobuf/message_lite.h:155:37: error: no member named 'get' in
      'google::protobuf::internal::ExplicitlyConstructed<std::__1::basic_string<char> >'
  return fixed_address_empty_string.get();
         ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
/usr/local/include/google/protobuf/message_lite.h:513:3: error: unknown type name 'constexpr'
  constexpr bool alias = flags & kMergeWithAliasing;
  ^
/usr/local/include/google/protobuf/message_lite.h:513:13: error: expected unqualified-id
  constexpr bool alias = flags & kMergeWithAliasing;
            ^
/usr/local/include/google/protobuf/message_lite.h:514:41: error: use of undeclared identifier 'alias'
  return internal::MergePartialFromImpl<alias>(input, this) &&
                                        ^
In file included from Channel.cpp:36:
In file included from ../proto/dls.pb.h:26:
In file included from /usr/local/include/google/protobuf/generated_message_table_driven.h:34:
In file included from /usr/local/include/google/protobuf/map.h:49:
In file included from /usr/local/include/google/protobuf/map_type_handler.h:35:
In file included from /usr/local/include/google/protobuf/wire_format_lite_inl.h:46:
/usr/local/include/google/protobuf/repeated_field.h:130:39: error: expected ';' at end of declaration list
  RepeatedField(RepeatedField&& other) noexcept;
                                      ^
/usr/local/include/google/protobuf/repeated_field.h:131:50: error: expected ';' at end of declaration list
  RepeatedField& operator=(RepeatedField&& other) noexcept;
                                                 ^
/usr/local/include/google/protobuf/repeated_field.h:787:45: error: expected ';' at end of declaration list
  RepeatedPtrField(RepeatedPtrField&& other) noexcept;
                                            ^
/usr/local/include/google/protobuf/repeated_field.h:788:56: error: expected ';' at end of declaration list
  RepeatedPtrField& operator=(RepeatedPtrField&& other) noexcept;
                                                       ^
/usr/local/include/google/protobuf/repeated_field.h:1097:68: error: expected ';' at end of declaration
inline RepeatedField<Element>::RepeatedField(RepeatedField&& other) noexcept
                                                                   ^
/usr/local/include/google/protobuf/repeated_field.h:1097:69: error: unknown type name 'noexcept'
inline RepeatedField<Element>::RepeatedField(RepeatedField&& other) noexcept
                                                                    ^
/usr/local/include/google/protobuf/repeated_field.h:1098:5: error: expected unqualified-id
    : RepeatedField() {
    ^
/usr/local/include/google/protobuf/repeated_field.h:1110:27: error: expected ';' at end of declaration
    RepeatedField&& other) noexcept {
                          ^
/usr/local/include/google/protobuf/repeated_field.h:1110:28: error: C++ requires a type specifier for all declarations
    RepeatedField&& other) noexcept {
                           ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[3]: *** [libdls_la-Channel.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.etherlab.org/pipermail/etherlab-users/attachments/20190424/5f6ed034/attachment-0002.htm>


More information about the Etherlab-users mailing list