Hi,
Im having trouble building GNUstep with clang (version 3.5) on Linux
(Debian Jessie). I'm getting the following errors:

 Compiling file NSConcreteHashTable.m ...

In file included from NSConcreteHashTable.m:115:

../Headers/GNUstepBase/GSIMap.h:1272:10: error: application of 'sizeof' to
interface 'NSConcreteHashTable' is not supported on this architecture and
platform

  size = sizeof(GSI_MAP_TABLE_T) + map->chunkCount * sizeof(void*);

         ^     ~~~~~~~~~~~~~~~~~

 Compiling file NSConcreteMapTable.m ...

NSConcreteHashTable.m:1087:34: error: application of 'sizeof' to interface
'NSConcreteHashTable' is not supported on this architecture and platform

      size += GSIMapSize(self) - sizeof(GSI_MAP_TABLE_T);

                                 ^     ~~~~~~~~~~~~~~~~~

2 errors generated.

/opt/local/GNUstep/System/Library/Makefiles/rules.make:479: recipe for
target 'obj/libgnustep-base.obj/NSConcreteHashTable.m.o' failed

make[4]: *** [obj/libgnustep-base.obj/NSConcreteHashTable.m.o] Error 1

make[4]: *** Waiting for unfinished jobs....


I'm building with these steps:

-------------------------------------

pushd core/make

./configure \

  --prefix="${PREFIX}/GNUstep" \

  --enable-debug-by-default \

  --enable-objc-nonfragile-abi \

  --with-layout=gnustep

make && sudo -E make install

. "${PREFIX}/GNUstep/System/Library/Makefiles/GNUstep.sh"

popd

pushd core/base

./configure --with-ffi-include=/usr/include/`gcc -dumpmachine` --prefix="
${PREFIX}/GNUstep"

make -j 3 && sudo -E make install

popd


Any help working around this issue would be greatly appreciated.


Thanks,

Kal
_______________________________________________
Gnustep-dev mailing list
Gnustep-dev@gnu.org
https://lists.gnu.org/mailman/listinfo/gnustep-dev

Reply via email to