|
When you encounter the following error message:
cc -g -O2 -Wall -o porkbind axfrtest.o main.o chkver.o vercmp.o skiptodata.o skipname.o report.o vcheck.o usage.o vexit.o spin.o -pthread || cc -g -O2 -Wall -o porkbind axfrtest.o main.o chkver.o vercmp.o skiptodata.o skipname.o report.o vcheck.o usage.o vexit.o spin.o -pthread -lresolv
main.o(.text+0x208): In function `main:
/usr/local/src/porkbind-1.2/main.c:110: undefined reference to `__res_query
main.o(.text+0x528):/usr/local/src/porkbind-1.2/main.c:131: undefined reference to `__dn_expand
skipname.o(.text+0x1f): In function `skipname:
/usr/local/src/porkbind-1.2/skipname.c:16: undefined reference to `__dn_expand
vcheck.o(.text+0xe0): In function `vcheck:
/usr/local/src/porkbind-1.2/vcheck.c:86: undefined reference to `__res_query
collect2: ld returned 1 exit status
You will need to edit the Makefile and remove the following from the make line:
$(CC) $(FLAGS) -o $(EXE) $(OBJS) $(LIBS) ||
up to and including the or sign (||) by marc at 2008-07-31 21:24:29
|