Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

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

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. 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.)
    
  4. foundin changed to: "obsolete: 8.4.6"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "david_glessner"
  9. subsystem changed to: "None"
  10. title changed to: "compile errors on LynxOS 3.1.0"
  11. type changed to: "Bug"