Jan Kiszka wrote:
> Wolfgang Grandegger wrote:
>> roland Tollenaar wrote:
>>> Hi Wolfgang,
>>>
>>>>    ...
>>>>    --with-linux=LINUX      real-time extended Linux kernel
>>>>
>>>> Please try
>>>>
>>>>     $  ./configure --with-linux=<path-to-your-xenomai-extended-kernel>
>>> Same thing I am afraid. Identical :(
>>>
>>> checking whether the g++ linker (/usr/i486-slackware-linux/bin/ld)
>>> supports shared libraries... yes
>>> checking dynamic linker characteristics... GNU/Linux ld.so
>>> checking how to hardcode library paths into programs... immediate
>>> appending configuration tag "F77" to libtool
>>> checking for main in -lncurses... yes
>>> checking for RTnet Kconfig file... ./defconfig (default)
>>> checking for RT-extension... /usr/src/linux-2.6.16 (kernel 2.6.16 + 
>>> Xenomai)
>>> checking for Xenomai version... 2.3.1
>>> checking for RTDM skin... y
>>> checking for RT-FireWire installation... none
>>> checking for RT-extension target arch... i386
>>> checking for RTnet target arch... i386
>>> checking for CROSS_COMPILE... none
>>> checking for kernel module extension... .ko
>>> checking for rtdm/rtdm_driver.h... no
>>> configure: error: *** header not found or working, please check
>>> RT-extension installation
>>>
>>> If only there were some hint as to what might be wrong with my kernel
>>> src. Even if I have to try another kernel src package -god forbid!- at
>>> least I would like to know why. Otherwise I might end up on a classic
>>> trial & error adventure and i cannot believe that rtnet is one of
>>> those black-art projects.
>>>
>>> Would it be an idea to take the first point where configure goes off 
>>> kilter?
>>>
>>> I have attached my config.log file in the meager hope that someone
>>> would care to look at the disaster within. I can see where the first
>>> error occurs, something with conftest.c and a header which is missing
>>> ac_nonexistent.h but I cannot make out where it is looking or where
>>> this file is supposed to be, or even what it makes out part of.
>>>
>>> I get the feeling that my endeavors of getting rtnet operational with
>>> xenomai have been passed a "doomed to fail" judgment by the list. :(
> 
> Well, Roland, you once again picked the non-common approach for your
> first setup, so you _have_to_ expect uncommon problems. You said that
> building and installing your own clean vanilla+xenomai kernel from
> scratch is so much more complicated - do you expect me to seriously
> comment on this anymore? We had the same discussion not long ago when
> you started to get your feet wet with Xenomai.
> 
>>> If so, and I do want to get this running what is the advice? Start
>>> trial and erroring with any and all kernels I can lay my hands on to
>>> see if there is one out there that is actually compatible?:) Try a
>>> couple of other distros? Anything?.........damn.
> 
> Please just do what everyone does _first_, do something that _we_ can
> easily reproduce. If that fails we will be quickly at your site because
> the effort/result ratio will be far better than now (or order individual
> support). _Once_ you have a standard setup working, going the winding
> road is still an option and would _far_ better reveal where RTnet or
> your steps have a problem. If you go a non-standard path like now, we
> depend on _you_ to find the common ground, the differences, and then the
> reason for this issue.
> 
>> Help yourself, try finding the problem. The configure actually fails 
>> when building conftest.c with the command:
>>
>>    make -C /usr/src/linux-2.6.16 ARCH=i386 CROSS_COMPILE= V=1 \
>>    M=/usr/src/rtnet-0.9.9 SUBDIRS=/usr/src/rtnet-0.9.9 modules > /dev/nul
>>
>> Edit the "configure" script and search for "rtdm_driver". Some lines 
>> below you will find the compile command "$bs_kcompile > /dev/null" two 
>> times. Remove the redirection "> /dev/null" to see the compile command, 
>> which might help.
> 
> Agreed. Though I'm afraid the result will just once again tell us
> something is missing, and as we cannot reproduce your kernel tree, we
> will be not much wiser than before.

You are probably right. I was not aware that his Linux/Xenomai 
installation is that special.

Wolfgang.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
RTnet-users mailing list
RTnet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rtnet-users

Reply via email to