[ace-users] [OpenBSD 5.8 ACE 6.3.0 ]: the first source file does not compile...

Johnny Willemsen jwillemsen at remedy.nl
Thu Mar 31 01:55:28 CDT 2016


Hi,

Thanks for using the PRF form. As far as I can trace back in the code
there has been some work to support OpenBSD 5.6 but not anything newer.

See if you can tweak the ace/config-openbsd.h to work with this newer
version (do add version checks so that you edits are purely for 5.8) or
hire someone to do that for you, see
http://www.dre.vanderbilt.edu/~schmidt/commercial-support.html for the
companies that provide commercial support, including Remedy IT, the
company I work for.

Best regards,

Johnny Willemsen
Remedy IT

On 03/30/2016 10:27 PM, Lelapin Jeannot wrote:
> ACE VERSION: 6.3.0
> 
>     HOST MACHINE and OPERATING SYSTEM:
>         OpenBSD 5.8/packages/amd64
> 
>     TARGET MACHINE and OPERATING SYSTEM, if different from HOST:
>     COMPILER NAME AND VERSION (AND PATCHLEVEL):
>         Reading specs from
> /usr/lib/gcc-lib/amd64-unknown-openbsd5.8/4.2.1/specs
>     Target: amd64-unknown-openbsd5.8
>     Configured with: OpenBSD/amd64 system compiler
>     Thread model: posix
>     gcc version 4.2.1 20070719
> 
> 
>     THE $ACE_ROOT/ace/config.h FILE [if you use a link to a platform-
>     specific file, simply state which one]:
> 
>         #include "ace/config-openbsd.h"
> 
>     THE $ACE_ROOT/include/makeinclude/platform_macros.GNU FILE [if you
>     use a link to a platform-specific file, simply state which one
> 
>     include $(ACE_ROOT)/include/makeinclude/platform_openbsd.GNU
> 
>     CONTENTS OF $ACE_ROOT/bin/MakeProjectCreator/config/default.features
>     does not exist
> 
>     AREA/CLASS/EXAMPLE AFFECTED:
>     the first file does not compile
> 
>     DOES THE PROBLEM AFFECT:
>         COMPILATION? yes
> 
> 
>     SYNOPSIS:
>         i can not compile ACE, even the first file
>         ACE_ROOT :
>         /home/theuser/lib/ACE_wrappers-6.3.0
>     PATH :
>  /home/theuser/lib/make-4.1:/home/theuser/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin:/usr/games:.
> 
>     ( i install gnu make pub.gnu )
> 
>     DESCRIPTION:
> make[1]: Entering directory '/home/theuser/lib/ACE_wrappers-6.3.0/ace'
> 
> GNUmakefile: /home/theuser/lib/ACE_wrappers-6.3.0/ace/GNUmakefile.ACE
> MAKEFLAGS=w
> 
> g++ -fvisibility=hidden -fvisibility-inlines-hidden -Wnon-virtual-dtor
> -O2 -g -pthread -fno-strict-aliasing -Wall -W -Wpointer-arith -pipe
> -I/usr/local/include -D_THREAD_SAFE
> -I/home/theuser/lib/ACE_wrappers-6.3.0 -D__ACE_INLINE__ -I..
> -DACE_BUILD_DLL  -c -fpic -o .shobj/Local_Name_Space.o Local_Name_Space.cpp
> In file included from
> /home/theuser/lib/ACE_wrappers-6.3.0/ace/OS_NS_Thread.h:2064,
>                  from
> /home/theuser/lib/ACE_wrappers-6.3.0/ace/Thread_Mutex.h:31,
>                  from
> /home/theuser/lib/ACE_wrappers-6.3.0/ace/Log_Category.h:20,
>                  from /home/theuser/lib/ACE_wrappers-6.3.0/ace/Malloc.h:24,
>                  from
> /home/theuser/lib/ACE_wrappers-6.3.0/ace/Malloc_T.h:18,
>                  from
> /home/theuser/lib/ACE_wrappers-6.3.0/ace/Local_Name_Space.h:20,
>                  from Local_Name_Space.cpp:3:
> /home/theuser/lib/ACE_wrappers-6.3.0/ace/OS_NS_Thread.inl: In function
> 'int ACE_OS::condattr_init(pthread_cond_attr*&, int)':
> /home/theuser/lib/ACE_wrappers-6.3.0/ace/OS_NS_Thread.inl:156: error:
> 'pthread_condattr_setpshared' was not declared in this scope
> /home/theuser/lib/ACE_wrappers-6.3.0/ace/OS_NS_Thread.inl: In function
> 'int ACE_OS::condattr_synctype(pthread_cond_attr*&, int&)':
> /home/theuser/lib/ACE_wrappers-6.3.0/ace/OS_NS_Thread.inl:192: error:
> 'pthread_condattr_getpshared' was not declared in this scope
> /home/theuser/lib/ACE_wrappers-6.3.0/ace/OS_NS_Thread.inl: In function
> 'int ACE_OS::thr_continue(pthread*)':
> /home/theuser/lib/ACE_wrappers-6.3.0/ace/OS_NS_Thread.inl:2760: error:
> 'pthread_resume_np' was not declared in this scope
> /home/theuser/lib/ACE_wrappers-6.3.0/ace/OS_NS_Thread.inl: In function
> 'int ACE_OS::thr_suspend(pthread*)':
> /home/theuser/lib/ACE_wrappers-6.3.0/ace/OS_NS_Thread.inl:3471: error:
> 'pthread_suspend_np' was not declared in this scope
> /home/theuser/lib/ACE_wrappers-6.3.0/include/makeinclude/rules.local.GNU:188:
> recipe for target '.shobj/Local_Name_Space.o' failed
> make[1]: *** [.shobj/Local_Name_Space.o] Error 1
> make[1]: Leaving directory '/home/theuser/lib/ACE_wrappers-6.3.0/ace'
> GNUmakefile:766: recipe for target 'ACE' failed
> make: *** [ACE] Error 2
> 
>     REPEAT BY:
> 
>     SAMPLE FIX/WORKAROUND:
> i have not found...... ( i tried the 6.3.3 with the same result....)
> _______________________________________________
> ace-users mailing list
> ace-users at list.isis.vanderbilt.edu
> http://list.isis.vanderbilt.edu/cgi-bin/mailman/listinfo/ace-users


More information about the ace-users mailing list