Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

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

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......
Did you install build-essential ?

PHP Code

<?php 
sudo apt
-get install build-essential 
Did that, still not working...


Possibly Related Threads...
Thread / Author Replies Views Last Post
by FiendFeb 17, 2021 12:00 PM 8 238 Feb 17, 2021 12:00 PM
Last Post: Marxist
by Stanley_MicFeb 16, 2019 06:02 PM 4 199 Feb 16, 2019 06:02 PM
Last Post: Crackist
by SSYN-UDPMay 5, 2017 12:25 AM 5 189 May 5, 2017 12:25 AM
Last Post: deadsh0t