tsdima / kex Goto Github PK
View Code? Open in Web Editor NEWRunning Kolibri OS executables on Linux
Running Kolibri OS executables on Linux
I tried to compile kex following the directions from the README, but got errors:
At first I got the following:
$gcc -o kex main.c k_*.c -lX11 -lXrender -lrt -llzma -D_GNU_SOURCE
k_syscall.c: In function ‘k_kill_by_slot’:
k_syscall.c:193:5: warning: implicit declaration of function ‘kill’ [-Wimplicit-function-declaration]
kill(ctx->pid, SIGKILL);
^~~~
k_syscall.c:193:20: error: ‘SIGKILL’ undeclared (first use in this function)
kill(ctx->pid, SIGKILL);
^~~~~~~
......... and much more similar.
That I fixed by adding #include <signal.h>
to the k_syscall.c
;
But then I got this:
$gcc -o kex main.c k_*.c -lX11 -lXrender -lrt -llzma -D_GNU_SOURCE
k_syscall.c: In function ‘OnSigSegv’:
k_syscall.c:245:46: error: dereferencing pointer to incomplete type ‘struct ucontext’
greg_t* gregs = ((struct ucontext*)extra)->uc_mcontext.gregs; DWORD slot = k_get_slot();
^~
k_syscall.c: In function ‘k_syscall_init’:
k_syscall.c:592:24: error: storage size of ‘altstack’ isn’t known
struct sigaltstack altstack;
^~~~~~~~
Which is far beyond my C language skills.
Any help will be welcome.
Hi. Installed and compiled today in Linux Mint 19 without any issues!
Just hat to install libxrender-dev additional to LZMA.
The *.mt files I downloaded manually following top directory at geven wget address (wget logs 403 forbidden following your readme.md)
I first just loop mounted the iso (r only). kex gave error msg cound load skin or something similiar..
I then also mounted the kolibri.img (rw).
After that all run fine.
Many thanks!!
Best regards, Peter
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.