Here are the output of make VERBOSE=1 and the kernel-cflags.c file.

Luca

----------------------------------------------------------------------------------------------------------------------------------------
please send me the output of
make VERBOSE=1
as well as the file kernel-cflags.c

Richard

----------------------------------------------------------------------------------------------------------------------------------------
We are two students from SUPSI in Manno (Swiss) and we are currently working with an RTAI project.

We have to configure our laptop with Ethercat and Etherlab. We successfully installed the first one, but we are encountering some problems with Etherlab during the installation.

When we try to run the "make" command, we get plenty of errors (see attachment).
Here are the specifics:
 - RTAI Vulcano
 - Kernel 2.6.29.4-ipipe
 - Ethercat 1.4
 - Etherlab 1.2-rc10

We really don't know what the problem could be.

Could you tell us what kernel and etherlab release do we have to use?


Regards,

Luca
#include <stdio.h>
int main(void) { printf("%s
",                   "-Wall -Wundef -Wstrict-prototypes -Wno-trigraphs 
-fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Os -m32 
-msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2  
-march=i686 -mtune=pentium3 -Wa,-mtune=generic32 -ffreestanding   -pipe 
-Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 
-mno-3dnow -Iarch/x86/include/asm/mach-default   -fno-stack-protector 
-fno-omit-frame-pointer -fno-optimize-sibling-calls 
-Wdeclaration-after-statement -Wno-pointer-sign -fwrapv "); return 0; }
make  all-recursive                                          
make[1]: Entering directory `/home/tenociti/Desktop/etherlab-1.2-rc10'
Making all in tools                                                   
make[2]: Entering directory `/home/tenociti/Desktop/etherlab-1.2-rc10/tools'
Making all in scripts                                                       
make[3]: Entering directory 
`/home/tenociti/Desktop/etherlab-1.2-rc10/tools/scripts'
make[3]: Nothing to be done for `all'.                                          
    
make[3]: Leaving directory 
`/home/tenociti/Desktop/etherlab-1.2-rc10/tools/scripts' 
Making all in include                                                           
    
make[3]: Entering directory 
`/home/tenociti/Desktop/etherlab-1.2-rc10/tools/include'
make[3]: Nothing to be done for `all'.                                          
    
make[3]: Leaving directory 
`/home/tenociti/Desktop/etherlab-1.2-rc10/tools/include' 
Making all in buddy                                                             
    
make[3]: Entering directory 
`/home/tenociti/Desktop/etherlab-1.2-rc10/tools/buddy'  
make[3]: Nothing to be done for `all'.                                          
    
make[3]: Leaving directory 
`/home/tenociti/Desktop/etherlab-1.2-rc10/tools/buddy'   
Making all in rt_appcore                                                        
    
make[3]: Entering directory 
`/home/tenociti/Desktop/etherlab-1.2-rc10/tools/rt_appcore'
make -C "/usr/src/linux-2.6.29.4" 
M="/home/tenociti/Desktop/etherlab-1.2-rc10/tools/rt_appcore" \
                V="1" DEFS="-DHAVE_CONFIG_H" \                                  
                 
                RTAI_DIR="/usr/realtime" \                                      
                 
                STAGING_DIR="" \                                                
                 
                RT_APPCORE_SRCS="rt_main.c app_chardev.c rt_vars.c 
etl_data_types.c"             
make[4]: Entering directory `/usr/src/linux-2.6.29.4'                           
                 
test -e include/linux/autoconf.h -a -e include/config/auto.conf || (            
\                
        echo;                                                           \       
                 
        echo "  ERROR: Kernel configuration is invalid.";               \       
                 
        echo "         include/linux/autoconf.h or include/config/auto.conf are 
missing.";      \
        echo "         Run 'make oldconfig && make prepare' on kernel src to 
fix it.";  \        
        echo;                                                           \       
                 
        /bin/false)                                                             
                 
mkdir -p 
/home/tenociti/Desktop/etherlab-1.2-rc10/tools/rt_appcore/.tmp_versions ; rm -f 
/home/tenociti/Desktop/etherlab-1.2-rc10/tools/rt_appcore/.tmp_versions/*       
                                                                                
                                     
make -f scripts/Makefile.build 
obj=/home/tenociti/Desktop/etherlab-1.2-rc10/tools/rt_appcore                   
                                
(cat /dev/null;   echo 
kernel//home/tenociti/Desktop/etherlab-1.2-rc10/tools/rt_appcore/rt_appcore.ko;)
 > /home/tenociti/Desktop/etherlab-1.2-rc10/tools/rt_appcore/modules.order
  gcc 
-Wp,-MD,/home/tenociti/Desktop/etherlab-1.2-rc10/tools/rt_appcore/.kernel-cflags.d
 -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o 
/home/tenociti/Desktop/etherlab-1.2-rc10/tools/rt_appcore/kernel-cflags 
/home/tenociti/Desktop/etherlab-1.2-rc10/tools/rt_appcore/kernel-cflags.c
/home/tenociti/Desktop/etherlab-1.2-rc10/tools/rt_appcore/kernel-cflags.c:2:25: 
warning: missing terminating " character
/home/tenociti/Desktop/etherlab-1.2-rc10/tools/rt_appcore/kernel-cflags.c: In 
function ‘main’:
/home/tenociti/Desktop/etherlab-1.2-rc10/tools/rt_appcore/kernel-cflags.c:2: 
error: missing terminating " character
/home/tenociti/Desktop/etherlab-1.2-rc10/tools/rt_appcore/kernel-cflags.c:3: 
error: ‘Wall’ undeclared (first use in this function)
/home/tenociti/Desktop/etherlab-1.2-rc10/tools/rt_appcore/kernel-cflags.c:3: 
error: (Each undeclared identifier is reported only once
/home/tenociti/Desktop/etherlab-1.2-rc10/tools/rt_appcore/kernel-cflags.c:3: 
error: for each function it appears in.)
/home/tenociti/Desktop/etherlab-1.2-rc10/tools/rt_appcore/kernel-cflags.c:3: 
error: ‘Wundef’ undeclared (first use in this function)
/home/tenociti/Desktop/etherlab-1.2-rc10/tools/rt_appcore/kernel-cflags.c:3: 
error: ‘Wstrict’ undeclared (first use in this function)
/home/tenociti/Desktop/etherlab-1.2-rc10/tools/rt_appcore/kernel-cflags.c:3: 
error: ‘prototypes’ undeclared (first use in this function)
/home/tenociti/Desktop/etherlab-1.2-rc10/tools/rt_appcore/kernel-cflags.c:3: 
error: ‘Wno’ undeclared (first use in this function)
/home/tenociti/Desktop/etherlab-1.2-rc10/tools/rt_appcore/kernel-cflags.c:3: 
error: ‘trigraphs’ undeclared (first use in this function)
/home/tenociti/Desktop/etherlab-1.2-rc10/tools/rt_appcore/kernel-cflags.c:3: 
error: ‘fno’ undeclared (first use in this function)
/home/tenociti/Desktop/etherlab-1.2-rc10/tools/rt_appcore/kernel-cflags.c:3: 
error: ‘strict’ undeclared (first use in this function)
/home/tenociti/Desktop/etherlab-1.2-rc10/tools/rt_appcore/kernel-cflags.c:3: 
error: ‘aliasing’ undeclared (first use in this function)
/home/tenociti/Desktop/etherlab-1.2-rc10/tools/rt_appcore/kernel-cflags.c:3: 
error: ‘common’ undeclared (first use in this function)
/home/tenociti/Desktop/etherlab-1.2-rc10/tools/rt_appcore/kernel-cflags.c:3: 
error: ‘Werror’ undeclared (first use in this function)
/home/tenociti/Desktop/etherlab-1.2-rc10/tools/rt_appcore/kernel-cflags.c:3: 
error: ‘implicit’ undeclared (first use in this function)
/home/tenociti/Desktop/etherlab-1.2-rc10/tools/rt_appcore/kernel-cflags.c:3: 
error: ‘function’ undeclared (first use in this function)
/home/tenociti/Desktop/etherlab-1.2-rc10/tools/rt_appcore/kernel-cflags.c:3: 
error: ‘declaration’ undeclared (first use in this function)
/home/tenociti/Desktop/etherlab-1.2-rc10/tools/rt_appcore/kernel-cflags.c:3: 
error: ‘Os’ undeclared (first use in this function)
/home/tenociti/Desktop/etherlab-1.2-rc10/tools/rt_appcore/kernel-cflags.c:3: 
error: ‘m32’ undeclared (first use in this function)
/home/tenociti/Desktop/etherlab-1.2-rc10/tools/rt_appcore/kernel-cflags.c:3: 
error: ‘msoft’ undeclared (first use in this function)
/home/tenociti/Desktop/etherlab-1.2-rc10/tools/rt_appcore/kernel-cflags.c:3: 
error: expected expression before ‘float’
/home/tenociti/Desktop/etherlab-1.2-rc10/tools/rt_appcore/kernel-cflags.c:3:382:
 error: invalid suffix "dnow" on integer constant
/home/tenociti/Desktop/etherlab-1.2-rc10/tools/rt_appcore/kernel-cflags.c:3:555:
 warning: missing terminating " character
/home/tenociti/Desktop/etherlab-1.2-rc10/tools/rt_appcore/kernel-cflags.c:3: 
error: missing terminating " character
/home/tenociti/Desktop/etherlab-1.2-rc10/tools/rt_appcore/kernel-cflags.c:3: 
error: expected declaration or statement at end of input
make[5]: *** 
[/home/tenociti/Desktop/etherlab-1.2-rc10/tools/rt_appcore/kernel-cflags] Error 
1
make[4]: *** 
[_module_/home/tenociti/Desktop/etherlab-1.2-rc10/tools/rt_appcore] Error 2
make[4]: Leaving directory `/usr/src/linux-2.6.29.4'
make[3]: *** [kernel-cflags] Error 2
make[3]: Leaving directory 
`/home/tenociti/Desktop/etherlab-1.2-rc10/tools/rt_appcore'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/tenociti/Desktop/etherlab-1.2-rc10/tools'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/tenociti/Desktop/etherlab-1.2-rc10'
make: *** [all] Error 2
_______________________________________________
etherlab-dev mailing list
[email protected]
http://lists.etherlab.org/mailman/listinfo/etherlab-dev

Reply via email to