Skip to content
Tcl Source Code History Of Ticket 219022
Login

History Of Ticket 219022

Artifacts Associated With Ticket 219022

  1. Ticket change [4ad5a458d2] (rid 126595) by nobody on 2000-10-26 01:09:33:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      OriginalBugID: 3999 Bug
      Version: 8.2.3
      SubmitDate: '2000-01-10'
      LastModified: '2000-01-10'
      Severity: MED
      Status: Released
      Submitter: techsupp
      ChangedBy: hobbs
      OS: Solaris
      OSVersion: 2.5
      Machine: SS20
      FixedDate: '2000-01-10'
      FixedInVersion: 8.3b2
      ClosedDate: '2000-10-25'
      
      
      Name: Ludovic Drolez
      
      Comments:
      * to fix the linker bug, I had to add '-lsocket' in unix/Makefile:
      
      *** Makefile.orig       Mon Jan 10 09:42:19 2000
      --- Makefile    Mon Jan 10 09:42:25 2000
      ***************
      *** 235,241 ****
        ${AC_FLAGS} ${MATH_FLAGS} ${GENERIC_FLAGS} ${PROTO_FLAGS} ${MEM_DEBUG_FLAGS}  ${COMPILE_DEBUG_FLAGS} ${ENV_FLAGS} -DTCL_SHLIB_EXT=\"${SHLIB_SUFFIX}\"
      
      ! LIBS =                -ldl  -lpthread $(MATH_LIBS) -lc
      
        DEPEND_SWITCHES = ${CFLAGS} -I${GENERIC_DIR} -I${SRC_DIR}  ${AC_FLAGS} ${MATH_FLAGS}  --- 235,241 ----
        ${AC_FLAGS} ${MATH_FLAGS} ${GENERIC_FLAGS} ${PROTO_FLAGS} ${MEM_DEBUG_FLAGS}  ${COMPILE_DEBUG_FLAGS} ${ENV_FLAGS} -DTCL_SHLIB_EXT=\"${SHLIB_SUFFIX}\"
      
      ! LIBS =                -ldl  -lpthread $(MATH_LIBS) -lc -lsocket
      
        DEPEND_SWITCHES = ${CFLAGS} -I${GENERIC_DIR} -I${SRC_DIR}  ${AC_FLAGS} ${MATH_FLAGS}  
      ReproducibleScript:
      When trying to compile tcl 8.2.3 on Solaris 2.5 with egcs 2.95.2, you get
      - a 'conflicting declaration' error on 'waitpid' (redefined in compat/waitpid.h)
        (patch below)
      - a linker  error when linking 'tclsh': some symbols are not resolved
        (can be solved by adding -lsocket to the makefile)
      
      Patch:
      *** waitpid.c.orig      Mon Jan 10 09:38:52 2000
      --- waitpid.c   Mon Jan 10 09:39:48 2000
      ***************
      *** 64,72 ****
        #   undef waitpid
        #endif
      
      ! int
        waitpid(pid, statusPtr, options)
      !     int pid;                  /* The pid to wait on.  Must be -1 or
                                       * greater than zero. */
            int *statusPtr;           /* Where to store wait status for the
                                       * process. */
      --- 64,72 ----
        #   undef waitpid
        #endif
      
      ! pid_t
        waitpid(pid, statusPtr, options)
      !     pid_t pid;                        /* The pid to wait on.  Must be -1 or
                                       * greater than zero. */
            int *statusPtr;           /* Where to store wait status for the
                                       * process. */
      
      PatchFiles:
      compat/waitpid.c
      
      
      
      Made the changes to waitpid.c for 8.3b2.  -lsocket should have
      been picked up, as it is for us on Solaris.  There may be a
      problem when building with gcc 2.95 that has to be examined. 
      -- 01/10/2000 hobbs
      
    4. foundin initialized to: "final: 8.2.3"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "nobody"
    9. subsystem initialized to: "69. Other"
    10. title initialized to: "two compile problems of tcl 8.2.3 on Solaris"
    11. type initialized to: "Bug"
  2. Ticket change [a1beb6e879] (rid 109780) by welch on 2000-10-26 08:33:10:

    1. closedate changed to: "2000-10-26T01:33:10"
    2. closer changed to: "welch"
    3. priority changed to: "2"
    4. resolution changed to: "Fixed"
    5. status changed to: "Closed"
  3. Ticket change [360c1ed1b2] (rid 107052) by dgp on 2001-04-23 04:07:33:

    1. closedate changed to: "2001-04-22T21:07:33"
    2. closer changed to: "dgp"
    3. subsystem changed to: "52. Portability Support"