HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- gnustep-base build fails on HP-UX 11.23 (both ia64...
Operating System - HP-UX
1826484
Members
4460
Online
109692
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2006 09:34 PM
10-09-2006 09:34 PM
gnustep-base build fails on HP-UX 11.23 (both ia64 and pa)
I am trying to compile gnustep-base 1.12.0/1.13.0 with binutils 2.14, gcc 3.4.6 , ffcall 1.8 ,GNU Make 3.80
binutils and gcc are built with native HP ANSI C compiler.
and gnustep-make with with this gcc
The platform is HPUX 11.23 June 2006 update.
The gnustep-base build fails as follows on pa-risc machine
gmake[1]: Entering directory `/USERSPACE/ocek/gnustep-base/gnustep-base-1.12.0/Source'
Making all in subprojects of library libgnustep-base...
gmake[2]: Entering directory `/USERSPACE/ocek/gnustep-base/gnustep-base-1.12.0/Source/Additions'
Making all for subproject Additions...
Compiling file GSObjCRuntime.m ...
GSObjCRuntime.m: In function `GSObjCFindVariable':
GSObjCRuntime.m:73: warning: dereferencing type-punned pointer will break strict-aliasing rules
GSObjCRuntime.m: At top level:
GSObjCRuntime.m:636: error: conflicting types for '__objc_exec_class'
GSObjCRuntime.m:300: error: previous declaration of '__objc_exec_class' was here
gmake[3]: *** [shared_obj/hppa/hpux11.23/gnu-gnu-gnu/GSObjCRuntime.o] Error 1
gmake[2]: *** [Additions.all.subproject.variables] Error 2
gmake[2]: Leaving directory `/USERSPACE/ocek/gnustep-base/gnustep-base-1.12.0/Source/Additions'
gmake[1]: *** [libgnustep-base.all.library.variables] Error 2
gmake[1]: Leaving directory `/USERSPACE/ocek/gnustep-base/gnustep-base-1.12.0/Source'
gmake: *** [internal-all] Error 2
On HPUX 11.23 ia64
the build fails as follows
Making all in subprojects of library libgnustep-base...
gmake[2]: Entering directory `/USERSPACE/ocek/gnustep-base/gnustep-base-1.12.0/Source/Additions'
Making all for subproject Additions...
Compiling file GSCategories.m ...
In file included from /usr/include/sys/stdpad.h:23,
from /usr/include/sys/sigevent.h:45,
from /opt/OCEK/lib/gcc/ia64-hp-hpux11.23/3.4.0/include/sys/time.h:37,
from /usr/include/sys/resource.h:50,
from /usr/include/sys/wait.h:100,
from /opt/OCEK/lib/gcc/ia64-hp-hpux11.23/3.4.0/include/stdlib.h:399,
from ../../Headers/Additions/GNUstepBase/preface.h:28,
from ../../Headers/Foundation/NSObject.h:160,
from ../../Headers/Foundation/NSDebug.h:31,
from ../../Headers/Foundation/Foundation.h:32,
from GSCategories.m:27:
/usr/include/machine/sys/_types.h:65: error: parse error before "__fpreg"
/usr/include/machine/sys/_types.h:69: error: parse error before '}' token
In file included from /opt/OCEK/lib/gcc/ia64-hp-hpux11.23/3.4.0/include/sys/newsig.h:87,
from /usr/include/sys/signal.h:43,
from /usr/include/sys/wait.h:141,
from /opt/OCEK/lib/gcc/ia64-hp-hpux11.23/3.4.0/include/stdlib.h:399,
from ../../Headers/Additions/GNUstepBase/preface.h:28,
from ../../Headers/Foundation/NSObject.h:160,
from ../../Headers/Foundation/NSDebug.h:31,
from ../../Headers/Foundation/Foundation.h:32,
from GSCategories.m:27:
/usr/include/machine/sys/newsig.h:47: error: parse error before "__opaque128_t"
/usr/include/machine/sys/newsig.h:52: error: parse error before "mcontext_t"
/usr/include/machine/sys/newsig.h:145: error: parse error before "mcontext_t"
In file included from /usr/include/machine/sys/signal.h:59,
from /usr/include/sys/signal.h:547,
from /usr/include/sys/wait.h:141,
from /opt/OCEK/lib/gcc/ia64-hp-hpux11.23/3.4.0/include/stdlib.h:399,
from ../../Headers/Additions/GNUstepBase/preface.h:28,
from ../../Headers/Foundation/NSObject.h:160,
from ../../Headers/Foundation/NSDebug.h:31,
from ../../Headers/Foundation/Foundation.h:32,
from GSCategories.m:27:
/usr/include/machine/sys/sigcontext.h:43: error: field `__uc' has incomplete type
In file included from ../../Headers/Additions/GNUstepBase/preface.h:28,
from ../../Headers/Foundation/NSObject.h:160,
from ../../Headers/Foundation/NSDebug.h:31,
from ../../Headers/Foundation/Foundation.h:32,
from GSCategories.m:27:
/opt/OCEK/lib/gcc/ia64-hp-hpux11.23/3.4.0/include/stdlib.h:573: error: parse error before "int"
/opt/OCEK/lib/gcc/ia64-hp-hpux11.23/3.4.0/include/stdlib.h:574: error: parse error before "int"
/opt/OCEK/lib/gcc/ia64-hp-hpux11.23/3.4.0/include/stdlib.h:614: error: parse error before "int"
/opt/OCEK/lib/gcc/ia64-hp-hpux11.23/3.4.0/include/stdlib.h:615: error: parse error before "int"
In file included from ../../Headers/Foundation/Foundation.h:39,
from GSCategories.m:27:
../../Headers/Foundation/NSBundle.h:578:1: warning: "__" redefined
In file included from /opt/OCEK/lib/gcc/ia64-hp-hpux11.23/3.4.0/include/string.h:15,
from GSCategories.m:26:
/opt/OCEK/lib/gcc/ia64-hp-hpux11.23/3.4.0/include/sys/stdsyms.h:398:1: warning: this is the location of the previous definition
In file included from ../../Headers/Foundation/NSException.h:35,
from ../../Headers/Foundation/NSClassDescription.h:29,
from ../../Headers/Foundation/Foundation.h:43,
from GSCategories.m:27:
/usr/include/setjmp.h:22: error: parse error before "jmp_buf"
/usr/include/setjmp.h:39: error: parse error before "sigjmp_buf"
/usr/include/setjmp.h:53: error: parse error before "int"
/usr/include/setjmp.h:67: error: parse error before "int"
/usr/include/setjmp.h:80: error: parse error before "int"
/usr/include/setjmp.h:81: error: parse error before "int"
In file included from ../../Headers/Foundation/NSClassDescription.h:29,
from ../../Headers/Foundation/Foundation.h:43,
from GSCategories.m:27:
../../Headers/Foundation/NSException.h:193: error: parse error before "jmp_buf"
../../Headers/Foundation/NSException.h:193: warning: no semicolon at end of struct or union
../../Headers/Foundation/NSException.h:196: error: parse error before '}' token
../../Headers/Foundation/NSException.h:196: warning: type defaults to `int' in declaration of `NSHandler'
../../Headers/Foundation/NSException.h:196: warning: data definition has no type or storage class
../../Headers/Foundation/NSException.h:275: error: parse error before '*' token
../../Headers/Foundation/NSException.h:277: error: parse error before '*' token
In file included from ../../Headers/Foundation/Foundation.h:97,
from GSCategories.m:27:
../../Headers/Foundation/NSThread.h:41: error: parse error before "NSHandler"
GSCategories.m: In function `-[NSData(GSCategories) initWithHexadecimalRepresentation:]':
GSCategories.m:308: warning: subscript has type `char'
gmake[3]: *** [shared_obj/GSCategories.o] Error 1
gmake[2]: *** [Additions.all.subproject.variables] Error 2
gmake[2]: Leaving directory `/USERSPACE/ocek/gnustep-base/gnustep-base-1.12.0/Source/Additions'
gmake[1]: *** [libgnustep-base.all.library.variables] Error 2
gmake[1]: Leaving directory `/USERSPACE/ocek/gnustep-base/gnustep-base-1.12.0/Source'
gmake: *** [internal-all] Error 2
The build goes through with gcc 3.3.x line on both pa and ipf.
The build is successful on 11.11 with gcc 3.4.6, what I saw was that the machine specific header files /usr/include/machine/sys/*.h are not present in 11.11 machine.
any pointers ?
binutils and gcc are built with native HP ANSI C compiler.
and gnustep-make with with this gcc
The platform is HPUX 11.23 June 2006 update.
The gnustep-base build fails as follows on pa-risc machine
gmake[1]: Entering directory `/USERSPACE/ocek/gnustep-base/gnustep-base-1.12.0/Source'
Making all in subprojects of library libgnustep-base...
gmake[2]: Entering directory `/USERSPACE/ocek/gnustep-base/gnustep-base-1.12.0/Source/Additions'
Making all for subproject Additions...
Compiling file GSObjCRuntime.m ...
GSObjCRuntime.m: In function `GSObjCFindVariable':
GSObjCRuntime.m:73: warning: dereferencing type-punned pointer will break strict-aliasing rules
GSObjCRuntime.m: At top level:
GSObjCRuntime.m:636: error: conflicting types for '__objc_exec_class'
GSObjCRuntime.m:300: error: previous declaration of '__objc_exec_class' was here
gmake[3]: *** [shared_obj/hppa/hpux11.23/gnu-gnu-gnu/GSObjCRuntime.o] Error 1
gmake[2]: *** [Additions.all.subproject.variables] Error 2
gmake[2]: Leaving directory `/USERSPACE/ocek/gnustep-base/gnustep-base-1.12.0/Source/Additions'
gmake[1]: *** [libgnustep-base.all.library.variables] Error 2
gmake[1]: Leaving directory `/USERSPACE/ocek/gnustep-base/gnustep-base-1.12.0/Source'
gmake: *** [internal-all] Error 2
On HPUX 11.23 ia64
the build fails as follows
Making all in subprojects of library libgnustep-base...
gmake[2]: Entering directory `/USERSPACE/ocek/gnustep-base/gnustep-base-1.12.0/Source/Additions'
Making all for subproject Additions...
Compiling file GSCategories.m ...
In file included from /usr/include/sys/stdpad.h:23,
from /usr/include/sys/sigevent.h:45,
from /opt/OCEK/lib/gcc/ia64-hp-hpux11.23/3.4.0/include/sys/time.h:37,
from /usr/include/sys/resource.h:50,
from /usr/include/sys/wait.h:100,
from /opt/OCEK/lib/gcc/ia64-hp-hpux11.23/3.4.0/include/stdlib.h:399,
from ../../Headers/Additions/GNUstepBase/preface.h:28,
from ../../Headers/Foundation/NSObject.h:160,
from ../../Headers/Foundation/NSDebug.h:31,
from ../../Headers/Foundation/Foundation.h:32,
from GSCategories.m:27:
/usr/include/machine/sys/_types.h:65: error: parse error before "__fpreg"
/usr/include/machine/sys/_types.h:69: error: parse error before '}' token
In file included from /opt/OCEK/lib/gcc/ia64-hp-hpux11.23/3.4.0/include/sys/newsig.h:87,
from /usr/include/sys/signal.h:43,
from /usr/include/sys/wait.h:141,
from /opt/OCEK/lib/gcc/ia64-hp-hpux11.23/3.4.0/include/stdlib.h:399,
from ../../Headers/Additions/GNUstepBase/preface.h:28,
from ../../Headers/Foundation/NSObject.h:160,
from ../../Headers/Foundation/NSDebug.h:31,
from ../../Headers/Foundation/Foundation.h:32,
from GSCategories.m:27:
/usr/include/machine/sys/newsig.h:47: error: parse error before "__opaque128_t"
/usr/include/machine/sys/newsig.h:52: error: parse error before "mcontext_t"
/usr/include/machine/sys/newsig.h:145: error: parse error before "mcontext_t"
In file included from /usr/include/machine/sys/signal.h:59,
from /usr/include/sys/signal.h:547,
from /usr/include/sys/wait.h:141,
from /opt/OCEK/lib/gcc/ia64-hp-hpux11.23/3.4.0/include/stdlib.h:399,
from ../../Headers/Additions/GNUstepBase/preface.h:28,
from ../../Headers/Foundation/NSObject.h:160,
from ../../Headers/Foundation/NSDebug.h:31,
from ../../Headers/Foundation/Foundation.h:32,
from GSCategories.m:27:
/usr/include/machine/sys/sigcontext.h:43: error: field `__uc' has incomplete type
In file included from ../../Headers/Additions/GNUstepBase/preface.h:28,
from ../../Headers/Foundation/NSObject.h:160,
from ../../Headers/Foundation/NSDebug.h:31,
from ../../Headers/Foundation/Foundation.h:32,
from GSCategories.m:27:
/opt/OCEK/lib/gcc/ia64-hp-hpux11.23/3.4.0/include/stdlib.h:573: error: parse error before "int"
/opt/OCEK/lib/gcc/ia64-hp-hpux11.23/3.4.0/include/stdlib.h:574: error: parse error before "int"
/opt/OCEK/lib/gcc/ia64-hp-hpux11.23/3.4.0/include/stdlib.h:614: error: parse error before "int"
/opt/OCEK/lib/gcc/ia64-hp-hpux11.23/3.4.0/include/stdlib.h:615: error: parse error before "int"
In file included from ../../Headers/Foundation/Foundation.h:39,
from GSCategories.m:27:
../../Headers/Foundation/NSBundle.h:578:1: warning: "__" redefined
In file included from /opt/OCEK/lib/gcc/ia64-hp-hpux11.23/3.4.0/include/string.h:15,
from GSCategories.m:26:
/opt/OCEK/lib/gcc/ia64-hp-hpux11.23/3.4.0/include/sys/stdsyms.h:398:1: warning: this is the location of the previous definition
In file included from ../../Headers/Foundation/NSException.h:35,
from ../../Headers/Foundation/NSClassDescription.h:29,
from ../../Headers/Foundation/Foundation.h:43,
from GSCategories.m:27:
/usr/include/setjmp.h:22: error: parse error before "jmp_buf"
/usr/include/setjmp.h:39: error: parse error before "sigjmp_buf"
/usr/include/setjmp.h:53: error: parse error before "int"
/usr/include/setjmp.h:67: error: parse error before "int"
/usr/include/setjmp.h:80: error: parse error before "int"
/usr/include/setjmp.h:81: error: parse error before "int"
In file included from ../../Headers/Foundation/NSClassDescription.h:29,
from ../../Headers/Foundation/Foundation.h:43,
from GSCategories.m:27:
../../Headers/Foundation/NSException.h:193: error: parse error before "jmp_buf"
../../Headers/Foundation/NSException.h:193: warning: no semicolon at end of struct or union
../../Headers/Foundation/NSException.h:196: error: parse error before '}' token
../../Headers/Foundation/NSException.h:196: warning: type defaults to `int' in declaration of `NSHandler'
../../Headers/Foundation/NSException.h:196: warning: data definition has no type or storage class
../../Headers/Foundation/NSException.h:275: error: parse error before '*' token
../../Headers/Foundation/NSException.h:277: error: parse error before '*' token
In file included from ../../Headers/Foundation/Foundation.h:97,
from GSCategories.m:27:
../../Headers/Foundation/NSThread.h:41: error: parse error before "NSHandler"
GSCategories.m: In function `-[NSData(GSCategories) initWithHexadecimalRepresentation:]':
GSCategories.m:308: warning: subscript has type `char'
gmake[3]: *** [shared_obj/GSCategories.o] Error 1
gmake[2]: *** [Additions.all.subproject.variables] Error 2
gmake[2]: Leaving directory `/USERSPACE/ocek/gnustep-base/gnustep-base-1.12.0/Source/Additions'
gmake[1]: *** [libgnustep-base.all.library.variables] Error 2
gmake[1]: Leaving directory `/USERSPACE/ocek/gnustep-base/gnustep-base-1.12.0/Source'
gmake: *** [internal-all] Error 2
The build goes through with gcc 3.3.x line on both pa and ipf.
The build is successful on 11.11 with gcc 3.4.6, what I saw was that the machine specific header files /usr/include/machine/sys/*.h are not present in 11.11 machine.
any pointers ?
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2006 12:44 AM
10-11-2006 12:44 AM
Re: gnustep-base build fails on HP-UX 11.23 (both ia64 and pa)
Wow - old compiler.
Have you tried the gcc 4 stream? There are lots of improvements.
HP provides pre-compiled depots:
http://www.hp.com/go/gcc
Have you tried the gcc 4 stream? There are lots of improvements.
HP provides pre-compiled depots:
http://www.hp.com/go/gcc
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP