Overview
| Artifact ID: | 64e748848d649dceba810328af760ab796f0cb9f |
|---|---|
| Ticket: | 922766ffffffffffffffffffffffffffffffffff
compile errors on LynxOS 3.1.0 |
| User & Date: | david_glessner on 2004-03-24 22:10:17 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
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.)
- foundin changed to: "obsolete: 8.4.6"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "david_glessner"
- subsystem changed to: "None"
- title changed to: "compile errors on LynxOS 3.1.0"
- type changed to: "Bug"