gcc -o cheops-agent logger.o misc.o cerror.o cache.o script.o cheops-agent.o agent-discover.o agent-settings.o agent-event.o agent-io.o agent-ip_utils.o agent-osscan.o agent-map.o probe.o agent-probe.o agent-auth.o agent-nmapxml.o   ./adns-1.0/src/libadns.a sched.o cheops-main.o  -lm -lnsl -lpthread -lncurses -lpthread -lSM -lICE -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm -rdynamic -L/usr/lib -L/usr/X11R6/lib  -rdynamic -lgnomeui -lart_lgpl -lgdk_imlib -lSM -lICE -lgtk -lgdk -lgmodule -ldl -lXi -lXext -lX11 -lgnome -lgnomesupport -lesd -laudiofile -lm -lglib -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm -L/usr/lib -lglib -L/usr/lib -lImlib -ljpeg -ltiff -lungif -lpng -lz -lm -lXext -L/usr/X11R6/lib -lSM -lICE -lXext -lX11 -g -O2 -Wall  -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include  -L./adns-1.0/src/ -lcrypt `glib-config  --cflags --libs` 
agent-nmapxml.o(.text+0xd3): In function `parseNmapScanPortService':
/root/cheops-ng/agent-nmapxml.c:69: undefined reference to `xmlGetProp'
agent-nmapxml.o(.text+0x103):/root/cheops-ng/agent-nmapxml.c:74: undefined reference to `xmlGetProp'
agent-nmapxml.o(.text+0x11c):/root/cheops-ng/agent-nmapxml.c:76: undefined reference to `xmlStrcmp'
agent-nmapxml.o(.text+0x138):/root/cheops-ng/agent-nmapxml.c:84: undefined reference to `xmlGetProp'
agent-nmapxml.o(.text+0x15f):/root/cheops-ng/agent-nmapxml.c:88: undefined reference to `xmlGetProp'
agent-nmapxml.o(.text+0x186):/root/cheops-ng/agent-nmapxml.c:92: undefined reference to `xmlGetProp'
agent-nmapxml.o(.text+0x1dd): In function `parseNmapScanPortState':
/root/cheops-ng/agent-nmapxml.c:103: undefined reference to `xmlGetProp'
agent-nmapxml.o(.text+0x1f8):/root/cheops-ng/agent-nmapxml.c:105: undefined reference to `xmlStrcmp'
agent-nmapxml.o(.text+0x21e):/root/cheops-ng/agent-nmapxml.c:107: undefined reference to `xmlStrcmp'
agent-nmapxml.o(.text+0x23c):/root/cheops-ng/agent-nmapxml.c:109: undefined reference to `xmlStrcmp'
agent-nmapxml.o(.text+0x25a):/root/cheops-ng/agent-nmapxml.c:111: undefined reference to `xmlStrcmp'
agent-nmapxml.o(.text+0x278):/root/cheops-ng/agent-nmapxml.c:113: undefined reference to `xmlStrcmp'
agent-nmapxml.o(.text+0x2b1): In function `parseNmapScanPortOwner':
/root/cheops-ng/agent-nmapxml.c:128: undefined reference to `xmlGetProp'
agent-nmapxml.o(.text+0x327): In function `parseNmapScanPort':
/root/cheops-ng/agent-nmapxml.c:148: undefined reference to `xmlGetProp'
agent-nmapxml.o(.text+0x33e):/root/cheops-ng/agent-nmapxml.c:150: undefined reference to `xmlStrcmp'
agent-nmapxml.o(.text+0x35d):/root/cheops-ng/agent-nmapxml.c:157: undefined reference to `xmlGetProp'
agent-nmapxml.o(.text+0x389):/root/cheops-ng/agent-nmapxml.c:168: undefined reference to `xmlIsBlankNode'
agent-nmapxml.o(.text+0x3c4):/root/cheops-ng/agent-nmapxml.c:170: undefined reference to `xmlStrcmp'
agent-nmapxml.o(.text+0x3ec):/root/cheops-ng/agent-nmapxml.c:172: undefined reference to `xmlStrcmp'
agent-nmapxml.o(.text+0x40f):/root/cheops-ng/agent-nmapxml.c:174: undefined reference to `xmlStrcmp'
agent-nmapxml.o(.text+0x434):/root/cheops-ng/agent-nmapxml.c:152: undefined reference to `xmlStrcmp'
agent-nmapxml.o(.text+0x454):/root/cheops-ng/agent-nmapxml.c:154: undefined reference to `xmlStrcmp'
agent-nmapxml.o(.text+0x4b5): In function `parseNmapScanPorts':
/root/cheops-ng/agent-nmapxml.c:192: undefined reference to `xmlIsBlankNode'
agent-nmapxml.o(.text+0x4dc):/root/cheops-ng/agent-nmapxml.c:194: undefined reference to `xmlStrcmp'
agent-nmapxml.o(.text+0x51d): In function `parseNmapScanOSosmatch':
/root/cheops-ng/agent-nmapxml.c:206: undefined reference to `xmlGetProp'
agent-nmapxml.o(.text+0x579): In function `parseNmapScanOS':
/root/cheops-ng/agent-nmapxml.c:222: undefined reference to `xmlIsBlankNode'
agent-nmapxml.o(.text+0x5a0):/root/cheops-ng/agent-nmapxml.c:224: undefined reference to `xmlStrcmp'
agent-nmapxml.o(.text+0x5e1): In function `parseNmapScanAddress':
/root/cheops-ng/agent-nmapxml.c:236: undefined reference to `xmlGetProp'
agent-nmapxml.o(.text+0x637): In function `parseNmapScanUptime':
/root/cheops-ng/agent-nmapxml.c:248: undefined reference to `xmlGetProp'
agent-nmapxml.o(.text+0x667):/root/cheops-ng/agent-nmapxml.c:253: undefined reference to `xmlGetProp'
agent-nmapxml.o(.text+0x6c5): In function `parseNmapScanHost':
/root/cheops-ng/agent-nmapxml.c:269: undefined reference to `xmlIsBlankNode'
agent-nmapxml.o(.text+0x6ec):/root/cheops-ng/agent-nmapxml.c:271: undefined reference to `xmlStrcmp'
agent-nmapxml.o(.text+0x714):/root/cheops-ng/agent-nmapxml.c:273: undefined reference to `xmlStrcmp'
agent-nmapxml.o(.text+0x737):/root/cheops-ng/agent-nmapxml.c:275: undefined reference to `xmlStrcmp'
agent-nmapxml.o(.text+0x75a):/root/cheops-ng/agent-nmapxml.c:277: undefined reference to `xmlStrcmp'
agent-nmapxml.o(.text+0x795): In function `parseNmapScan':
/root/cheops-ng/agent-nmapxml.c:291: undefined reference to `xmlDocGetRootElement'
agent-nmapxml.o(.text+0x7b2):/root/cheops-ng/agent-nmapxml.c:298: undefined reference to `xmlStrcmp'
agent-nmapxml.o(.text+0x7f2):/root/cheops-ng/agent-nmapxml.c:315: undefined reference to `xmlGetProp'
agent-nmapxml.o(.text+0x822):/root/cheops-ng/agent-nmapxml.c:320: undefined reference to `xmlGetProp'
agent-nmapxml.o(.text+0x852):/root/cheops-ng/agent-nmapxml.c:325: undefined reference to `xmlGetProp'
agent-nmapxml.o(.text+0x885):/root/cheops-ng/agent-nmapxml.c:338: undefined reference to `xmlIsBlankNode'
agent-nmapxml.o(.text+0x89e):/root/cheops-ng/agent-nmapxml.c:346: undefined reference to `xmlFreeDoc'
agent-nmapxml.o(.text+0x8b8):/root/cheops-ng/agent-nmapxml.c:340: undefined reference to `xmlStrcmp'
agent-nmapxml.o(.text+0x8eb):/root/cheops-ng/agent-nmapxml.c:310: undefined reference to `xmlFreeDoc'
agent-nmapxml.o(.text+0xbf9): In function `runNmapScan':
/root/cheops-ng/agent-nmapxml.c:502: undefined reference to `xmlParseDoc'
agent-nmapxml.o(.text+0xdb5): In function `nmap_scan':
/root/cheops-ng/agent-nmapxml.c:511: undefined reference to `xmlCheckVersion'
agent-nmapxml.o(.text+0xdc1):/root/cheops-ng/agent-nmapxml.c:511: undefined reference to `xmlKeepBlanksDefault'
agent-nmapxml.o(.text+0xde9):/root/cheops-ng/agent-nmapxml.c:522: undefined reference to `xmlCleanupParser'
collect2: ld returned 1 exit status
make: *** [cheops-agent] Error 1
