Adam Tauno Williams | 3 Dec 22:54 2011

SOPE Packages On openSUSE 12.1

Building the src gnustep & SOPE packages from
<http://download.opensuse.org/repositories/home:/oeufdure:/SOGO/openSUSE_11.4/src/> fails on
openSUSE 12.1.  I've been using these GNUstep & SOPE packages to build OpenGroupware on openSUSE 11.x.  
I've not seen this error before -

rm -f dynamic-load.h
cp simple-load.h dynamic-load.h
/usr/share/GNUstep/Makefiles/mkinstalldirs .
mv ../Headers/Additions/GNUstepBase/config.h .
touch ./config.h
/usr/share/GNUstep/Makefiles/mkinstalldirs ./GNUstepBase
mv ../Headers/Additions/GNUstepBase/GSConfig.h ./GNUstepBase
touch ./GNUstepBase/GSConfig.h
Making all in Additions ...
Making all for subproject Additions...
 Compiling file GSObjCRuntime.m ...
In file included
from ../../Headers/Additions/GNUstepBase/GSObjCRuntime.h:43:0,
                 from ../../Headers/Foundation/NSObjCRuntime.h:81,
                 from ../../Headers/Foundation/NSZone.h:57,
                 from .././common.h:28,
                 from GSObjCRuntime.m:32:
/usr/lib64/gcc/x86_64-suse-linux/4.6/include/objc/runtime.h:45:3: error:
#error You can not include both objc/objc-api.h and objc/runtime.h.
Include objc/objc-api.h for the traditional GNU Objective-C Runtime API
and objc/runtime.h for the modern one.
In file included
from ../../Headers/Additions/GNUstepBase/GSObjCRuntime.h:43:0,
                 from ../../Headers/Foundation/NSObjCRuntime.h:81,
                 from ../../Headers/Foundation/NSZone.h:57,
                 from .././common.h:28,
                 from GSObjCRuntime.m:32:
/usr/lib64/gcc/x86_64-suse-linux/4.6/include/objc/runtime.h:70:29:
error: conflicting types for 'Method'
/usr/lib64/gcc/x86_64-suse-linux/4.6/include/objc/objc-api.h:120:28:
note: previous declaration of 'Method' was here
/usr/lib64/gcc/x86_64-suse-linux/4.6/include/objc/runtime.h:75:31:
error: conflicting types for 'Category'
/usr/lib64/gcc/x86_64-suse-linux/4.6/include/objc/objc-api.h:174:30:
note: previous declaration of 'Category' was here
/usr/lib64/gcc/x86_64-suse-linux/4.6/include/objc/runtime.h:87:8: error:
redefinition of 'struct objc_method_description'
/usr/lib64/gcc/x86_64-suse-linux/4.6/include/objc/objc-api.h:69:8: note:
originally defined here
/usr/lib64/gcc/x86_64-suse-linux/4.6/include/objc/runtime.h:259:57:
error: macro "object_copy" passed 2 arguments, but takes just 1
/usr/lib64/gcc/x86_64-suse-linux/4.6/include/objc/runtime.h:259:16:
error: 'object_copy' redeclared as different kind of symbol
/usr/lib64/gcc/x86_64-suse-linux/4.6/include/objc/objc-api.h:333:16:
note: previous declaration of 'object_copy' was here
/usr/lib64/gcc/x86_64-suse-linux/4.6/include/objc/runtime.h:1129:8:
error: redefinition of 'struct objc_struct_layout'
/usr/lib64/gcc/x86_64-suse-linux/4.6/include/objc/encoding.h:93:8: note:
originally defined here
/usr/lib64/gcc/x86_64-suse-linux/4.6/include/objc/runtime.h:1138:18:
error: conflicting types for 'objc_layout_structure'
/usr/lib64/gcc/x86_64-suse-linux/4.6/include/objc/encoding.h:102:6:
note: previous declaration of 'objc_layout_structure' was here
/usr/lib64/gcc/x86_64-suse-linux/4.6/include/objc/runtime.h:1140:19:
error: conflicting types for 'objc_layout_structure_next_member'
/usr/lib64/gcc/x86_64-suse-linux/4.6/include/objc/encoding.h:104:7:
note: previous declaration of 'objc_layout_structure_next_member' was
here
/usr/lib64/gcc/x86_64-suse-linux/4.6/include/objc/runtime.h:1141:18:
error: conflicting types for 'objc_layout_finish_structure'
/usr/lib64/gcc/x86_64-suse-linux/4.6/include/objc/encoding.h:105:6:
note: previous declaration of 'objc_layout_finish_structure' was here
/usr/lib64/gcc/x86_64-suse-linux/4.6/include/objc/runtime.h:1144:18:
error: conflicting types for 'objc_layout_structure_get_info'
/usr/lib64/gcc/x86_64-suse-linux/4.6/include/objc/encoding.h:108:6:
note: previous declaration of 'objc_layout_structure_get_info' was here
make[4]: *** [obj/Additions.obj/GSObjCRuntime.m.o] Error 1
make[3]: *** [internal-subproject-all_] Error 2
make[2]: *** [Additions.all.subproject.variables] Error 2
make[1]: *** [internal-all] Error 2
make: *** [internal-all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.miyfvJ (%build)

--

-- 
OpenGroupware.org Developer
developer@...
http://mail.opengroupware.org/mailman/listinfo/developer


Gmane