certi-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [certi-dev] IEEE-1516 update


From: Eric Noulard
Subject: Re: [certi-dev] IEEE-1516 update
Date: Mon, 5 Jul 2010 19:48:49 +0200

2010/7/5 Martin Spott <address@hidden>:

[...]
>>> Building CXX object libHLA/CMakeFiles/HLA.dir/SHMSysV.o
>>> /opt/SUNWspro/bin/CC  -xO2 -xarch=v9 -xtarget=ultra2 -xprefetch=auto  
>>> -DHLA_EXPORTS   -xO2 -DNDEBUG -KPIC -I/usr/include/libxml2 
>>> -I/usr/local/src/certi/include -I/usr/local/src/certi 
>>> -I/usr/local/src/certi/libHLA   -DHOST_IS_BIG_ENDIAN -DHAVE_CONFIG_H=1 
>>> -DHAVE_XML -DRTI_USES_STD_FSTREAM -o libHLA/CMakeFiles/HLA.dir/SHMSysV.o -c 
>>> /usr/local/src/certi/libHLA/SHMSysV.cc
>>> "/usr/local/src/certi/libHLA/SHMSysV.cc", line 106: Error: Formal argument 
>>> 1 of type char* in call to shmdt(char*) is being passed void*.
>>> 1 Error(s) detected.
>>
>> Solaris seems to be non-standard ...
>
> Ok.
>>> "/usr/local/src/certi/libHLA/SemaphorePosix.cc", line 29: Error: S_IRUSR is 
>>> not defined.
>>> "/usr/local/src/certi/libHLA/SemaphorePosix.cc", line 29: Error: S_IWUSR is 
>>> not defined.
>>> 2 Error(s) detected.
>>
>> May be those two are not defined on Solaris.
>> May be we should compile the POSIX things on Solaris...
>
> I suspect they're defined in sys/stat.h - which would compile nicely on
> Solaris.

I did try a blind (no Solaris compile) fix.
Would you be kind enough to cvs update and recompile?

I'm not sure of the fix since the proper prototype definition of some
functions depends
on  the compiler switch you use in order to indicate which standard API
(POSIX, XPGx, SUSx, ...) you want to use.


-- 
Erk
Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org



reply via email to

[Prev in Thread] Current Thread [Next in Thread]