Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 8050e8e84efa77fcdd7d36b99cdc85fc7beebac55709dd1be2cc8b4aa9d781b6
Ticket: 6db51b2bcd1be96d28cbc83fd2c6b5e42eebf751
dragonflybsd: build for itcl, sqlite fails due to missing linker command
User & Date: bll on 2018-10-30 13:02:59
Changes

  1. comment changed to:
    I don't use anything in pkgs/, so I will just remove these and move on.
    Though I do hope that the thread package builds, haven't gotten there yet.
    
    rm -f libitcl4.1.1
    -o libitcl4.1.1 itcl2TclOO.o itclBase.o itclBuiltin.o itclClass.o itclCmd.o itclEnsemble.o itclHelpers.o itclInfo.o itclLinkage.o itclMethod.o itclObject.o itclParse.o itclStubs.o itclStubInit.o itclResolve.o itclTclIntStubsFcn.o itclUtil.o itclMigrate2TclCore.o itclTestRegisterC.o  -L/home/bll/t/tcl868/tcl8.6.8/unix -ltclstub8.6
    make[1]: exec(-o) failed (No such file or directory)
    *** Error code 1
    
    rm -f libsqlite3.21.0
    -o libsqlite3.21.0 tclsqlite3.o -lpthread -L/home/bll/t/tcl868/tcl8.6.8/unix -ltclstub8.6
    make[1]: exec(-o) failed (No such file or directory)
    *** Error code 1
    
    Edit:
    
    To get the thread packages to build, I edited:
    a) unix/Makefile
       a1) added -fPIC to CFLAGS
    b) pkgs/thread*/Makefile
       b1) changed SHLIB_CFLAGS to include -shared
       b2) changed SHLIB_LD to be ${CC} ${SHLIB_CFLAGS} (was empty).
    
  2. login: "bll"
  3. mimetype: "text/plain"