Hi

For an embeded robotic project, I have to make package of xenomai for an
ubuntu lucid distribution. Based on this how to (
http://www.xenomai.org/index.php/Building_Debian_packages) I succeed to
patch and install a linux 2.6.34.5 kernel. On the target  system, after
installation of the package, Native skin is working fine like almost all
other testsuite tools. However when I wanted to compile the RTDM examples, I
remarked that all the link in /lib/module/2.6.34.5/build/xenomai are broken.
actually they all point to /xxx/yyy/xenomai-2.5.6/include/ where /xxx/yyy/
was the path from whom I cross-compiled my linux kernel on my amd64 desktop
computer. Actually on this system both linux and xenomai source tree are
under /xxx/yyy

I also have this warning when installing my linux headers packages :

 Hmm. There is a symbolic link /lib/modules/2.6.34.5-ipipe-vortex/build
 However, I can not read it: No such file or directory
 Therefore, I am deleting /lib/modules/2.6.34.5-ipipe-vortex/build

But apparently this was not the case since this directory is still there,
but just all the xenomai's links are broken.

I used this command for make-kpkg :

make-kpkg --cross-compile - -arch i386 buildpackage

And then used deb-reversion to change all "Architecture: amd64" to
"Architecture: i386" in control files of the generated packages.

I'm sure I made some beginner's mistake here. Does anyone have any idea of
what I would have done wrong. Or the idea to cross-compile form amd64 to
i386 while generating debian packages is just a really bad one ? My target
system is very limited in disk size and ressource, so its rather hard to
cross-compile on it.

best regards,

Alexandre Tuleu
_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help

Reply via email to