hi,Jesse
I have noticed that my solution may be a mistake.So I specify the location of libutil.a in the Makefile by:
$(CC) -static -o $@ $^ -L/usr/lib/x86_64-redhat-linux5E/lib64/ -lutil And make again,but this time a new mistake happened:
wshd.o: In function `child_fork':
/home/work/warden/warden/src/wsh/wshd.c:329: undefined reference to `execvpe'
wshd.o: In function `child_signalfd':
/home/work/warden/warden/src/wsh/wshd.c:553: undefined reference to `signalfd'
collect2: ld returned 1 exit status
make: *** [wshd] Error 1 It seems that it can not found
execvpe and signalfd in the system,so I think the system is lack of some lib or sys api too.
在 2013年4月22日星期一UTC+8下午2时26分11秒,Jesse Zhang写道: