Here from Ubuntu, rev 11534: [ 0%] Generating rxsubcom.1.gz [ 0%] Built target rxsubcom_man [ 0%] Building CXX object CMakeFiles/rexxapi.dir/rexxapi/common/platform/unix/SysCSStream.cpp.o /home/rony/dev/oorexx-code-0/sandbox/rick/rxapi/rexxapi/common/platform/unix/SysCSStream.cpp: In member function ´bool SysLocalSocketConnection::connect(const char*)`: /home/rony/dev/oorexx-code-0/sandbox/rick/rxapi/rexxapi/common/platform/unix/SysCSStream.cpp:251:64: error: cannot convert ´in_addr` to ´char*` for argument ´1` to ´char* strncpy(char*, const char*, size_t)` strncpy (name.sin_addr, serviceName, sizeof (name.sin_addr)); ^ /home/rony/dev/oorexx-code-0/sandbox/rick/rxapi/rexxapi/common/platform/unix/SysCSStream.cpp:253:18: error: no match for ´operator[]` (operand types are ´in_addr` and ´long unsigned int`) name.sin_addr[sizeof (name.sin_addr) - 1] = '\0'; ^ /home/rony/dev/oorexx-code-0/sandbox/rick/rxapi/rexxapi/common/platform/unix/SysCSStream.cpp:255:33: error: expected primary-expression before ´struct` socklen_t size = (offsetof (struct sockaddr_un, sin_addr) ^ /home/rony/dev/oorexx-code-0/sandbox/rick/rxapi/rexxapi/common/platform/unix/SysCSStream.cpp:255:53: error: ´sin_addr` was not declared in this scope socklen_t size = (offsetof (struct sockaddr_un, sin_addr) ^ /home/rony/dev/oorexx-code-0/sandbox/rick/rxapi/rexxapi/common/platform/unix/SysCSStream.cpp:255:61: error: ´offsetof` was not declared in this scope socklen_t size = (offsetof (struct sockaddr_un, sin_addr) ^ /home/rony/dev/oorexx-code-0/sandbox/rick/rxapi/rexxapi/common/platform/unix/SysCSStream.cpp:256:34: error: cannot convert ´in_addr` to ´const char*` for argument ´1` to ´size_t strlen(const char*)` + strlen (name.sin_addr)); ^ /home/rony/dev/oorexx-code-0/sandbox/rick/rxapi/rexxapi/common/platform/unix/SysCSStream.cpp: In member function ´virtual bool SysServerSocketConnectionManager::disconnect()`: /home/rony/dev/oorexx-code-0/sandbox/rick/rxapi/rexxapi/common/platform/unix/SysCSStream.cpp:317:22: error: ´userServiceName` was not declared in this scope free((void *)userServiceName); ^ /home/rony/dev/oorexx-code-0/sandbox/rick/rxapi/rexxapi/common/platform/unix/SysCSStream.cpp: In member function ´bool SysServerLocalSocketConnectionManager::bind(const char*)`: /home/rony/dev/oorexx-code-0/sandbox/rick/rxapi/rexxapi/common/platform/unix/SysCSStream.cpp:356:64: error: cannot convert ´in_addr` to ´char*` for argument ´1` to ´char* strncpy(char*, const char*, size_t)` strncpy (name.sin_addr, serviceName, sizeof (name.sin_addr)); ^ /home/rony/dev/oorexx-code-0/sandbox/rick/rxapi/rexxapi/common/platform/unix/SysCSStream.cpp:358:18: error: no match for ´operator[]` (operand types are ´in_addr` and ´long unsigned int`) name.sin_addr[sizeof (name.sin_addr) - 1] = '\0'; ^ /home/rony/dev/oorexx-code-0/sandbox/rick/rxapi/rexxapi/common/platform/unix/SysCSStream.cpp:360:30: error: expected primary-expression before ´struct` size_t size = (offsetof (struct sockaddr_un, sin_addr) ^ /home/rony/dev/oorexx-code-0/sandbox/rick/rxapi/rexxapi/common/platform/unix/SysCSStream.cpp:360:50: error: ´sin_addr` was not declared in this scope size_t size = (offsetof (struct sockaddr_un, sin_addr) ^ /home/rony/dev/oorexx-code-0/sandbox/rick/rxapi/rexxapi/common/platform/unix/SysCSStream.cpp:360:58: error: ´offsetof` was not declared in this scope size_t size = (offsetof (struct sockaddr_un, sin_addr) ^ /home/rony/dev/oorexx-code-0/sandbox/rick/rxapi/rexxapi/common/platform/unix/SysCSStream.cpp:361:34: error: cannot convert ´in_addr` to ´const char*` for argument ´1` to ´size_t strlen(const char*)` + strlen (name.sin_addr)); ^ /home/rony/dev/oorexx-code-0/sandbox/rick/rxapi/rexxapi/common/platform/unix/SysCSStream.cpp: At global scope: /home/rony/dev/oorexx-code-0/sandbox/rick/rxapi/rexxapi/common/platform/unix/SysCSStream.cpp:439:69: error: no ´const char* SysServerLocalSocketConnectionManager::generatePipeName()` member function declared in class ´SysServerLocalSocketConnectionManager` const char *SysServerLocalSocketConnectionManager::generatePipeName() ^ CMakeFiles/rexxapi.dir/build.make:566: recipe for target 'CMakeFiles/rexxapi.dir/rexxapi/common/platform/unix/SysCSStream.cpp.o' failed make[2]: *** [CMakeFiles/rexxapi.dir/rexxapi/common/platform/unix/SysCSStream.cpp.o] Error 1 CMakeFiles/Makefile2:444: recipe for target 'CMakeFiles/rexxapi.dir/all' failed make[1]: *** [CMakeFiles/rexxapi.dir/all] Error 2 Makefile:149: recipe for target 'all' failed make: *** [all] Error 2
---rony On 28.11.2018 15:22, Rick McGuire wrote: > Thanks, most of these should be fixed but a couple of the errors puzzled me. > Let's see if they go > away. > > Rick
_______________________________________________ Oorexx-devel mailing list Oorexx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oorexx-devel