Hallo,
I came across some weird problem, which might or might not be my own doings,
while cross compiling kernel + xenomai.
Although this is all Debian flavoured I have a suspicion it comes from the
xenomai source, so thats why I posted it here first.

kernel 2.6.31-rc3
xenomai git Date:   Mon Jun 28 00:35:30 2010 +0200

toolchain codesourcery-armgcc-2009q1.
DEB_HOST_GNU_TYPE=arm-none-linux-gnueabi  #(cross-compiler prefix)
DEB_BUILD_GNU_TYPE=$(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)

CONFIG_OPTS = --enable-arm-mach=at91sam926x --enable-arm-eabi
CONFIG_OPTS += --prefix=/usr \
                --includedir=/usr/include/xenomai \
                --mandir=/usr/share/man \
            --with-testdir=/usr/lib/xenomai\
            --enable-arm-tsc


The Debian library package build gives me this output, no matter what
directories I search:

dpkg-shlibdeps: warning: symbol xeno_bind_skin_opt used by
debian/libxenomai1/usr/lib/libvxworks.so.1.0.0 found in none of the
libraries.
dpkg-shlibdeps: warning: symbol xeno_set_current used by
debian/libxenomai1/usr/lib/libvxworks.so.1.0.0 found in none of the
libraries.
dpkg-shlibdeps: warning: symbol xeno_init_current_mode used by
debian/libxenomai1/usr/lib/libvxworks.so.1.0.0 found in none of the
libraries.
dpkg-shlibdeps: warning: symbol __xnsig_dispatch used by
debian/libxenomai1/usr/lib/libvxworks.so.1.0.0 found in none of the
libraries.
dpkg-shlibdeps: warning: symbol xeno_handle_mlock_alert used by
debian/libxenomai1/usr/lib/libvxworks.so.1.0.0 found in none of the
libraries.
dpkg-shlibdeps: warning: symbol xeno_sigshadow_install_once used by
debian/libxenomai1/usr/lib/libvxworks.so.1.0.0 found in none of the
libraries.
dpkg-shlibdeps: warning: symbol xeno_bind_skin_opt used by
debian/libxenomai1/usr/lib/libvrtx.so.0.0.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol xeno_set_current used by
debian/libxenomai1/usr/lib/libvrtx.so.0.0.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol xeno_map_heap used by
debian/libxenomai1/usr/lib/libvrtx.so.0.0.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol xeno_init_current_mode used by
debian/libxenomai1/usr/lib/libvrtx.so.0.0.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol __xnsig_dispatch used by
debian/libxenomai1/usr/lib/libvrtx.so.0.0.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol xeno_handle_mlock_alert used by
debian/libxenomai1/usr/lib/libvrtx.so.0.0.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol xeno_sigshadow_install_once used by
debian/libxenomai1/usr/lib/libvrtx.so.0.0.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol xeno_bind_skin_opt used by
debian/libxenomai1/usr/lib/libuitron.so.0.0.0 found in none of the
libraries.
dpkg-shlibdeps: warning: symbol xeno_set_current used by
debian/libxenomai1/usr/lib/libuitron.so.0.0.0 found in none of the
libraries.
dpkg-shlibdeps: warning: symbol xeno_init_current_mode used by
debian/libxenomai1/usr/lib/libuitron.so.0.0.0 found in none of the
libraries.
dpkg-shlibdeps: warning: symbol __xnsig_dispatch used by
debian/libxenomai1/usr/lib/libuitron.so.0.0.0 found in none of the
libraries.
dpkg-shlibdeps: warning: symbol xeno_handle_mlock_alert used by
debian/libxenomai1/usr/lib/libuitron.so.0.0.0 found in none of the
libraries.
dpkg-shlibdeps: . . . . . .

so I concluded that perhaps these symbols  are in the realtime kernel
interface BUT:
the System.Map does NOT show they have been compiled in at all, although the
standard adeos and xenomai patches have been applied
and some of the skins have been enabled in the kernel .config.

Here is the location of most of the symbols in the xenomai.git source (The
OlimexKernel directory is merely the top directory where I keep all that
stuff)

j...@debianlenny:~/OlimexKernel2-6-31/xenomai/include/asm-generic$ grep
'xeno_bind_skin_opt' *.h
j...@debianlenny:~/OlimexKernel2-6-31/xenomai/include/asm-generic$ grep
'xeno_bind_skin_opt' */*.h
bits/bind.h:xeno_bind_skin_opt(unsigned skin_magic, const char *skin,
bits/bind.h:    int muxid = xeno_bind_skin_opt(skin_magic, skin, module,
sighandler);
j...@debianlenny:~/OlimexKernel2-6-31/xenomai/include/asm-generic$ grep
'xeno_set_current' */*.h
bits/current.h:void xeno_set_current(void);
j...@debianlenny:~/OlimexKernel2-6-31/xenomai/include/asm-generic$ grep
'xeno_init_current_mode' */*.h
bits/current.h:unsigned long *xeno_init_current_mode(void);
j...@debianlenny:~/OlimexKernel2-6-31/xenomai/include/asm-generic$ grep
'__xnsig_dispatch' */*.h
j...@debianlenny:~/OlimexKernel2-6-31/xenomai/include/asm-generic$ grep
'__xnsig_dispatch' *.h
syscall.h:int __xnsig_dispatch(struct xnsig *sigs, int cumulated_error, int
last_error);
syscall.h:int __xnsig_dispatch_safe(struct xnsig *sigs, int cumulated_error,
int last_error);
syscall.h:              return __xnsig_dispatch(sigs, cumul, last);
syscall.h:              return __xnsig_dispatch_safe(sigs, cumul, last);
j...@debianlenny:~/OlimexKernel2-6-31/xenomai/include/asm-generic$ grep
'xeno_handle_mlock_alert' */*.h
bits/bind.h:void xeno_handle_mlock_alert(int sig, siginfo_t *si, void
*context);
bits/bind.h:    sa.sa_sigaction = xeno_handle_mlock_alert;
j...@debianlenny:~/OlimexKernel2-6-31/xenomai/include/asm-generic$ grep
'xeno_sigshadow_install_once' */*.h
bits/sigshadow.h:void xeno_sigshadow_install_once(void);
j...@debianlenny:~/OlimexKernel2-6-31/xenomai/include/asm-generic$

Does someone perhaps know where the Kconfig file or the *.c/h file lives
that includes this stuff?


Cheers,

Jan de Kruyf.
_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help

Reply via email to