Title: Compile problems on Alpha/OSF1 V 4.0

I'm trying to compile GDB-5.0 for a DEC Alpha
machine running OSF1 4.0. My configuration
is for alphaev56-dec-osf4.0d.  My first problem
was compiling libiberty.  In the file strsignal.c
the sys_nsig variable was not declared.  I
ended up changing the config.h file and
commented out the HAVE_SYS_SIGLIST
define.

The second problem relates to the procfs
stuff.  The alpha-nat.c file wouldn't compile
because of a undeclared struct in the
sys/procfs.h header file.  I got around that
by modifying the nm.h file and adding a
#undef USE_PROC_FS.  Things were
going great until I hit the procfs.c file.
I haven't a clue how to proceed.  The
error is:

cc: Error: /usr/include/sys/procfs.h, line 370: The member "pr_altstack" has an
incomplete type.
        struct sigaltstack pr_altstack; /* alternate signal stack */
---------------------------^
cc: Error: ../../gdb-5.0/gdb/procfs.c, line 5145: In this statement, "NBBY" is n
ot declared.
        praddset (sysset, syscallnum);

What am I doing wrong?

--
Russ

Reply via email to