Package: zeroc-icee
Version: 1.1.0-1
Severity: wishlist
Tags: patch
When building 'zeroc-icee' on ppc64/unstable,
I get the following error:
slice2cppe --ice --include-dir IceE --dll-export ICE_API -I../../slice
../../slice/IceE/RouterF.ice
mv RouterF.h ../../include/IceE
c++ -c -I.. -I../../include -DICE_API_EXPORTS -ftemplate-depth-128 -Wall
-D_REENTRANT -fPIC -g BasicStream.cpp
In file included from ../../include/IceE/ProxyF.h:14,
from ../../include/IceE/BasicStream.h:13,
from BasicStream.cpp:11:
../../include/IceE/Config.h:95:5: error: #error "Unknown architecture"
make[3]: *** [BasicStream.o] Error 1
make[3]: Leaving directory `/zeroc-icee-1.1.0/src/IceE'
With the attached patch 'zeroc-icee' can be compiled on ppc64.
Regards
Andreas Jochens
diff -urN ../tmp-orig/zeroc-icee-1.1.0/include/IceE/Config.h
./include/IceE/Config.h
--- ../tmp-orig/zeroc-icee-1.1.0/include/IceE/Config.h 2006-03-08
18:09:45.000000000 +0000
+++ ./include/IceE/Config.h 2006-04-09 06:37:38.000000000 +0000
@@ -89,7 +89,7 @@
//
#if defined(__i386) || defined(_M_IX86) || defined (__x86_64) || defined
(_M_ARM)
# define ICE_LITTLE_ENDIAN
-#elif defined(__sparc) || defined(__sparc__) || defined(__hppa) ||
defined(__ppc__) || defined(_ARCH_COM)
+#elif defined(__sparc) || defined(__sparc__) || defined(__hppa) ||
defined(__ppc__) || defined(__powerpc64__) || defined(_ARCH_COM)
# define ICE_BIG_ENDIAN
#else
# error "Unknown architecture"
@@ -106,7 +106,7 @@
#elif defined(__sun) && defined(__sparcv9) || \
defined(__linux) && defined(__x86_64) || \
defined(__hppa) && defined(__LP64__) || \
- defined(_ARCH_COM) && defined(__64BIT__)
+ defined(_ARCH_COM) && defined(__64BIT__) || defined(__powerpc64__)
# define ICE_64
#else
# define ICE_32
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]