Hi Tomasz (or maybe other who can help ??) could you compile openiscsi for a self-compiled xen ?
Could your please so kind and tell me, how to modify the xen-source-directory structure and/or the openiscsi-source-directory structure (copy/move/edit) to build openiscsi from scratch. For compile xen, i did hg clone http://xenbits.xensource.com/xen-3.2-testing.hg cd xen* make -j8 world make -j8 install make -j9 linux-2.6-xen-install mkinitrd /boot/initrd-18.104.22.168-xen.img 22.214.171.124-xen # and edit /boot/grub/menu.lst .... But how can i compile openiscsi ? wget http://www.open-iscsi.org/bits/open-iscsi-2.0-869.tar.gz # tar xfvz open-iscsi-2.0-869.tar.gz cd open-iscsi-2.0-869 make KSRC=/root/xen-3.2.1/xen3.2.1/build-linux-2.6.18-xen_x86_64 # or make # or make install # or make KSRC=/root/xen-3.2.1/linux-2.6.18-xen.hg does not work ... because of the 2-tree-xen-directory structure ... Merci for your information regards Danny On 23 Mai 2007, 19:08, Tomasz Chmielewski <[EMAIL PROTECTED]> wrote: > Mike Christie schrieb: > > > > > Tomasz Chmielewski wrote: > >> Tomasz Chmielewski schrieb: > >>> I'm having hard time trying to compile Open-iSCSI (2.0-754) withXen3.1 > >>> (source package, 2.6.18 kernel). > > >>> The kernel part build of Open-iSCSI complains about kernel not supported > >>> - which one can understand, asXenhas a bit curious build system and > >>> several separated kernel sources. > > >>> Does anyone have a short recipe on how to compile Open-iSCSI withXen3.1? > >> I looked at the kernel/Makefile, and it looks like it would be enough to > >> copy all kernel/2.6.16-2.6.19/*.c and kernel/2.6.16-2.6.19/*.h files > >> intoXen3.1 kernel source to integrate it permanently - am I correct? > > > It might not work because the sources in the open-iscsi.org/svn release > > are modified to use the headers from the release and not the ones with > > the kernel you are building against. And I think the include statements > > that are coded will not pick things up correctly if you just move the > > files around. > > Yes, I also had to copy the content of include/ directory to > drivers/scsi/, and modify one file there. > I thinkXencompiled, I still have to check tomorrow if it works (Xen > 3.1 uses kernel 2.6.18). > > -- > Tomasz Chmielewskihttp://wpkg.org --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "open-iscsi" group. To post to this group, send email to email@example.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/open-iscsi -~----------~----~----~----~------~----~------~--~---