1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Unable to install libgraph, error while using "make" & "sudo make install"command

Discussion in 'Frequently Asked Questions' started by Skyte, Jan 8, 2017.

  1. Skyte

    Skyte New Member

    Joined:
    Jan 8, 2017
    Messages:
    1
    Likes Received:
    0
    Hey Guys,
    I'm trying to install libgraph (to use graphics.h in c++) on my kali linux machine. When i run ./configure in the libgraph folder it runs just fine,
    however i get an error while using the make command.
    Here's the error :

    root@nikhil:~/Downloads/lib# make
    /bin/bash ./libtool --mode=compile gcc -g -O2 -I./include -D_GNU_SOURCE=1 -fvisibility=hidden -D_REENTRANT -DXTHREADS -I/usr/include/directfb -D_REENTRANT -D_REENTRANT -DHAVE_LINUX_VERSION_H -c ./src/video/SDL_RLEaccel.c -o build/SDL_RLEaccel.lo
    libtool: compile: gcc -g -O2 -I./include -D_GNU_SOURCE=1 -fvisibility=hidden -D_REENTRANT -DXTHREADS -I/usr/include/directfb -D_REENTRANT -D_REENTRANT -DHAVE_LINUX_VERSION_H -c ./src/video/SDL_RLEaccel.c -fPIC -DPIC -o build/.libs/SDL_RLEaccel.o
    ./src/video/SDL_RLEaccel.c: Assembler messages:
    ./src/video/SDL_RLEaccel.c:831: Error: operand type mismatch for `movq'
    ./src/video/SDL_RLEaccel.c:831: Error: operand type mismatch for `movq'
    ./src/video/SDL_RLEaccel.c:831: Error: operand type mismatch for `movq'
    ./src/video/SDL_RLEaccel.c:831: Error: operand type mismatch for `movq'
    ./src/video/SDL_RLEaccel.c:930: Error: operand type mismatch for `movq'
    ./src/video/SDL_RLEaccel.c:930: Error: operand type mismatch for `movq'
    ./src/video/SDL_RLEaccel.c:930: Error: operand type mismatch for `movq'
    ./src/video/SDL_RLEaccel.c:930: Error: operand type mismatch for `movq'
    build-deps:536: recipe for target 'build/SDL_RLEaccel.lo' failed
    make: *** [build/SDL_RLEaccel.lo] Error 1



    Also I'm getting a similar error for sudo make install :

    root@nikhil:~/Downloads/lib# sudo make install
    /bin/bash ./libtool --mode=compile gcc -g -O2 -I./include -D_GNU_SOURCE=1 -fvisibility=hidden -D_REENTRANT -DXTHREADS -I/usr/include/directfb -D_REENTRANT -D_REENTRANT -DHAVE_LINUX_VERSION_H -c ./src/video/SDL_RLEaccel.c -o build/SDL_RLEaccel.lo
    libtool: compile: gcc -g -O2 -I./include -D_GNU_SOURCE=1 -fvisibility=hidden -D_REENTRANT -DXTHREADS -I/usr/include/directfb -D_REENTRANT -D_REENTRANT -DHAVE_LINUX_VERSION_H -c ./src/video/SDL_RLEaccel.c -fPIC -DPIC -o build/.libs/SDL_RLEaccel.o
    ./src/video/SDL_RLEaccel.c: Assembler messages:
    ./src/video/SDL_RLEaccel.c:831: Error: operand type mismatch for `movq'
    ./src/video/SDL_RLEaccel.c:831: Error: operand type mismatch for `movq'
    ./src/video/SDL_RLEaccel.c:831: Error: operand type mismatch for `movq'
    ./src/video/SDL_RLEaccel.c:831: Error: operand type mismatch for `movq'
    ./src/video/SDL_RLEaccel.c:930: Error: operand type mismatch for `movq'
    ./src/video/SDL_RLEaccel.c:930: Error: operand type mismatch for `movq'
    ./src/video/SDL_RLEaccel.c:930: Error: operand type mismatch for `movq'
    ./src/video/SDL_RLEaccel.c:930: Error: operand type mismatch for `movq'
    build-deps:536: recipe for target 'build/SDL_RLEaccel.lo' failed
    make: *** [build/SDL_RLEaccel.lo] Error 1




    PLEASE HELP ME WITH THIS......
     
    #1

Share This Page