This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
0324 snapshot issues
- To: gdb at sources dot redhat dot com
- Subject: 0324 snapshot issues
- From: RDBrown at mira dot net
- Date: Tue, 27 Mar 2001 08:58:30 +1000 (EST)
- Reply-To: RDBrown at mira dot net,RodneyBrown at mynd dot com
Attempting to build on alpha-dec-osf4.0e and i586-sco-sysv5uw7.1.0 using
gcc-2.95.2 needed NSIG supplied since _XOPEN_SOURCE etc disable it's
definition. Probably this should be done directly with autoconf.
On alpha-dec-osf4.0e the gdb link failed
/usr/bin/ld:
Unresolved:
in_solib_dynsym_resolve_code
collect2: ld returned 1 exit status
make[1]: *** [gdb] Error 1
Also what precisely do you want uploaded to the test results page?
gdb/testsuite/gdb.log or gdb/testsuite/gdb.sum?
>o a test results page be created
> http://sources.redhat.com/cgi-bin/gdb.cgi
> (Chris Faylor and Tom Tromey did this)
--- expect/exp_trap.c.orig Tue Mar 27 00:17:00 2001
+++ expect/exp_trap.c Mon Mar 26 13:18:59 2001
@@ -22,6 +22,12 @@
#ifndef NSIG
#ifdef _NSIG
#define NSIG _NSIG
+#else
+#ifdef __osf__ /* alpha-dec-osf4.0e workaround */
+#define NSIG 49
+#else /* i586-sco-sysv5uw7.1.0 workaround */
+#define NSIG 35
+#endif
#endif
#endif
--- expect/exp_command.c.orig Tue Mar 27 00:17:15 2001
+++ expect/exp_command.c Mon Mar 26 13:18:50 2001
@@ -53,6 +53,12 @@
#ifndef NSIG
#ifdef _NSIG
#define NSIG _NSIG
+#else
+#ifdef __osf__ /* alpha-dec-osf4.0e workaround */
+#define NSIG 49
+#else /* i586-sco-sysv5uw7.1.0 workaround */
+#define NSIG 35
+#endif
#endif
#endif