compile errors on LynxOS 3.1.0
Open922766ffffffffffffffffffffffffffffffffffCreated 23 years agoUpdated 23 years ago
Descriptionplain2004-03-24 22:10:17
I got the following compile errors while trying to build on LynxOS 3.1.0 071000-F PowerPC. ./../generic/tclClock.c: In function `FormatClock': ./../generic/tclClock.c(314) : warning: assignment makes integer from pointer without a cast ./../generic/tclClock.c(315) : error: invalid lvalue in assignment ./../generic/tclClock.c(360) : error: invalid lvalue in assignment ./../generic/tclPosixStr.c: In function `Tcl_ErrnoId': ./../generic/tclPosixStr.c(328) : error: duplicate case value ./../generic/tclPosixStr.c(79) : error: this is the first entry for that value ./../generic/tclPosixStr.c: In function `Tcl_ErrnoMsg': ./../generic/tclPosixStr.c(778) : error: duplicate case value ./../generic/tclPosixStr.c(528) : error: this is the first entry for that value I fixed those compile errors and then had problems linking tclsh because of undefined references to inet_ntoa, mkstemp, gethostbyaddr, inet_addr, and getservbyname. Doing a "LIBS=-lbsd ./configure" worked around that problem. Also, there were a number of warnings about using <foo.h> instead of <sys/foo.h> (I think this is a problem with the LynxOS header files). I've attached a patch file that corrects these problems (for me at least). (Affects generic/tclClock.c, generic/tclPosixStr.c, and unix/tcl.m4.)
david_glessnerplain2004-03-25 05:10:18
File Added - 81251: tcl8.4.6-local.patch-01
dkf Ticket [922766ffff]: 2 changes
[History diff]2004-03-30 04:27:17
Log in (anonymous is fine) to add a comment.
Attachments:
- tcl8.4.6-local.patch-01 [download] added by david_glessner on 2004-03-25 05:10:18. [details]