Giter Site home page Giter Site logo

Comments (2)

rofl0r avatar rofl0r commented on May 27, 2024

these are all funcs found in libterminfo.so:

~ $ readelf -a /lib/libterminfo.so | grep setupterm
00000020e3e0  001000000007 R_X86_64_JUMP_SLO 0000000000002c82 ti_setupterm + 0
00000020e4f8  004500000007 R_X86_64_JUMP_SLO 0000000000002e00 setupterm + 0
    16: 0000000000002c82   382 FUNC    GLOBAL DEFAULT    8 ti_setupterm
    69: 0000000000002e00    59 FUNC    GLOBAL DEFAULT    8 setupterm
    48: 0000000000000000     0 FILE    LOCAL  DEFAULT  ABS setupterm.c
   116: 0000000000002c82   382 FUNC    GLOBAL DEFAULT    8 ti_setupterm
   169: 0000000000002e00    59 FUNC    GLOBAL DEFAULT    8 setupterm
~ $ readelf -a /lib/libterminfo.so | grep tputs
00000020e488  002e00000007 R_X86_64_JUMP_SLO 000000000000402b tputs + 0
    46: 000000000000402b    50 FUNC    GLOBAL DEFAULT    8 tputs
    59: 0000000000000000     0 FILE    LOCAL  DEFAULT  ABS tputs.c
   146: 000000000000402b    50 FUNC    GLOBAL DEFAULT    8 tputs
~ $ readelf -a /lib/libterminfo.so | grep tigetstr
    53: 0000000000002c66    28 FUNC    GLOBAL DEFAULT    8 tigetstr
   153: 0000000000002c66    28 FUNC    GLOBAL DEFAULT    8 tigetstr
~ $ readelf -a /lib/libterminfo.so | grep tigetflag
    40: 0000000000002b4f    27 FUNC    GLOBAL DEFAULT    8 tigetflag
   140: 0000000000002b4f    27 FUNC    GLOBAL DEFAULT    8 tigetflag
~ $ 

that means you somehow got to add -lterminfo into LDFLAGS/LIBS

from netbsd-curses.

githububub avatar githububub commented on May 27, 2024

Got it. I initially followed the followed the Sabotage build recipe and used LIBS= instead of LDFLAGS=. Thanks. I will have to try out Sabotage on a spare box one of these days...

from netbsd-curses.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.