搜索
查看: 2154|回复: 4

[其他] samtools安装报错

[复制链接]

8

主题

10

帖子

118

积分

注册会员

Rank: 2

积分
118
发表于 2017-8-26 10:22:42 | 显示全部楼层 |阅读模式
samtools安装报错指针赋值出现错误
[yanxu2016@ning-lab samtools-1.3]$ make
gcc -g -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I. -Ihtslib-1.3  -c -o bam_tview_curses.o bam_tview_curses.c
bam_tview_curses.c:46:5: error: unknown type name ‘WINDOW’
bam_tview_curses.c: In function ‘curses_init_colors’:
bam_tview_curses.c:107:22: error: ‘COLOR_WHITE’ undeclared (first use in this function)
bam_tview_curses.c:107:22: note: each undeclared identifier is reported only once for each function it appears in
bam_tview_curses.c:107:35: error: ‘COLOR_BLUE’ undeclared (first use in this function)
bam_tview_curses.c:108:22: error: ‘COLOR_BLACK’ undeclared (first use in this function)
bam_tview_curses.c:108:35: error: ‘COLOR_GREEN’ undeclared (first use in this function)
bam_tview_curses.c:109:35: error: ‘COLOR_YELLOW’ undeclared (first use in this function)
bam_tview_curses.c:112:35: error: ‘COLOR_CYAN’ undeclared (first use in this function)
bam_tview_curses.c:113:35: error: ‘COLOR_MAGENTA’ undeclared (first use in this function)
bam_tview_curses.c:114:35: error: ‘COLOR_RED’ undeclared (first use in this function)
bam_tview_curses.c: In function ‘tv_win_goto’:
bam_tview_curses.c:154:18: error: ‘KEY_BACKSPACE’ undeclared (first use in this function)
bam_tview_curses.c:156:25: error: ‘KEY_ENTER’ undeclared (first use in this function)
bam_tview_curses.c: In function ‘tv_win_help’:
bam_tview_curses.c:203:5: error: unknown type name ‘WINDOW’
bam_tview_curses.c: In function ‘curses_underline’:
bam_tview_curses.c:239:12: error: ‘A_UNDERLINE’ undeclared (first use in this function)
bam_tview_curses.c: In function ‘curses_loop’:
bam_tview_curses.c:263:18: error: ‘KEY_LEFT’ undeclared (first use in this function)
bam_tview_curses.c:265:18: error: ‘KEY_RIGHT’ undeclared (first use in this function)
bam_tview_curses.c:267:18: error: ‘KEY_SLEFT’ undeclared (first use in this function)
bam_tview_curses.c:269:18: error: ‘KEY_SRIGHT’ undeclared (first use in this function)
bam_tview_curses.c:278:18: error: ‘KEY_UP’ undeclared (first use in this function)
bam_tview_curses.c:280:18: error: ‘KEY_DOWN’ undeclared (first use in this function)
bam_tview_curses.c:282:18: error: ‘KEY_BACKSPACE’ undeclared (first use in this function)
bam_tview_curses.c:284:18: error: ‘KEY_RESIZE’ undeclared (first use in this function)
bam_tview_curses.c:284:39: error: ‘stdscr’ undeclared (first use in this function)
bam_tview_curses.c: In function ‘curses_tv_init’:
bam_tview_curses.c:325:12: error: ‘stdscr’ undeclared (first use in this function)
bam_tview_curses.c:325:20: error: ‘TRUE’ undeclared (first use in this function)
bam_tview_curses.c:331:15: warning: assignment makes pointer from integer without a cast [enabled by default]
bam_tview_curses.c:332:15: warning: assignment makes pointer from integer without a cast [enabled by default]
make: *** [bam_tview_curses.o] Error 1
有大神知道怎么弄么,谢谢啦

回复

使用道具 举报

8

主题

10

帖子

118

积分

注册会员

Rank: 2

积分
118
 楼主| 发表于 2017-8-31 10:40:22 | 显示全部楼层

好勒,谢谢大哥,我试一下
回复 支持 反对

使用道具 举报

8

主题

10

帖子

118

积分

注册会员

Rank: 2

积分
118
 楼主| 发表于 2017-8-31 19:21:02 | 显示全部楼层

老哥稳!安好啦
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|手机版|小黑屋|生信技能树 ( 粤ICP备15016384号  

GMT+8, 2019-11-17 19:23 , Processed in 0.039844 second(s), 22 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.