任务单 #40012

ccs-tools 1.8.6 build error

开放日期: 2020-02-10 23:03 最后更新: 2020-02-29 16:14

报告人:
属主:
(无)
类型:
状态:
开启
组件:
(无)
里程碑:
(无)
优先:
5 - Medium
严重性:
5 - Medium
处理结果:
文件:

Details

ccs-tools 1.8.6 build error

https://pastebin.com/2y0xvhVB

Adding -ltinfo to the LDFLAGS fix this error, not sure if it's the right fix however.

任务单历史 (3/3 Histories)

2020-02-10 23:03 Updated by: g3ngr33n
  • New Ticket "ccs-tools 1.8.6 build error" created
2020-02-10 23:48 Updated by: kumaneko
评论

Thank you for the report. Well, it seems that intrflush has moved from ncurses.so to tinfo.so in 5.6 or 5.7.

Thus, despite the man page says "-lncurses", it seems that we also need "-ltinfo" when building for recent distributions.

# nm -D /usr/lib/libncurses.so.5.3 | grep intr

0002a5a0 T intrflush

# nm -D /usr/lib/libncurses.so.5.4 | grep intr

0002b10e T intrflush

# nm -D /usr/lib/libncurses.so.5.5 | grep intr

00413ee0 T intrflush

# nm -D /lib/libncurses.so.5.7 | grep intr

# nm -D /lib/libtinfo.so.5.7 | grep intr

00008d50 T intrflush

# nm -D /usr/lib64/libncurses.so.5.9 | grep intr

# nm -D /usr/lib64/libtinfo.so.5.9 | grep intr

0000000000011330 T intrflush

2020-02-29 16:14 Updated by: kumaneko
评论

Please use ccs-tools-1.8.6-20200229.tar.gz . Thank you.

Attachment File List

No attachments

编辑

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » 登录名