Hi,
I'm currently trying to build gdb under SOLARIS2.4.
Configure builds a Makefile that seems to be set up for
SOLARIS, however, I get the following when trying to
compile:
gcc -c -g -I. -I. -I./../include elf32.c
In file included from /usr/include/sys/turnstile.h:11, from /usr/include/sys/t_lock.h:20, from /usr/include/sys/file.h:13, from hosts/sysv4.h:13, from sysdep.h:3, from elfcode.h:68, from elf32.c:23:
/usr/include/sys/param.h:122: warning: `NULL' redefined
/opt/gnu/lib/gcc-lib/sparc-sun-solaris2/2.3.3/include/stddef.h:187: warning: this is the location of the previous definition
In file included from elfcode.h:3285, from elf32.c:23:
/usr/include/sys/procfs.h:195: parse error before `sigset_t'
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Although signal.h is included in sys/procfs.h
Do I have to set some more environment varables?
Configure should have done this I guess?
Any ideas?
Thanks in advance
Carsten
--
######################################################
# Carsten Trinitis #
# Lehrstuhl fuer Hochspannungs- und Anlagentechnik #
# Technical University of Munich #
# Bldg. N2, Arcisstr. 21 #
# D-80290 Muenchen, WEST Germany #
# Ph. +49/89/2105-2787 #
# FAX: +49-89-281875 #
######################################################