[root@node2 arpd]# make
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/libdnet/include -I/usr/local/libevent/include     -I/usr/local/libdnet/include -c arpd.c
arpd.c: In function ?.rpd_send?.
arpd.c:269: error: expected ?.?.before string constant
arpd.c: In function ?.rpd_lookup?.
arpd.c:286: error: expected ?.?.before string constant
arpd.c:295: error: expected ?.?.before string constant
arpd.c:298: error: expected ?.?.before string constant
arpd.c: In function ?.rpd_recv_cb?.
arpd.c:427: error: expected ?.?.before string constant
make: *** [arpd.o] Error 1

解决方案:

在arpd.c文件中添加

#define __FUNCTION__ ""