Henrik Slotholt wrote:
> Hi,
> 
> When I exit make menuconfig in rtnet-0.9.12 the configure process ends
> with the error:
> 
> checking for RTnet Kconfig file... /usr/src/rtnet-0.9.12/configure: line
> 11568: .: .rtnet_config: file not found
> .rtnet_config (supplied)

Mmm, that's contradicting itself. What were your steps? Is
/usr/src/rtnet-0.9.12/.rtnet_config present after configure failed?

> checking for RT-extension... configure: error: *** RT-extended kernel
> not found in
> make[1]: *** [config.status] Error 1
> make[1]: Leaving directory `/usr/src/rtnet-0.9.12'
> make: *** [menuconfig] Error 2
> 
> I have made links from /lib/modules/KERNEL-VERSION/build and source to
> the kernel headers, I also have a link from /usr/src/linux to the kernel
> headers. rtai-config are in the path.

Just in case: make sure to select the right RT variant
(CONFIG_RTNET_RTEXT_CLASSIC).

I can't comment on the implications of the linking on the RTAI build.
What matters to RTnet is what rtai-config --linux-dir reports.

> 
> if I run:
> ./configure --enable-via-rhine --enable-rtcap --with-rtext=/usr/realtime
> --with-linux=/usr/src/linux

--with-linux only applies to Xenomai. When RTAI is chosen, it provides
the kernel path (see above). So configure will ignore this.

> --with-rtext-config=/usr/realtime/bin/rtai-config
> --prefix=/usr/realtime/rtnet
> 
> It works just fine.
> 
> /Henrik
> 

Jan

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------

_______________________________________________
RTnet-users mailing list
RTnet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rtnet-users

Reply via email to