gnustep-dev
[Top][All Lists]
Advanced

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

Re: Build errors


From: b17 c0de
Subject: Re: Build errors
Date: Thu, 23 Jul 2015 16:33:11 +0200

I see someone committed a fix for this issue. But it only fixes one of the errors. I'm still getting the following error when building with clang:

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*);


On Sun, Jul 19, 2015 at 11:25 PM, b17 c0de <address@hidden> wrote:
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



reply via email to

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