Results 1 to 8 of 8

Thread: Aircrack-ptw support

  1. #1
    Just burned his ISO
    Join Date
    Mar 2007
    Posts
    3

    Default Aircrack-ptw support

    Aircrack-ptw has been released and I attempted to download and compile but ran in to some problems. Any ideas?

    Reference: htt p: / / ww w.cdc.informatik.tu-darmstadt.de/aircrack-ptw/


    bt aircrack-ptw-1.0.0 # make
    gcc -o aircrack-ptw -Wall -fomit-frame-pointer -O3 -lpcap aircrack-ptw.c aircrack-ptw-lib.c
    /tmp/ccs3gLp1.o(.text+0xaf): In function `main':
    : undefined reference to `pcap_open_offline'
    /tmp/ccs3gLp1.o(.text+0xcf): In function `main':
    : undefined reference to `pcap_datalink'
    /tmp/ccs3gLp1.o(.text+0x107): In function `main':
    : undefined reference to `pcap_next_ex'
    /tmp/ccs3gLp1.o(.text+0x2f0): In function `main':
    : undefined reference to `pcap_next_ex'
    collect2: ld returned 1 exit status
    make: *** [aircrack-ptw] Error 1
    bt aircrack-ptw-1.0.0 #

  2. #2
    Just burned his ISO
    Join Date
    Jun 2006
    Posts
    20

    Default

    yes, I figured out the problem. Open the Makefile, and move the -lpcap to the end of the gcc line. I love this program!!!!

  3. #3
    Just burned his ISO
    Join Date
    Mar 2007
    Posts
    3

    Default

    Quote Originally Posted by zambuka42 View Post
    yes, I figured out the problem. Open the Makefile, and move the -lpcap to the end of the gcc line. I love this program!!!!
    To be clear, this is what the modified Makefile should look like:

    Code:
    aircrack-ptw: aircrack-ptw.c aircrack-ptw-lib.c aircrack-ptw-lib.h
    	gcc -o aircrack-ptw -Wall -fomit-frame-pointer -O3 aircrack-ptw.c aircrack-ptw-lib.c -lpcap 
    
    attacksim: attacksim.c aircrack-ptw-lib.c aircrack-ptw-lib.h
    	gcc -o attacksim -Wall -fomit-frame-pointer -O3 attacksim.c aircrack-ptw-lib.c -lpcap 
    
    clean:
    	rm -f aircrack-ptw attacksim

  4. #4
    Just burned his ISO
    Join Date
    Feb 2007
    Posts
    16

    Default

    thx elliot

  5. #5

    Default

    Zambuka42... thanks loads...been fooling around with this for 2 hours...compiles fine now...
    cheers...

  6. #6
    Just burned his ISO
    Join Date
    Jun 2006
    Posts
    20

    Default

    no problem

  7. #7
    Just burned his ISO maxweb's Avatar
    Join Date
    Jun 2006
    Posts
    20

    Default

    Very helpful ... spent a few hours myself until i read this !


    Thanks

  8. #8
    Just burned his ISO
    Join Date
    Nov 2007
    Posts
    1

    Default

    Thanks a lot, this works.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •