Thread View: comp.windows.interviews
3 messages
3 total messages
Started by Win
Tue, 26 Jan 1993 17:36
InterViews 3.1 HPUX Series 700 (PA-RISC)
Author: Win
Date: Tue, 26 Jan 1993 17:36
Date: Tue, 26 Jan 1993 17:36
107 lines
3402 bytes
3402 bytes
Someone MUST have some ideas on what to attempt next.
I'm having a problem compiling InterViews 3.1 on HPUX Series 700 (PA-RISC).
When attempting to compile action.c, I get the following (Note: the compile
options for more information):
--------------- Begin make output -------------------------
/usr/local/src/InterViews/iv/src/lib/IV/HP800> make
CC +p -v -E +i -Dcplusplus_2_1 -DSYSV -I../../../.././src/include
-I/usr/include/X11R4 -c ../../InterViews/action.c
/usr/lib/Cpp.ansi -Dcplusplus_2_1 -DSYSV -I../../../.././src/include -I/usr/inc
lude/X11R4 -D__hp9000s700 -D_PA_RISC1_1 -$ -Dc_plusplus -D__cplusplus -D__hp9000
s800 -D__hppa -D__hpux -D__unix -Dhp9000s800 -Dhppa -Dhpux -Dunix -I/usr/include
/CC -I/usr/include ../../InterViews/action.c
# 1 "../../InterViews/action.c"
# 25
# 1 "../../../.././src/include/InterViews/action.h"
# 32
# 1 "../../../.././src/include/InterViews/resource.h"
# 32
# 1 "../../../.././src/include/InterViews/enter-scope.h"
# 28
# 1 "../../../.././src/include/InterViews/iv.h"
# 36
# 29 "../../../.././src/include/InterViews/enter-scope.h"
# 1 "../../../.././src/include/InterViews/_undefs.h"
# 304
# 33 "../../../.././src/include/InterViews/enter-scope.h"
# 1 "../../../.././src/include/InterViews/_defines.h"
# 304
# 34 "../../../.././src/include/InterViews/enter-scope.h"
# 45
# 1 "../../../.././src/include/OS/enter-scope.h"
# 28
# 1 "../../../.././src/include/OS/os.h"
# 34
# 29 "../../../.././src/include/OS/enter-scope.h"
# 34
# 1 "../../../.././src/include/OS/_defines.h"
# 25
# 35 "../../../.././src/include/OS/enter-scope.h"
Pid 11356 received a SIGSEGV for stack growth failure.
Possible causes: insufficient memory or swap space,
or stack size exceeded maxssiz.
CC: error: `/usr/lib/Cpp.ansi' terminated with signal 11 (1922)
*** Error code 1
Stop.
--------------- End make output -------------------------
Experiments have shown:
o increasing maxssiz from 8388608 to 134,217,728 results only in a larger
core file (from approx. 13MB to 58MB).
o Not including #include <InterViews/enter-scope.h> in resource.h
causes no core but also generated compiler warnings and errors
since boolean is not defined.
o #if 0 ... #endif around code sample to follow, in
iv/src/include/OS/enter-scope.h results in moving the error further
along to the return from resource.h
--------------- Begin code sample of enter-scope.h -------------------------
#ifndef os_boolean
#define os_boolean
typedef unsigned boolean;
static const unsigned false = 0;
static const unsigned true = 1;
#endif
#ifndef os_u_char
#define os_u_char
typedef unsigned char u_char;
#endif
--------------- End code sample of enter-scope.h -------------------------
Any ideas would be greatly appreciated!
Thanks In Advance,
Win
win@ultryx.com
Re: InterViews 3.1 HPUX Series 700 (PA-RISC)
Author: Jon Leech
Date: Tue, 26 Jan 1993 17:58
Date: Tue, 26 Jan 1993 17:58
22 lines
1236 bytes
1236 bytes
In article <9301261736.AA03927@ramsesii.ultryx.com>, win@RAMSESII.ULTRYX.COM (Win) writes:
|> Someone MUST have some ideas on what to attempt next.
|>
|> I'm having a problem compiling InterViews 3.1 on HPUX Series 700 (PA-RISC).
|> When attempting to compile action.c, I get the following (Note: the compile
|> options for more information):
Use the compatibility mode (-Ac) preprocessor so you can up the
memory size (this is an HP bug). From my local.def:
#ifdef HPArchitecture
/* For HP, use -Ac to get compatibility mode preprocessor, because
* ANSI mode preprocessor won't accept "-H400000" argument.
*/
#ifdef ExtraCCFlags
#undef ExtraCCFlags
#endif
#define ExtraCCFlags -Ac -Wp,-H400000
#endif /*HPArchitecture*/
Jon
__@/
Re: InterViews 3.1 HPUX Series 700 (PA-RISC)
Author: Markus Stumpf
Date: Wed, 27 Jan 1993 11:23
Date: Wed, 27 Jan 1993 11:23
26 lines
1514 bytes
1514 bytes
In article <9301261736.AA03927@ramsesii.ultryx.com>, win@RAMSESII.ULTRYX.COM (Win) writes: |> Someone MUST have some ideas on what to attempt next. |> |> I'm having a problem compiling InterViews 3.1 on HPUX Series 700 (PA-RISC). |> When attempting to compile action.c, I get the following (Note: the compile |> options for more information): Yup! It's a bug in HP cpp (in both, ansi and non-ansi versions) which they promised to fix for the next release! As a workaround you might want to use the ccp from the GNU gcc release. This is what I use in config/InterViews/local.def: #undef CCDriver #define CCDriver CC -tp,/usr/local/GNU/lib/gcc-lib/hp9k720/2.3.2/cpp -Wp,-lang-c++ This works for me! Hope that helps! Ciao \Maex -- ______________________________________________________________________________ Markus Stumpf Markus.Stumpf@Informatik.TU-Muenchen.DE
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads