Recently ,I need to compile pptp-linux by myself.But there was an error:
It means I miss something :)
Actually add the -lutil flag ,it can compile ok.
gcc -o pptp pptp.o pptp_gre.o ppp_fcs.o pptp_ctrl.o dirutil.o vector.o inststr.o util.o version.o test.o pptp_quirks.o orckit_quirks.o pqueue.o pptp_callmgr.o routing.o pptp_compat.o
pptp.o: In function `main':
/home/agile/oss/pptp-linux/pptp.c:327: undefined reference to `openpty'
It means I miss something :)
Actually add the -lutil flag ,it can compile ok.
本文介绍了一次尝试自行编译PPTP-Linux过程中遇到的编译错误,错误信息显示缺少了对`openpty`的引用。通过添加`-lutil`标志解决了该问题。
399

被折叠的 条评论
为什么被折叠?



