Jan Kiszka wrote:
Hi Wolfgang,

Wolfgang Grandegger wrote:

Hallo Jan,

first I wish you all a Happy and successful New Year.



Thanks a lot, best wishes to you as well!


I now want to build and test RTnet on the MPC 8xx with:

DENX linuxppc_2_4_devel (2.4.25) + adeos-ipipe-2.6.14-ppc-1.1-00.patch
Xenomai 2.1 pre (2.0.90) checked out today
RTnet checked out today

I can build Xenomai and run the latency test on the MPC 8xx. But the
./configure of RTnet fails because "xeno-config" option  "--config" does
not exists. I already fiddled with --with-linux and --with-rtext without
success. I have attached the output of ./configure ...

Any idea where the problem is?


Yes: don't use --with-rtext for Xeno-2.1. If you had used the
interactive configuration, RTnet would have resolved this
automatically... :)

When doing it manually, you have to know that RTnet assumes a Xenomai
2.0 / RTAI 3.3 build in case you provide --with-rtext. As long as you do
not build any example, the Xenomai userspace part need not be given
anymore. If you enable the examples, provide the full xeno-config path
via --with-rtext-config instead.

As mentioned, I fiddled with and "--with-rtext" and "--with-linux" without success. In the meantime I realized (from the README) the interactive configuration but still it does not work. It does not find "rtdm/rtdm.h". Should'nt it look for "xenomai/rtdm/rtdm.h"
Attached is the log file of "make CROSS_COMPILE=ppc_8xx- ARCH=ppc config".

Thanks.

Wolfgang.
8xx*~/rt/trunk/rtnet$ make CROSS_COMPILE=ppc_8xx- ARCH=ppc config
make[1]: Entering directory `/home/wolf/rt/trunk/rtnet/scripts/kconfig'
#
# using defaults found in ../../.rtnet_config
#
*
* RTnet Configuration
*
*
* Real-Time Extension
*
Variant
  1. RTAI 3.3 or better, Xenomain 2.0.x (RTNET_RTEXT_CLASSIC)
> 2. Xenomai 2.1 or better (RTNET_RTEXT_INKERNEL)
choice[1-2]: 2
Real-Time Extended Linux Kernel (RTNET_LINUX_DIR) [/home/wolf/rt/linuxppc_2_4_devel-2006-01-04_1034-ipipe]
*
* RTnet Parameters
*
Installation Path of RTnet (RTNET_INSTALLDIR) [/home/wolf/xeno-rtnet]
Internal Bug Checks (RTNET_CHECKED) [N/y/?]
*
* Protocol Stack
*
Real-Time IPv4 (RTNET_RTIPV4) [Y/n/?]
  IP Network Routing (RTNET_RTIPV4_NETROUTING) [N/y/?]
  IP Router (RTNET_RTIPV4_ROUTER) [N/y/?]
Real-Time Packet Socket Support (RTNET_RTPACKET) [Y/n/?]
*
* RTmac Layer
*
RTmac Layer (RTNET_RTMAC) [Y/n/?]
  TDMA discipline for RTmac (RTNET_TDMA) [Y/n/?]
    TDMA master support (RTNET_TDMA_MASTER) [Y/n/?]
  NoMAC discipline for RTmac (RTNET_NOMAC) [N/y/?]
RTcfg Service (RTNET_RTCFG) [Y/n/?]
  RTcfg Debugging (RTNET_RTCFG_DEBUG) [N/y/?]
*
* Drivers
*
*
* Common PCI Drivers
*
AMD PCnet32 (RTNET_DRV_PCNET32) [N/y]
DEC Tulip (RTNET_DRV_TULIP) [N/y]
Intel EtherExpress PRO/100 (RTNET_DRV_EEPRO100) [N/y]
NatSemi (RTNET_DRV_NATSEMI) [N/y]
Realtek 8139 (RTNET_DRV_8139) [Y/n]
VIA Rhine (RTNET_DRV_VIA_RHINE) [N/y]
*
* Embedded MPC Drivers
*
MPC8260 FCC Ethernet (RTNET_DRV_FCC_ENET) [N/y]
MPC8xx FEC Ethernet (RTNET_DRV_FEC_ENET) [Y/n]
MPC8xx SCC Ethernet (RTNET_DRV_SCC_ENET) [Y/n]
MPC52xx FEC Ethernet (RTNET_DRV_MPC52XX_FEC) [N/y]
*
* Misc Drivers
*
Loopback (RTNET_DRV_LOOPBACK) [Y/n]
SMSC LAN91C111 (RTNET_DRV_SMC91111) [N/y]
Ethernet over 1394 (RTNET_DRV_ETH1394) [N/y]
Experimental Drivers (RTNET_EXP_DRIVERS) [N/y]
*
* Add-Ons
*
Real-Time Capturing Support (RTNET_ADDON_RTCAP) [N/y/?]
IP protocol proxy (legacy) (RTNET_ADDON_PROXY) [N/y/?]
*
* Examples
*
RTnet Application Examples (RTNET_EXAMPLES) [N/y/?]
make[1]: Leaving directory `/home/wolf/rt/trunk/rtnet/scripts/kconfig'
 
checking build system type... i686-pc-linux
 
checking host system type... powerpc-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking for powerpc-unknown-linux-gnu-gcc... ppc_8xx-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... yes
checking for suffix of executables...
 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether ppc_8xx-gcc accepts -g... yes
checking for ppc_8xx-gcc option to accept ANSI C... none needed
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for powerpc-unknown-linux-gnu-strip... ppc_8xx-strip
checking dependency style of ppc_8xx-gcc... gcc3
checking whether to enable maintainer-specific portions of Makefiles... no
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by ppc_8xx-gcc... ppc_8xx-ld
checking if the linker (ppc_8xx-ld) is GNU ld... yes
checking for ppc_8xx-ld option to reload object files... -r
checking for BSD-compatible nm... ppc_8xx-nm
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... ppc_8xx-gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for powerpc-unknown-linux-gnu-g++... ppc_8xx-g++
checking whether we are using the GNU C++ compiler... yes
checking whether ppc_8xx-g++ accepts -g... yes
checking dependency style of ppc_8xx-g++... gcc3
checking how to run the C++ preprocessor... ppc_8xx-g++ -E
checking for powerpc-unknown-linux-gnu-g77... no
checking for powerpc-unknown-linux-gnu-f77... no
checking for powerpc-unknown-linux-gnu-xlf... no
checking for powerpc-unknown-linux-gnu-frt... no
checking for powerpc-unknown-linux-gnu-pgf77... no
checking for powerpc-unknown-linux-gnu-fort77... no
checking for powerpc-unknown-linux-gnu-fl32... no
checking for powerpc-unknown-linux-gnu-af77... no
checking for powerpc-unknown-linux-gnu-f90... no
checking for powerpc-unknown-linux-gnu-xlf90... no
checking for powerpc-unknown-linux-gnu-pgf90... no
checking for powerpc-unknown-linux-gnu-epcf90... no
checking for powerpc-unknown-linux-gnu-f95... no
checking for powerpc-unknown-linux-gnu-fort... no
checking for powerpc-unknown-linux-gnu-xlf95... no
checking for powerpc-unknown-linux-gnu-ifc... no
checking for powerpc-unknown-linux-gnu-efc... no
checking for powerpc-unknown-linux-gnu-pgf95... no
checking for powerpc-unknown-linux-gnu-lf95... no
checking for powerpc-unknown-linux-gnu-gfortran... no
checking for g77... g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether g77 accepts -g... yes
checking the maximum length of command line arguments... 32768
checking command to parse ppc_8xx-nm output from ppc_8xx-gcc object... ok
checking for objdir... .libs
checking for powerpc-unknown-linux-gnu-ar... ppc_8xx-ar
checking for powerpc-unknown-linux-gnu-ranlib... ppc_8xx-ranlib
checking for powerpc-unknown-linux-gnu-strip... (cached) ppc_8xx-strip
checking if ppc_8xx-gcc static flag  works... yes
checking if ppc_8xx-gcc supports -fno-rtti -fno-exceptions... no
checking for ppc_8xx-gcc option to produce PIC... -fPIC
checking if ppc_8xx-gcc PIC flag -fPIC works... yes
checking if ppc_8xx-gcc supports -c -o file.o... yes
checking whether the ppc_8xx-gcc linker (ppc_8xx-ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by ppc_8xx-g++... ppc_8xx-ld
checking if the linker (ppc_8xx-ld) is GNU ld... yes
checking whether the ppc_8xx-g++ linker (ppc_8xx-ld) supports shared libraries... yes
checking for ppc_8xx-g++ option to produce PIC... -fPIC
checking if ppc_8xx-g++ PIC flag -fPIC works... yes
checking if ppc_8xx-g++ supports -c -o file.o... yes
checking whether the ppc_8xx-g++ linker (ppc_8xx-ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for g77 option to produce PIC... -fPIC
checking if g77 PIC flag -fPIC works... yes
checking if g77 supports -c -o file.o... yes
checking whether the g77 linker (ppc_8xx-ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for main in -lncurses... yes
checking for RTnet Kconfig file... .rtnet_config (supplied)
checking for RT-extension... /home/wolf/rt/linuxppc_2_4_devel-2006-01-04_1034-ipipe (kernel 2.4.25-ipipe + Xenomai)
checking for Xenomai version... 2.1-rc1
checking for RTDM skin... y
checking for RT-FireWire installation... none
checking for RT-extension target arch... ppc
checking for RTnet target arch... ppc
checking for CROSS_COMPILE... ppc_8xx-
checking for kernel module extension... .o
checking for rtdm/rtdm.h... no
configure: error: *** header not found or working, please check RT-extension installation
make: *** [config.status] Error 1
8xx*~/rt/trunk/rtnet$
8xx*~/rt/trunk/rtnet$
8xx*~/rt/trunk/rtnet$
8xx*~/rt/trunk/rtnet$

Reply via email to