Giter Site home page Giter Site logo

kex's Issues

Great work! - Just loop mount iso is not enough.

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

Can't compile

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.