[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Compiling problem
Try this ...
Nikos
----- Original Message -----
From: Denny Lee <[email protected]>
To: NS Users <[email protected]>
Sent: Monday, October 25, 1999 5:36 PM
Subject: Compiling problem
> Hello,
> I am trying to compile the latest ns-allinon2.15b. I am getting the
following errors:
> ./../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: *** [tclPosixStr.o] Error 1
>
> I also tried to compile each package seperately, but I can't seems to get
otcl to compile correctly. I am trying to run ns on a RedHat 6.0 pentium
box. Thanks for your help.
>
>
> Join 18 million Eudora users by signing up for a free Eudora Web-Mail
account at http://www.eudoramail.com
>
*** tclPosixStr.c.orig Thu Jan 28 14:59:41 1999
--- tclPosixStr.c Thu Jan 28 15:01:56 1999
***************
*** 336,342 ****
#ifdef ENXIO
case ENXIO: return "ENXIO";
#endif
! #ifdef EOPNOTSUPP
case EOPNOTSUPP: return "EOPNOTSUPP";
#endif
#ifdef EPERM
--- 336,342 ----
#ifdef ENXIO
case ENXIO: return "ENXIO";
#endif
! #if defined(EOPNOTSUPP) && (!defined(ENOTSUP) || (ENOTSUP != EOPNOTSUPP))
case EOPNOTSUPP: return "EOPNOTSUPP";
#endif
#ifdef EPERM
***************
*** 783,789 ****
#ifdef ENXIO
case ENXIO: return "no such device or address";
#endif
! #ifdef EOPNOTSUPP
case EOPNOTSUPP: return "operation not supported on socket";
#endif
#ifdef EPERM
--- 783,789 ----
#ifdef ENXIO
case ENXIO: return "no such device or address";
#endif
! #if defined(EOPNOTSUPP) && (!defined(ENOTSUP) || (ENOTSUP != EOPNOTSUPP))
case EOPNOTSUPP: return "operation not supported on socket";
#endif
#ifdef EPERM