Results 1 to 3 of 3

Thread: Can't compile the following program.

  1. #1
    Join Date
    Nov 2009
    Location
    Perak, Malaysia
    Beans
    128
    Distro
    Ubuntu 10.04 Lucid Lynx

    Can't compile the following program.

    I followed the steps from the this website http://rarcrack.sourceforge.net/

    but after I run:

    sudo make

    I got this output:

    gcc -pthread rarcrack.c `xml2-config --libs --cflags` -O2 -o rarcrack
    rarcrack.c: In function ‘crack_thread’:
    rarcrack.c:206:32: warning: comparison between pointer and integer
    rarcrack.c: In function ‘init’:
    rarcrack.c:283:6: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘char (*)[300]’
    rarcrack.c:317:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result
    rarcrack.c: In function ‘crack_thread’:
    rarcrack.c:205:11: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
    Proud user of Ubuntu.

    "A good sword is the one that is left in its scabbard."
    -unknown-

  2. #2
    Join Date
    Jun 2007
    Beans
    17,337

    Re: Can't compile the following program.

    You are only showing warnings, take a look in your source folder to see if a binary was created (typically a blue diamond file

  3. #3
    Join Date
    Mar 2010
    Location
    ρθΦ=000
    Beans
    Hidden!
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Can't compile the following program.

    Aye, warnings usually still produce the compiled binary, if you see an "error: " then you'll have to do some work figuring out what is going wrong.

Tags for this Thread

Bookmarks

Posting Permissions

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