Hey guys, I am writing a simple packet capture utility but am having problems while compiling the code. When I compile I get the following errors: /tmp/cciIObrQ.o(.text+0x35):in function 'main': :undefined reference to 'pcap_lookupdev' I also get the similar errors for the functions with different memory addresses ofcourse: pcap_lookupnet, pcap_open_live etc.... So it looks like a problem linking the pcap library. But I have the pcap installed etc.. Any ideas what the problem could be? Thanks, Vinay __________________________________ Do you Yahoo!? Read only the mail you want - Yahoo! Mail SpamGuard. http://promotions.yahoo.com/new_mail - : send the line "unsubscribe linux-net" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html