It is now (apparently) possible to build and run Colinux under Linux kernel 2.6.3 and higher. Using your source tree, it builds colinux.ko which allows colinux to interact with your system much in the same way you can do it under windows. The build instructions are: Cooperative Linux support code build system ------------------------------------------- Defaults The build defaults to the 'winnt' OS under the 'i386' architecture. You can override this by setting COLINUX_ARCH and COLINUX_HOST_OS. The colinux/arch/current and colinux/os/current symlinks are updated automatically according to COLINUX_ARCH and COLINUX_HOST_OS. Windows port COLINUX_ARCH=i386 COLINUX_HOST_OS=winnt Basically, it's: make colinux See the Makefile in the colinux/os/winnt/build directory. Linux port COLINUX_HOST_OS=linux Also needed is the path to the sources of the target kernel. Currently only 2.6.3 and above are supported. COLINUX_HOST_KERNEL_DIR=/path/to/your/kernel/tree Or: COLINUX_HOST_KERNEL_DIR=/lib/modules/`uname -r`/build --------------------------------------------------- Then when done building you insmod colinux.ko ./colinux-daemon -c default.colinux.xml I've not been able to actually build this manually myself yet, I always get: make: *** No rule to make target `../../linux/vmlinux', needed by `colinux'. Stop. But perhaps someone can figure out an ebuild to make it work with Gentoo
http://www.colinux.org/ is the project site.
I don't see how this is a gentoo bug, sorry.
Sorry I guess I wasn't clear. I was requesting an ebuild for it.
This isn't sys-kernel/* related other than the fact that it uses a kernel source tree. Bouncing back to the wranglers.
I might commit it if someone else writes it.
Stefan interested?
Thi is one of the requests where bug voting would be really useful, we ccurrently have so many requests for ebuilds in bugzilla, why should we care for exactly this one, if(judged by seeing no CCs) supposedly only one person will use this(the reporter). I have already made an ebuild for a driver and the original bug filer seems to be no longer interested in it, at least he did not answer my test request. See http://bugs.gentoo.org/show_bug.cgi?id=52984 jason wohlgemuth: Are you still interested in getting this in the tree?
I'm giving making an ebuild a go. Its not going to be pretty though.
sending to you, Daniel, since you're "giving it a go" (you're a stronger man than most for doing so, I might add)
Colinux 0.6.2 released if anyone wants to try a linux-mod ebuild before me :-). If that didn't sound like too much of a plea it was ment to. PLEASE!
needs ebuild for http://mxml.sourceforge.net/
I had a go at doing an ebuild for colinux-0.6.2, but ran into a problem. gcc -DCOLINUX_FILE_ID=`python ../bin/file_id.py create ./colinux/common/files_list.txt colinux/os/current/user/daemon.o` -g -DCOLINUX -DCOLINUX_ARCH=linux -mpush-args -mno-accumulate-outgoing-args -Wno-trigraphs -fno-strict-aliasing -Wall -DCOLINUX_DEBUG -O2 -I. -I/var/tmp/portage/colinux-0.6.2/work/colinux-0.6.2/../linux-2.6.10/include -I../../fltk-1.1.4 -c colinux/os/current/user/daemon.c -o colinux/os/current/user/daemon.o colinux/os/current/user/daemon.c:123: error: conflicting types for `co_os_daemon_message_receive' colinux/os/user/daemon.h:21: error: previous declaration of `co_os_daemon_message_receive' colinux/os/current/user/daemon.c:129: error: conflicting types for `co_os_daemon_pipe_close' colinux/os/user/daemon.h:20: error: previous declaration of `co_os_daemon_pipe_close' make[1]: *** [colinux/os/current/user/daemon.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/colinux-0.6.2/work/colinux-0.6.2/src' make: *** [colinux] Error 2 !!! ERROR: dev-libs/colinux-0.6.2 failed. !!! Function src_compile, Line 67, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. Conclusion: This version of colinux cannot be compiled for Linux - only for Windows. The compile error comes from a change to daemon.h between version 0.6.1 and 0.6.2, but only the windows .c file was updated. The linux .c file is still the old version and does not match the header file. I checked the colinux help forum, and found a post from another user who was having similar problems. http://sourceforge.net/forum/forum.php?thread_id=1253938&forum_id=342355 I might have a go out compiling colinux-0.6.1 instead or else spend some more time finding out how to resolve the error in colinux-0.6.2. Hopefully this comment will save some time for anyone else attempting this ebuild.
Created attachment 58962 [details] colinux-0.6.2.ebuild Just in case anyone is interested I am attaching my unfinished ebuild, so that you can get as far as I have. There are lots of things missing, but perhaps someone will find it useful...
Created attachment 58963 [details] mxml-1.3.ebuild Here is an ebuild for mxml.
see bug #84098 also
this is sys-kernel and not sys-apps it's not like uml... colinux runs in ring0!!! i saw this on the colinux page on wikipedia
in oreder to make a corect ebuild we MUST split this in 2 part: sys-kernel/colinux-sources:The kenrel ???/colinux:The aplication that would permit to: *configure your kernel *use your colinux kernel for windows(windows use a elf32 and not a PE kernel file)
should probably be reassigned to maintainer-wanted@ if you are not going to fix this, dragonheart
ran out of time - sorry folks
(this is an automated message based on filtering criteria that matched this bug) Hello, The Gentoo Team would like to firstly thank you for your ebuild submission. We also apologize for not being able to accommodate you in a timely manner. There are simply too many new packages. Allow me to use this opportunity to introduce you to Gentoo Sunrise. The sunrise overlay[1] is a overlay for Gentoo which we allow trusted users to commit to and all users can have ebuilds reviewed by Gentoo devs for entry into the overlay. So, the sunrise team is suggesting that you look into this and submit your ebuild to the overlay where even *you* can commit to. =) Because this is a mass message, we are also asking you to be patient with us. We anticipate a large number of requests in a short time. Thanks, On behalf of the Gentoo Sunrise Team, Jeremy. [1]: http://www.gentoo.org/proj/en/sunrise/ [2]: http://overlays.gentoo.org/proj/sunrise/wiki/SunriseFaq