From mboxrd@z Thu Jan 1 00:00:00 1970 From: Zack Weinberg To: alex.buell@tahallah.demon.co.uk Cc: egcs@egcs.cygnus.com Subject: Re: dejagnu-19981026 Date: Sun, 21 Mar 1999 07:57:00 -0000 Message-id: <199903211557.KAA04687@blastula.phys.columbia.edu> In-reply-to: Your message of "Sun, 21 Mar 1999 13:04:15 GMT." < Pine.LNX.4.10.9903211254290.11010-100000@tahallah.demon.co.uk > References: X-SW-Source: 1999-03/msg00706.html 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 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Zack Weinberg To: alex.buell@tahallah.demon.co.uk Cc: egcs@egcs.cygnus.com Subject: Re: dejagnu-19981026 Date: Wed, 31 Mar 1999 23:46:00 -0000 Message-ID: <199903211557.KAA04687@blastula.phys.columbia.edu> References: X-SW-Source: 1999-03n/msg00711.html Message-ID: <19990331234600.yKEUg6yEX7PHoYnakyWTlzqw79LIxcJv79JHQ4Xxuio@z> 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