GNU readline History feature

I'm using this code for the history features in my shell: but when I compile this using gcc, I got this error $ gcc filename.c /tmp/ccay2CgM.o: In function `main': rl.c:(.text+0x9): undefined reference to `rl_abort' rl.c:(.text+0x13): undefined reference to `rl_bind_key' rl.c:(.text+0x1d): undefined reference to `readline' rl.c:(.text+0x61): undefined reference to `add_history' collect2: ld returned 1 exit status $
can you add the exact command you're using to compile it?

以上就是GNU readline History feature 的详细内容,更多请关注web前端其它相关文章!

赞(0) 打赏
未经允许不得转载:web前端首页 » CSS3 答疑

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

前端开发相关广告投放 更专业 更精准