* dejagnu-19981026
@ 1999-03-21 5:06 Alex Buell
[not found] ` < Pine.LNX.4.10.9903211254290.11010-100000@tahallah.demon.co.uk >
1999-03-31 23:46 ` dejagnu-19981026 Alex Buell
0 siblings, 2 replies; 10+ messages in thread
From: Alex Buell @ 1999-03-21 5:06 UTC (permalink / raw)
To: Linux Egcs
dejagnu-19981026 (from egcs.cygnus.com) will not compile with egcs-1.1.2.
Here's the error:
gcc -c -g -O2 -I./../generic -I. -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1
-DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_TMPNAM=1 -DHAVE_WAITPID=1
-DHAVE_UNISTD_H=1 -DUSE_TERMIOS=1 -DHAVE_SYS_TIME_H=1
-DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_TM_GMTOFF=1
-DHAVE_TIMEZONE_VAR=1 -DHAVE_TIMEZONE_DECL=1 -DHAVE_ST_BLKSIZE=1
-DSTDC_HEADERS=1 -DNEED_MATHERR=1 -DHAVE_SIGNED_CHAR=1
-DHAVE_SYS_IOCTL_H=1 -DTCL_SHLIB_EXT=\".so\"
./../generic/tclPosixStr.c
./../generic/tclPosixStr.c: In function `Tcl_ErrnoId':
./../generic/tclPosixStr.c:340: duplicate case value
./../generic/tclPosixStr.c:328: this is the first entry for that value
./../generic/tclPosixStr.c: In function `Tcl_ErrnoMsg':
./../generic/tclPosixStr.c:787: duplicate case value
./../generic/tclPosixStr.c:775: this is the first entry for that value
make[2]: *** [tclPosixStr.o] Error 1
make[2]: Leaving directory `/home/alex/src/dejagnu-19981026/tcl/unix'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/alex/src/dejagnu-19981026/tcl'
make: *** [all-tcl] Error 2
Whoops.
Cheers,
Alex
--
/_/\ Legalise cannabis now!
( o.o ) Grow some cannabis today!
> ^ < Peace, Love, Unity and Respect to all.
http://www.tahallah.demon.co.uk - *Updated* New additions in Humour section
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: dejagnu-19981026
[not found] ` < Pine.LNX.4.10.9903211254290.11010-100000@tahallah.demon.co.uk >
@ 1999-03-21 7:57 ` Zack Weinberg
[not found] ` < 199903211557.KAA04687@blastula.phys.columbia.edu >
1999-03-31 23:46 ` dejagnu-19981026 Zack Weinberg
1999-03-21 10:43 ` dejagnu-19981026 Jeffrey A Law
1 sibling, 2 replies; 10+ messages in thread
From: Zack Weinberg @ 1999-03-21 7:57 UTC (permalink / raw)
To: alex.buell; +Cc: egcs
On Sun, 21 Mar 1999 13:04:15 +0000 (GMT), Alex Buell wrote:
>dejagnu-19981026 (from egcs.cygnus.com) will not compile with egcs-1.1.2.
[...]
>./../generic/tclPosixStr.c: In function `Tcl_ErrnoId':
>./../generic/tclPosixStr.c:340: duplicate case value
>./../generic/tclPosixStr.c:328: this is the first entry for that value
>./../generic/tclPosixStr.c: In function `Tcl_ErrnoMsg':
>./../generic/tclPosixStr.c:787: duplicate case value
>./../generic/tclPosixStr.c:775: this is the first entry for that value
Patch follows. Note this is a library issue, has nothing to do with 1.1.2.
If you already have tcl 8 and expect 5 on your system (you probably
do) then you can just make the dejagnu directory after configuring
everything.
zw
--- tcl/generic/tclPosixStr.c~ Fri May 1 14:45:09 1998
+++ tcl/generic/tclPosixStr.c Sun Mar 21 10:54:34 1999
@@ -336,7 +336,7 @@
#ifdef ENXIO
case ENXIO: return "ENXIO";
#endif
-#ifdef EOPNOTSUPP
+#if defined(EOPNOTSUPP) && (!defined(ENOTSUP) || (EOPNOTSUP != ENOTSUP))
case EOPNOTSUPP: return "EOPNOTSUPP";
#endif
#ifdef EPERM
@@ -783,7 +783,7 @@
#ifdef ENXIO
case ENXIO: return "no such device or address";
#endif
-#ifdef EOPNOTSUPP
+#if defined(EOPNOTSUPP) && (!defined(ENOTSUP) || (EOPNOTSUP != ENOTSUP))
case EOPNOTSUPP: return "operation not supported on socket";
#endif
#ifdef EPERM
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: dejagnu-19981026
[not found] ` < Pine.LNX.4.10.9903211254290.11010-100000@tahallah.demon.co.uk >
1999-03-21 7:57 ` dejagnu-19981026 Zack Weinberg
@ 1999-03-21 10:43 ` Jeffrey A Law
[not found] ` < 3237.922041180@upchuck >
1999-03-31 23:46 ` dejagnu-19981026 Jeffrey A Law
1 sibling, 2 replies; 10+ messages in thread
From: Jeffrey A Law @ 1999-03-21 10:43 UTC (permalink / raw)
To: alex.buell; +Cc: Linux Egcs
In message < Pine.LNX.4.10.9903211254290.11010-100000@tahallah.demon.co.uk >you
write:
> dejagnu-19981026 (from egcs.cygnus.com) will not compile with egcs-1.1.2.
>
> Here's the error:
> gcc -c -g -O2 -I./../generic -I. -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1
> -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_TMPNAM=1 -DHAVE_WAITPID=1
> -DHAVE_UNISTD_H=1 -DUSE_TERMIOS=1 -DHAVE_SYS_TIME_H=1
> -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_TM_GMTOFF=1
> -DHAVE_TIMEZONE_VAR=1 -DHAVE_TIMEZONE_DECL=1 -DHAVE_ST_BLKSIZE=1
> -DSTDC_HEADERS=1 -DNEED_MATHERR=1 -DHAVE_SIGNED_CHAR=1
> -DHAVE_SYS_IOCTL_H=1 -DTCL_SHLIB_EXT=\".so\"
> ./../generic/tclPosixStr.c
> ./../generic/tclPosixStr.c: In function `Tcl_ErrnoId':
> ./../generic/tclPosixStr.c:340: duplicate case value
> ./../generic/tclPosixStr.c:328: this is the first entry for that value
> ./../generic/tclPosixStr.c: In function `Tcl_ErrnoMsg':
> ./../generic/tclPosixStr.c:787: duplicate case value
> ./../generic/tclPosixStr.c:775: this is the first entry for that value
> make[2]: *** [tclPosixStr.o] Error 1
> make[2]: Leaving directory `/home/alex/src/dejagnu-19981026/tcl/unix'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/home/alex/src/dejagnu-19981026/tcl'
> make: *** [all-tcl] Error 2
Let me guess. You're using glibc-2.1? This is a bug in tcl, not egcs.
jeff
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: dejagnu-19981026
[not found] ` < 199903211557.KAA04687@blastula.phys.columbia.edu >
@ 1999-03-21 11:22 ` Alex Buell
1999-03-31 23:46 ` dejagnu-19981026 Alex Buell
0 siblings, 1 reply; 10+ messages in thread
From: Alex Buell @ 1999-03-21 11:22 UTC (permalink / raw)
To: Zack Weinberg; +Cc: egcs
On Sun, 21 Mar 1999, Zack Weinberg wrote:
> On Sun, 21 Mar 1999 13:04:15 +0000 (GMT), Alex Buell wrote:
> >dejagnu-19981026 (from egcs.cygnus.com) will not compile with egcs-1.1.2.
> [...]
> >./../generic/tclPosixStr.c: In function `Tcl_ErrnoId':
> >./../generic/tclPosixStr.c:340: duplicate case value
> >./../generic/tclPosixStr.c:328: this is the first entry for that value
> >./../generic/tclPosixStr.c: In function `Tcl_ErrnoMsg':
> >./../generic/tclPosixStr.c:787: duplicate case value
> >./../generic/tclPosixStr.c:775: this is the first entry for that value
>
> Patch follows. Note this is a library issue, has nothing to do with 1.1.2.
>
> If you already have tcl 8 and expect 5 on your system (you probably
> do) then you can just make the dejagnu directory after configuring
> everything.
Ahhh thanks. I did try to build just dejagnu but it failed because it was
expecting that tcl be built.
Can we have the autoconf stuff fixed so it detects that I have tcl 8
or/and expect 5 on the system before attempting to build tcl/expect
itself? Or is it too specialised? I really think that it shouldn't have
to be this way.
Cheers,
Alex
--
/_/\ Legalise cannabis now!
( o.o ) Grow some cannabis today!
> ^ < Peace, Love, Unity and Respect to all.
http://www.tahallah.demon.co.uk - *Updated* New additions in Humour section
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: dejagnu-19981026
[not found] ` < 3237.922041180@upchuck >
@ 1999-03-21 11:27 ` Alex Buell
1999-03-31 23:46 ` dejagnu-19981026 Alex Buell
0 siblings, 1 reply; 10+ messages in thread
From: Alex Buell @ 1999-03-21 11:27 UTC (permalink / raw)
To: Jeffrey A Law; +Cc: Linux Egcs
On Sun, 21 Mar 1999, Jeffrey A Law wrote:
> > make[1]: Leaving directory `/home/alex/src/dejagnu-19981026/tcl'
> > make: *** [all-tcl] Error 2
> Let me guess. You're using glibc-2.1? This is a bug in tcl, not egcs.
That's just the ticket - my own copy of tcl (8.0.5) works/compiles fine.
I think dejagnu really needs to be changed so that it detects that I have
tcl and not try compiling its own tcl stuff.
Cheers,
Alex
--
/_/\ Legalise cannabis now!
( o.o ) Grow some cannabis today!
> ^ < Peace, Love, Unity and Respect to all.
http://www.tahallah.demon.co.uk - *Updated* New additions in Humour section
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: dejagnu-19981026
1999-03-21 11:22 ` dejagnu-19981026 Alex Buell
@ 1999-03-31 23:46 ` Alex Buell
0 siblings, 0 replies; 10+ messages in thread
From: Alex Buell @ 1999-03-31 23:46 UTC (permalink / raw)
To: Zack Weinberg; +Cc: egcs
On Sun, 21 Mar 1999, Zack Weinberg wrote:
> On Sun, 21 Mar 1999 13:04:15 +0000 (GMT), Alex Buell wrote:
> >dejagnu-19981026 (from egcs.cygnus.com) will not compile with egcs-1.1.2.
> [...]
> >./../generic/tclPosixStr.c: In function `Tcl_ErrnoId':
> >./../generic/tclPosixStr.c:340: duplicate case value
> >./../generic/tclPosixStr.c:328: this is the first entry for that value
> >./../generic/tclPosixStr.c: In function `Tcl_ErrnoMsg':
> >./../generic/tclPosixStr.c:787: duplicate case value
> >./../generic/tclPosixStr.c:775: this is the first entry for that value
>
> Patch follows. Note this is a library issue, has nothing to do with 1.1.2.
>
> If you already have tcl 8 and expect 5 on your system (you probably
> do) then you can just make the dejagnu directory after configuring
> everything.
Ahhh thanks. I did try to build just dejagnu but it failed because it was
expecting that tcl be built.
Can we have the autoconf stuff fixed so it detects that I have tcl 8
or/and expect 5 on the system before attempting to build tcl/expect
itself? Or is it too specialised? I really think that it shouldn't have
to be this way.
Cheers,
Alex
--
/_/\ Legalise cannabis now!
( o.o ) Grow some cannabis today!
> ^ < Peace, Love, Unity and Respect to all.
http://www.tahallah.demon.co.uk - *Updated* New additions in Humour section
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: dejagnu-19981026
1999-03-21 10:43 ` dejagnu-19981026 Jeffrey A Law
[not found] ` < 3237.922041180@upchuck >
@ 1999-03-31 23:46 ` Jeffrey A Law
1 sibling, 0 replies; 10+ messages in thread
From: Jeffrey A Law @ 1999-03-31 23:46 UTC (permalink / raw)
To: alex.buell; +Cc: Linux Egcs
In message < Pine.LNX.4.10.9903211254290.11010-100000@tahallah.demon.co.uk >you
write:
> dejagnu-19981026 (from egcs.cygnus.com) will not compile with egcs-1.1.2.
>
> Here's the error:
> gcc -c -g -O2 -I./../generic -I. -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1
> -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_TMPNAM=1 -DHAVE_WAITPID=1
> -DHAVE_UNISTD_H=1 -DUSE_TERMIOS=1 -DHAVE_SYS_TIME_H=1
> -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_TM_GMTOFF=1
> -DHAVE_TIMEZONE_VAR=1 -DHAVE_TIMEZONE_DECL=1 -DHAVE_ST_BLKSIZE=1
> -DSTDC_HEADERS=1 -DNEED_MATHERR=1 -DHAVE_SIGNED_CHAR=1
> -DHAVE_SYS_IOCTL_H=1 -DTCL_SHLIB_EXT=\".so\"
> ./../generic/tclPosixStr.c
> ./../generic/tclPosixStr.c: In function `Tcl_ErrnoId':
> ./../generic/tclPosixStr.c:340: duplicate case value
> ./../generic/tclPosixStr.c:328: this is the first entry for that value
> ./../generic/tclPosixStr.c: In function `Tcl_ErrnoMsg':
> ./../generic/tclPosixStr.c:787: duplicate case value
> ./../generic/tclPosixStr.c:775: this is the first entry for that value
> make[2]: *** [tclPosixStr.o] Error 1
> make[2]: Leaving directory `/home/alex/src/dejagnu-19981026/tcl/unix'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/home/alex/src/dejagnu-19981026/tcl'
> make: *** [all-tcl] Error 2
Let me guess. You're using glibc-2.1? This is a bug in tcl, not egcs.
jeff
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: dejagnu-19981026
1999-03-21 7:57 ` dejagnu-19981026 Zack Weinberg
[not found] ` < 199903211557.KAA04687@blastula.phys.columbia.edu >
@ 1999-03-31 23:46 ` Zack Weinberg
1 sibling, 0 replies; 10+ messages in thread
From: Zack Weinberg @ 1999-03-31 23:46 UTC (permalink / raw)
To: alex.buell; +Cc: egcs
On Sun, 21 Mar 1999 13:04:15 +0000 (GMT), Alex Buell wrote:
>dejagnu-19981026 (from egcs.cygnus.com) will not compile with egcs-1.1.2.
[...]
>./../generic/tclPosixStr.c: In function `Tcl_ErrnoId':
>./../generic/tclPosixStr.c:340: duplicate case value
>./../generic/tclPosixStr.c:328: this is the first entry for that value
>./../generic/tclPosixStr.c: In function `Tcl_ErrnoMsg':
>./../generic/tclPosixStr.c:787: duplicate case value
>./../generic/tclPosixStr.c:775: this is the first entry for that value
Patch follows. Note this is a library issue, has nothing to do with 1.1.2.
If you already have tcl 8 and expect 5 on your system (you probably
do) then you can just make the dejagnu directory after configuring
everything.
zw
--- tcl/generic/tclPosixStr.c~ Fri May 1 14:45:09 1998
+++ tcl/generic/tclPosixStr.c Sun Mar 21 10:54:34 1999
@@ -336,7 +336,7 @@
#ifdef ENXIO
case ENXIO: return "ENXIO";
#endif
-#ifdef EOPNOTSUPP
+#if defined(EOPNOTSUPP) && (!defined(ENOTSUP) || (EOPNOTSUP != ENOTSUP))
case EOPNOTSUPP: return "EOPNOTSUPP";
#endif
#ifdef EPERM
@@ -783,7 +783,7 @@
#ifdef ENXIO
case ENXIO: return "no such device or address";
#endif
-#ifdef EOPNOTSUPP
+#if defined(EOPNOTSUPP) && (!defined(ENOTSUP) || (EOPNOTSUP != ENOTSUP))
case EOPNOTSUPP: return "operation not supported on socket";
#endif
#ifdef EPERM
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: dejagnu-19981026
1999-03-21 11:27 ` dejagnu-19981026 Alex Buell
@ 1999-03-31 23:46 ` Alex Buell
0 siblings, 0 replies; 10+ messages in thread
From: Alex Buell @ 1999-03-31 23:46 UTC (permalink / raw)
To: Jeffrey A Law; +Cc: Linux Egcs
On Sun, 21 Mar 1999, Jeffrey A Law wrote:
> > make[1]: Leaving directory `/home/alex/src/dejagnu-19981026/tcl'
> > make: *** [all-tcl] Error 2
> Let me guess. You're using glibc-2.1? This is a bug in tcl, not egcs.
That's just the ticket - my own copy of tcl (8.0.5) works/compiles fine.
I think dejagnu really needs to be changed so that it detects that I have
tcl and not try compiling its own tcl stuff.
Cheers,
Alex
--
/_/\ Legalise cannabis now!
( o.o ) Grow some cannabis today!
> ^ < Peace, Love, Unity and Respect to all.
http://www.tahallah.demon.co.uk - *Updated* New additions in Humour section
^ permalink raw reply [flat|nested] 10+ messages in thread
* dejagnu-19981026
1999-03-21 5:06 dejagnu-19981026 Alex Buell
[not found] ` < Pine.LNX.4.10.9903211254290.11010-100000@tahallah.demon.co.uk >
@ 1999-03-31 23:46 ` Alex Buell
1 sibling, 0 replies; 10+ messages in thread
From: Alex Buell @ 1999-03-31 23:46 UTC (permalink / raw)
To: Linux Egcs
dejagnu-19981026 (from egcs.cygnus.com) will not compile with egcs-1.1.2.
Here's the error:
gcc -c -g -O2 -I./../generic -I. -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1
-DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_TMPNAM=1 -DHAVE_WAITPID=1
-DHAVE_UNISTD_H=1 -DUSE_TERMIOS=1 -DHAVE_SYS_TIME_H=1
-DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_TM_GMTOFF=1
-DHAVE_TIMEZONE_VAR=1 -DHAVE_TIMEZONE_DECL=1 -DHAVE_ST_BLKSIZE=1
-DSTDC_HEADERS=1 -DNEED_MATHERR=1 -DHAVE_SIGNED_CHAR=1
-DHAVE_SYS_IOCTL_H=1 -DTCL_SHLIB_EXT=\".so\"
./../generic/tclPosixStr.c
./../generic/tclPosixStr.c: In function `Tcl_ErrnoId':
./../generic/tclPosixStr.c:340: duplicate case value
./../generic/tclPosixStr.c:328: this is the first entry for that value
./../generic/tclPosixStr.c: In function `Tcl_ErrnoMsg':
./../generic/tclPosixStr.c:787: duplicate case value
./../generic/tclPosixStr.c:775: this is the first entry for that value
make[2]: *** [tclPosixStr.o] Error 1
make[2]: Leaving directory `/home/alex/src/dejagnu-19981026/tcl/unix'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/alex/src/dejagnu-19981026/tcl'
make: *** [all-tcl] Error 2
Whoops.
Cheers,
Alex
--
/_/\ Legalise cannabis now!
( o.o ) Grow some cannabis today!
> ^ < Peace, Love, Unity and Respect to all.
http://www.tahallah.demon.co.uk - *Updated* New additions in Humour section
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~1999-03-31 23:46 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-03-21 5:06 dejagnu-19981026 Alex Buell
[not found] ` < Pine.LNX.4.10.9903211254290.11010-100000@tahallah.demon.co.uk >
1999-03-21 7:57 ` dejagnu-19981026 Zack Weinberg
[not found] ` < 199903211557.KAA04687@blastula.phys.columbia.edu >
1999-03-21 11:22 ` dejagnu-19981026 Alex Buell
1999-03-31 23:46 ` dejagnu-19981026 Alex Buell
1999-03-31 23:46 ` dejagnu-19981026 Zack Weinberg
1999-03-21 10:43 ` dejagnu-19981026 Jeffrey A Law
[not found] ` < 3237.922041180@upchuck >
1999-03-21 11:27 ` dejagnu-19981026 Alex Buell
1999-03-31 23:46 ` dejagnu-19981026 Alex Buell
1999-03-31 23:46 ` dejagnu-19981026 Jeffrey A Law
1999-03-31 23:46 ` dejagnu-19981026 Alex Buell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).