Results 1 to 2 of 2

Thread: Make Compiler problems

  1. #1
    Join Date
    Sep 2008
    Rīga, Latvija
    Xubuntu 10.04 Lucid Lynx

    Question Make Compiler problems

    programm i want to install is rarcrack following instructions
    installation hgot from sourceforge same version as in instructions there was the only one
    tar xvjf rarcrack-0.2.tar.bz2
    cd rarcrack-0.2
    sudo apt-get install libxml2-dev
    make ; sudo make install
    didnt work got many errors
    installed autoconf automake
    didnt help but less errors

    installed build-essentials
    on make getting error more less errors
    rarcrack-0.2$ make ; sudo make install
    gcc -pthread rarcrack.c `xml2-config --libs --cflags` -O2 -o rarcrack
    rarcrack.c: In function ‘crack_thread’:
    rarcrack.c:206: warning: comparison between pointer and integer
    rarcrack.c:205: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
    rarcrack.c: In function ‘init’:
    rarcrack.c:283: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘char (*)[300]’
    rarcrack.c:317: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result
    install -s rarcrack /usr/bin
    mkdir -p /usr/share/doc/rarcrack
    chmod 755 /usr/share/doc/rarcrack
    install -m 644 -t /usr/share/doc/rarcrack CHANGELOG LICENSE README README.html RELEASE_NOTES
    btw in help theres line // you need gcc or any C compiler (edit Makefile CC=YOUR_C_COMPILER)
    what then is my compiler? do i need to change that?

  2. #2
    Join Date
    Jan 2007
    Kubuntu 11.04 Natty Narwhal

    Re: Make Compiler problems

    Edit: gcc should be installed when installing build-essential

    BTW,there is a .deb file which you could try if compiling still not works:



    generally it is a good idea to install for compiling besides build-essential

    libtool cmake
    Last edited by realzippy; August 17th, 2010 at 07:14 PM.


Posting Permissions

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