f



[ace-bugs] Re: [ace-users] ACE 5.4.1 compilation failure on FreeBSD 5.2

Hi Jarek,

>> Has anyone built ACE 5.4.1 with Proactor on FreeBSD 5.2-RELEASE ?

I don't think we have access to this platform.  If you can send us a
patch that fixes the problem that would be great!

Thanks,

        Doug

>>     ACE VERSION: 5.4.1
>> 
>>     HOST MACHINE and OPERATING SYSTEM:
>> 
>> 	FreeBSD 5.2-RELEASE
>> 
>> $ uname -a
>> FreeBSD skorpion 5.2-RELEASE FreeBSD 5.2-RELEASE #0: Sat Jan 17 20:17:52 CET 
>> 2004     jarek@skorpion:/usr/src/sys/i386/compile/JAREK_1  i386
>> 
>>     TARGET MACHINE and OPERATING SYSTEM, if different from HOST:
>>     COMPILER NAME AND VERSION (AND PATCHLEVEL):
>> 
>> Same
>> 
>>  $ g++ -v
>>  Using built-in specs.
>>  Configured with: FreeBSD/i386 system compiler
>>  Thread model: posix
>>  gcc version 3.3.3 [FreeBSD] 20031106
>> 
>>     CONTENTS OF $ACE_ROOT/ace/config.h [if you use a link to a platform-
>>     specific file, simply state which one]:
>> 
>> config-freebsd.h
>> 
>>     CONTENTS OF $ACE_ROOT/include/makeinclude/platform_macros.GNU (unless
>>     this isn't used in this case, e.g., with Microsoft Visual C++):
>> 
>> platform_freebsd.GNU
>>     
>>     AREA/CLASS/EXAMPLE AFFECTED:
>> 
>> POSIX_CB_Proactor.cpp
>> 
>>     DOES THE PROBLEM AFFECT:
>>         COMPILATION?
>> 
>> Yes
>> 
>>         LINKING?
>>             On Unix systems, did you run make realclean first?
>>         EXECUTION?
>>         OTHER (please specify)?
>> [Please indicate whether ACE, your application, or both are affected.]
>> 
>>     SYNOPSIS:
>> 
>> Compilation fails on POSIX_CB_Proactor.cpp
>> 
>>     DESCRIPTION:
>> 
>>  g++ -W -Wall -Wpointer-arith  -O2 -g -pipe      -I/home/jarek/prog/ace/build/
>>  ACE_wrappers -DACE_HAS_EXCEPTIONS -D__ACE_INLINE__ -DACE_BUILD_DLL 
>>  -DACE_OS_BUILD_DLL  -c -fpic -o .shobj/POSIX_CB_Proactor.o 
>>  POSIX_CB_Proactor.cpp
>>  POSIX_CB_Proactor.cpp: In member function `virtual ssize_t
>>     ACE_POSIX_CB_Proactor::allocate_aio_slot(ACE_POSIX_Asynch_Result*)':
>>  POSIX_CB_Proactor.cpp:92: error: `SIGEV_THREAD' undeclared (first use this
>>     function)
>>  POSIX_CB_Proactor.cpp:92: error: (Each undeclared identifier is reported only
>>     once for each function it appears in.)
>>  POSIX_CB_Proactor.cpp:97: error: 'struct sigevent' has no member named '
>>     sigev_notify_function'
>>  POSIX_CB_Proactor.cpp:99: error: 'struct sigevent' has no member named '
>>     sigev_notify_attributes'
>> 
>> It seems SIGEV_THREAD is not defined:
>> 
>> $ grep SIGEV_THREAD /usr/include/*.h
>> $ grep SIGEV_THREAD /usr/include/sys/*.h
>> /usr/include/sys/signal.h: * XXX missing SIGEV_THREAD.
>> 
>> Regards,
>> Jarek
>> 
>> Jaroslaw Nozderko
>> GSM +48 601131870 / Kapsch (22) 6075013
>> jaroslaw.nozderko@polkomtel.com.pl
>> IT/CCBS/RS - Analyst Programmer
>>  
>> 






































































-- 
Dr. Douglas C. Schmidt, Professor           TEL: (615) 343-8197
Electrical Engineering and Computer Science FAX: (615) 343-7440
Vanderbilt University                       WEB: www.cs.wustl.edu/~schmidt/
Nashville, TN 37203                         NET: d.schmidt@vanderbilt.edu

0
Douglas
7/6/2004 12:35:30 PM
comp.soft-sys.ace 20326 articles. 1 followers. marlow.andrew (167) is leader. Post Follow

0 Replies
918 Views

Similar Articles

[PageSpeed] 56

Reply: