Closed ysangkok closed 11 years ago
I am currently building like this:
~/kmscon/tests $ gcc -o test_output -L ../.libs -luterm -leloop test_output.o ../src/conf.c -I ../../libxkbcommon ../../libxkbcommon/.libs/libxkbcommon.a ../src/shl_log.c ../src/shl_githead.c -Wl,-rpath=../.libs
But upon runtime, it doesn't seem to work. I don't know if I am building incorrectly.
$ sudo ./test_output
[sudo] password for janus:
[0000.000000] NOTICE: ./test_output Revision kmscon-7-42-g4e0b981 Apr 11 2013 16:41:46
[0000.004798] NOTICE: Creating video object using /dev/dri/card0...
[0000.005018] NOTICE: cannot create drm device; trying drm2d mode
[0000.005272] ERROR: init failed, errno -95: Operation not supported
You can use "make check". That should build all tests.
Thanks!
A Makefile or build instructions for tests/*.c would be helpful.