Thread: Problem with library

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User
    Join Date
    Jul 2012
    Posts
    11
    I solved the problem. Maybe i ask some questions later
    Last edited by QQemka; 07-03-2012 at 10:09 AM.

  2. #2
    Registered User
    Join Date
    Jul 2012
    Posts
    11
    Im using codeblocks, when im trying to compile simple programs from tutorial WinPcap: Obtaining the device list im gettin errors

    C:\Documents and Settings\QQemka\Pulpit\qqqqqqq\sn.c|4|warning: return type defaults to 'int'|
    C:\Documents and Settings\QQemka\Pulpit\qqqqqqq\sn.c||In function 'main':|
    C:\Documents and Settings\QQemka\Pulpit\qqqqqqq\sn.c|11|warning: implicit declaration of function 'pcap_findalldevs_ex'|
    C:\Documents and Settings\QQemka\Pulpit\qqqqqqq\sn.c|11|error: 'PCAP_SRC_IF_STRING' undeclared (first use in this function)|
    C:\Documents and Settings\QQemka\Pulpit\qqqqqqq\sn.c|11|error: (Each undeclared identifier is reported only once|
    C:\Documents and Settings\QQemka\Pulpit\qqqqqqq\sn.c|11|error: for each function it appears in.)|
    C:\Documents and Settings\QQemka\Pulpit\qqqqqqq\sn.c|30|warning: 'return' with no value, in function returning non-void|
    ||=== Build finished: 3 errors, 3 warnings ===|


    Is it possible that this library cannot complie in codeblocks??
    All i need is to write simple sniffer showing packets coming to and out of application, with ability to send some modified packets
    Last edited by QQemka; 07-03-2012 at 11:05 AM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Library Problem
    By evetevet in forum C Programming
    Replies: 4
    Last Post: 01-18-2009, 11:07 AM
  2. library problem again!!!
    By kris.c in forum C Programming
    Replies: 8
    Last Post: 07-13-2006, 06:23 AM
  3. problem with the library
    By kris.c in forum C Programming
    Replies: 21
    Last Post: 07-10-2006, 08:29 PM
  4. BZ2 library problem
    By cfrost in forum C Programming
    Replies: 0
    Last Post: 12-20-2004, 11:53 PM
  5. Library Problem - [I Think]
    By White Chocobo in forum C Programming
    Replies: 1
    Last Post: 04-25-2002, 08:50 PM