uname -m = i386
uname -r = 4.3
uname -s = OpenBSD
uname -v = 4.3#0
/usr/bin/uname -p = Intel(R) Pentium(R) 4 CPU 3.00GHz ("GenuineIntel"
686-class)
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = OpenBSD.i386
/usr/convex/getsysinfo = unknown
hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
Okay, this is a better diff for building trunk on OpenBSD 4.3:
Index: rexxapi/common/platform/unix/SysCSStream.cpp
===================================================================
--- rexxapi/common/platform/unix/SysCSStream.cpp (revision 3460)
+++ rexxapi/common/platform/unix/SysCSStream.cpp (working copy)
@@ -50,7 +50,9 @@
#include <arpa/inet.h>
#include <sys/ioctl.h>
#include <netdb.h>
+#if !defined(__OpenBSD__)
#include <byteswap.h>
+#endif
#include <errno.h>
#include "SysCSStream.hpp"
Index: rexxapi/common/ServiceMessage.hpp
===================================================================
--- rexxapi/common/ServiceMessage.hpp (revision 3460)
+++ rexxapi/common/ServiceMessage.hpp (working copy)
@@ -41,6 +41,9 @@
#include "rexx.h"
#include "ServiceException.hpp"
+#if defined(__OpenBSD__)
+#include <sys/stat.h>
+#endif
#include "SysCSStream.hpp"
#include "SysProcess.hpp"
I wonder if I should wander through the code separating conditionals
based on NETBSD from OpenBSD.
Anyway, now I'll look at the reason any attempt at rexxapi spins without
returning. There were build warnings to be investigated, e.g.,
g++ -DHAVE_CONFIG_H -I. -I. -I. -DORX_VER=4 -DORX_REL=0 -DORX_MOD=0
-DORX_FIX=0 -DORX_SYS_STR=\"NETBSD\" -DORX_CATDIR=\"/opt/ooRexx/bin\"
-DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix
-I./rexxapi/client -I./rexxapi/client/platform/unix -I./rexxapi/common
-I./rexxapi/common/platform/unix -I./common -I./common/platform/unix -g
-O2 -g -O2 -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT
-D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -MT librexxapi_la-ClientMessage.lo
-MD -MP -MF .deps/librexxapi_la-ClientMessage.Tpo -c
./rexxapi/client/ClientMessage.cpp -fPIC -DPIC -o
.libs/librexxapi_la-ClientMessage.o
In file included from rexxapi/client/ClientMessage.hpp:43,
from rexxapi/client/ClientMessage.cpp:39:
rexxapi/common/ServiceMessage.hpp: In member function `void
ServiceRegistrationData::setUserData(const char*)':
rexxapi/common/ServiceMessage.hpp:254: warning: converting to
non-pointer type
`long unsigned int' from NULL
rexxapi/common/ServiceMessage.hpp:255: warning: converting to
non-pointer type
`long unsigned int' from NULL
--
Jack J. Woehr # "Self-delusion is
http://www.well.com/~jax # half the battle!"
http://www.softwoehr.com # - Zippy the Pinhead
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Oorexx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-devel