freeradius-server-2.1.10 make 에러 대처.

freeradius-server-2.1.10 .. configure 하고 make 하면 에러 난다…. ㅡ.ㅡ;

.libs/radsniff.o(.text+0xe8b):/usr/loca/src/freeradius-server-2.1.10/src/main/radsniff.c:467: undefined reference to `pcap_fopen_offline’
collect2: ld returned 1 exit status
gmake[4]: *** [radsniff] Error 1
gmake[4]: Leaving directory `/usr/local/src//freeradius-server-2.1.10/src/main’
gmake[3]: *** [main] Error 2
gmake[3]: Leaving directory `/usr/local/src/freeradius-server-2.1.10/src’
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/usr/local/src/freeradius-server-2.1.10/src’
gmake[1]: *** [src] Error 2
gmake[1]: Leaving directory `/usr/local/src/freeradius-server-2.1.10′
make: *** [all] Error 2

이럴때..  configure 하고 난후.. src/main/Makefile 열어서 아래의 부분 삭제


BINARIES += radsniff

위 라인 삭제 후 make && make install

에러없이 설치됨 ㅋ.

Written on November 19, 2010