- From: Frank Mori Hess <fmhess_at_users.sourceforge.net>
- Date: Sun, 29 Feb 2004 17:57:31 -0500
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Sunday 29 February 2004 03:49 pm, Everett X. Wang wrote:
> ./configure
> ....
> checking for Linux 2.4
> CFLAGS... -D__KERNEL__
> -I/home/everett/embedded/kernel/linux-2.4.20/include -Wall
> -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-commo n
> -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686
> -DMODU LE -DMODULE -D__MODULE_KERNEL_i686=1 -D__BOOT_KERNEL_ENTERPRISE=0
> -D__BOOT_K ERNEL_UP=1 -D__BOOT_KERNEL_SMP=0 -D__BOOT_KERNEL_BIGMEM=0
> -D__BOOT_KERNEL_HU GEMEM=0
> checking for Linux 2.4 LDFLAGS...
> configure: creating modtool
> checking Linux config option CONFIG_RTHAL... yes
> checking RTAI directory /usr/src/rtai... ./configure: line 3741: -d:
> command not found
> configure: error: incorrect RTAI directory?
>
> I changed the configure file on line 5541:
> from
> if -d ${RTAI_DIR}/rtai-core/include ; then
> to
> if [ -d ${RTAI_DIR}/rtai-core/include ] ; then
Fixed in cvs now.
>
> The .configure ran through fine
>
> make failed, complaining no rtai_config.h
> fix:
> cd rtai-3.0r2/rtai-core/include
> ln -s ../../rtai_config.h .
Also fixed now.
>
> make then ran fine. :-D, with some warns about VERSION, PACKAGE_NAME etc
> been redefined.
That's a rtai bug. They have _got_ to stop including their autoconf
config header from their exported header files. I encourage you to
complain to them about it. If it's just version strings it shouldn't
cause any critical problems though.
>
> make install failed, due to no depmod,
> edit Makefile and replace depmod by /sbin/depmod
> then make install ran fine
Fixed now.
> /lib/modules/2.4.24-rthal5/comedi/comedi.o: unresolved
> symbol rt_umount_rtai
> /lib/modules/2.4.24-rthal5/comedi/comedi.o: unresolved
> symbol rt_pend_linux_srq
> /lib/modules/2.4.24-rthal5/comedi/comedi.o: insmod
> /lib/modules/2.4.24-rthal5/comedi/comedi.o failed
> /lib/modules/2.4.24-rthal5/comedi/comedi.o: insmod
> dt2801 failed
You probably need to 'make install' in your rtai directory. The
workarounds you did for comedi should be fine.
- --
Frank
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQFAQm5b5vihyNWuA4URAoerAJ0chyFfPeXRkteQuBarc9t4ftlxUwCfechu
psqgfiB3Tc6oNe0r9bcX7fs=
=tF0d
-----END PGP SIGNATURE-----
Received on 2004-02-29Z22:57:31