Menu

Eumex 504PC SE Ubuntu 8.04

Simon
2009-11-27
2013-04-03
  • Simon

    Simon - 2009-11-27

    Hallo zusammen ich habe ein Problem bei der erstellung des Treibers unter meinem Ubuntu 8.04 LTS . Ich poste hier mal die Ausgaben von ./configure und make .

    root@bull:/home/beowulf/eumex-0.1.2/eumex-0.1.2# ./configure
    checking for a BSD-compatible install… /usr/bin/install -c
    checking whether build environment is sane… yes          
    checking for gawk… no                                    
    checking for mawk… mawk                                  
    checking whether make sets $(MAKE)… yes                  
    checking for gcc… gcc                                    
    checking for C compiler default output file name… a.out  
    checking whether the C compiler works… yes               
    checking whether we are cross compiling… no              
    checking for suffix of executables…                      
    checking for suffix of object files… o                   
    checking whether we are using the GNU C compiler… yes    
    checking whether gcc accepts -g… yes                     
    checking for gcc option to accept ANSI C… none needed    
    checking for style of include used by make… GNU          
    checking dependency style of gcc… gcc3                   
    checking whether make sets $(MAKE)… (cached) yes         
    checking build system type… i686-pc-linux-gnu            
    checking host system type… i686-pc-linux-gnu             
    checking for a sed that does not truncate output… /bin/sed
    checking for egrep… grep -E                              
    checking for ld used by gcc… /usr/bin/ld                 
    checking if the linker (/usr/bin/ld) is GNU ld… yes      
    checking for /usr/bin/ld option to reload object files… -r
    checking for BSD-compatible nm… /usr/bin/nm -B           
    checking whether ln -s works… yes                        
    checking how to recognise dependent libraries… pass_all  
    checking how to run the C preprocessor… 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 g++… g++                                    
    checking whether we are using the GNU C++ compiler… yes  
    checking whether g++ accepts -g… yes                     
    checking dependency style of g++… gcc3                   
    checking how to run the C++ preprocessor… g++ -E         
    checking for g77… no                                     
    checking for f77… no                                     
    checking for xlf… no                                     
    checking for frt… no                                     
    checking for pgf77… no                                   
    checking for fort77… no                                  
    checking for fl32… no                                    
    checking for af77… no                                    
    checking for f90… no                                     
    checking for xlf90… no                                   
    checking for pgf90… no                                   
    checking for epcf90… no                                  
    checking for f95… no                                     
    checking for fort… no                                    
    checking for xlf95… no                                   
    checking for ifc… no                                     
    checking for efc… no                                     
    checking for pgf95… no                                   
    checking for lf95… no                                    
    checking for gfortran… no                                
    checking whether we are using the GNU Fortran 77 compiler… no
    checking whether  accepts -g… no                            
    checking the maximum length of command line arguments… 32768
    checking command to parse /usr/bin/nm -B output from gcc object… ok
    checking for objdir… .libs                                        
    checking for ar… ar                                               
    checking for ranlib… ranlib                                       
    checking for strip… strip                                         
    checking if gcc static flag  works… yes                           
    checking if gcc supports -fno-rtti -fno-exceptions… no            
    checking for gcc option to produce PIC… -fPIC                     
    checking if gcc PIC flag -fPIC works… yes                         
    checking if gcc supports -c -o file.o… yes                        
    checking whether the gcc linker (/usr/bin/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 g++… /usr/bin/ld                                   
    checking if the linker (/usr/bin/ld) is GNU ld… yes                        
    checking whether the g++ linker (/usr/bin/ld) supports shared libraries… yes
    checking for g++ option to produce PIC… -fPIC                              
    checking if g++ PIC flag -fPIC works… yes                                  
    checking if g++ supports -c -o file.o… yes                                 
    checking whether the g++ linker (/usr/bin/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 for usb_init in -lusb… no                                         
    checking for ANSI C header files… (cached) yes                             
    checking fcntl.h usability… yes                                            
    checking fcntl.h presence… yes                                             
    checking for fcntl.h… yes                                                  
    checking for stdlib.h… (cached) yes                                        
    checking for string.h… (cached) yes                                        
    checking sys/ioctl.h usability… yes                                        
    checking sys/ioctl.h presence… yes                                         
    checking for sys/ioctl.h… yes                                              
    checking sys/time.h usability… yes                                         
    checking sys/time.h presence… yes                                          
    checking for sys/time.h… yes                                               
    checking sys/timeb.h usability… yes                                        
    checking sys/timeb.h presence… yes                                         
    checking for sys/timeb.h… yes                                              
    checking termios.h usability… yes                                          
    checking termios.h presence… yes                                           
    checking for termios.h… yes                                                
    checking for unistd.h… (cached) yes                                        
    checking for an ANSI C-conforming const… yes                               
    checking for inline… inline                                                
    checking for size_t… yes                                                   
    checking whether time.h and sys/time.h may both be included… yes           
    checking whether gcc needs -traditional… no                                
    checking whether lstat dereferences a symlink specified with a trailing slash… yes
    checking whether lstat accepts an empty string… no                               
    checking whether lstat dereferences a symlink specified with a trailing slash… (cached) yes
    checking for stdlib.h… (cached) yes                                                       
    checking for GNU libc compatible malloc… yes                                              
    checking for stdlib.h… (cached) yes                                                       
    checking for GNU libc compatible realloc… yes                                             
    checking sys/select.h usability… yes                                                      
    checking sys/select.h presence… yes                                                       
    checking for sys/select.h… yes                                                            
    checking sys/socket.h usability… yes                                                      
    checking sys/socket.h presence… yes                                                       
    checking for sys/socket.h… yes                                                            
    checking types of arguments for select… int,fd_set *,struct timeval *                     
    checking for function prototypes… yes                                                     
    checking whether setvbuf arguments are reversed… no                                       
    checking return type of signal handlers… void                                             
    checking for atexit… yes                                                                  
    checking for ftime… yes                                                                   
    checking for memchr… yes                                                                  
    checking for memset… yes                                                                  
    checking for select… yes                                                                  
    checking for strstr… yes                                                                  
    configure: Using kernel source at /lib/modules/2.6.24-25-server/build                       
    configure: creating ./config.status                                                         
    config.status: creating Makefile                                                            
    config.status: creating kernel/Makefile                                                     
    config.status: creating kernel/flash/Makefile                                               
    config.status: creating kernel/konfig/Makefile                                              
    config.status: creating kernel/router/Makefile                                              
    config.status: creating kernel/usb/Makefile                                                 
    config.status: creating userspace/Makefile                                                  
    config.status: creating userspace/dispatcher/Makefile                                       
    config.status: creating userspace/dispatcher/usb/Makefile                                   
    config.status: creating userspace/dispatcher/seriell/Makefile                               
    config.status: creating kernel/usb/kernel2.6/Makefile                                       
    config.status: creating config.h                                                            
    config.status: executing depfiles commands                                                  
    root@bull:/home/beowulf/eumex-0.1.2/eumex-0.1.2# make                                       
    make  all-recursive                                                                         
    make: Entering directory `/home/beowulf/eumex-0.1.2/eumex-0.1.2'                         
    Making all in kernel                                                                        
    make: Entering directory `/home/beowulf/eumex-0.1.2/eumex-0.1.2/kernel'                  
    Making all in konfig                                                                        
    make: Entering directory `/home/beowulf/eumex-0.1.2/eumex-0.1.2/kernel/konfig'           
    if gcc -DHAVE_CONFIG_H -I. -I. -I../..     -g -O2 -MT aws.o -MD -MP -MF ".deps/aws.Tpo" -c -o aws.o aws.c; \
            then mv -f ".deps/aws.Tpo" ".deps/aws.Po"; else rm -f ".deps/aws.Tpo"; exit 1; fi                  
    if gcc -DHAVE_CONFIG_H -I. -I. -I../..     -g -O2 -MT globales.o -MD -MP -MF ".deps/globales.Tpo" -c -o globales.o globales.c; \
            then mv -f ".deps/globales.Tpo" ".deps/globales.Po"; else rm -f ".deps/globales.Tpo"; exit 1; fi                       
    if gcc -DHAVE_CONFIG_H -I. -I. -I../..     -g -O2 -MT konfig.o -MD -MP -MF ".deps/konfig.Tpo" -c -o konfig.o konfig.c; \       
            then mv -f ".deps/konfig.Tpo" ".deps/konfig.Po"; else rm -f ".deps/konfig.Tpo"; exit 1; fi                             
    if gcc -DHAVE_CONFIG_H -I. -I. -I../..     -g -O2 -MT main.o -MD -MP -MF ".deps/main.Tpo" -c -o main.o main.c; \               
            then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f ".deps/main.Tpo"; exit 1; fi                                   
    if gcc -DHAVE_CONFIG_H -I. -I. -I../..     -g -O2 -MT makros.o -MD -MP -MF ".deps/makros.Tpo" -c -o makros.o makros.c; \       
            then mv -f ".deps/makros.Tpo" ".deps/makros.Po"; else rm -f ".deps/makros.Tpo"; exit 1; fi                             
    if gcc -DHAVE_CONFIG_H -I. -I. -I../..     -g -O2 -MT msn.o -MD -MP -MF ".deps/msn.Tpo" -c -o msn.o msn.c; \                   
            then mv -f ".deps/msn.Tpo" ".deps/msn.Po"; else rm -f ".deps/msn.Tpo"; exit 1; fi                                      
    if gcc -DHAVE_CONFIG_H -I. -I. -I../..     -g -O2 -MT port.o -MD -MP -MF ".deps/port.Tpo" -c -o port.o port.c; \               
            then mv -f ".deps/port.Tpo" ".deps/port.Po"; else rm -f ".deps/port.Tpo"; exit 1; fi                                   
    if gcc -DHAVE_CONFIG_H -I. -I. -I../..     -g -O2 -MT rewr.o -MD -MP -MF ".deps/rewr.Tpo" -c -o rewr.o rewr.c; \               
            then mv -f ".deps/rewr.Tpo" ".deps/rewr.Po"; else rm -f ".deps/rewr.Tpo"; exit 1; fi                                   
    if gcc -DHAVE_CONFIG_H -I. -I. -I../..     -g -O2 -MT router.o -MD -MP -MF ".deps/router.Tpo" -c -o router.o router.c; \       
            then mv -f ".deps/router.Tpo" ".deps/router.Po"; else rm -f ".deps/router.Tpo"; exit 1; fi                             
    if gcc -DHAVE_CONFIG_H -I. -I. -I../..     -g -O2 -MT utils.o -MD -MP -MF ".deps/utils.Tpo" -c -o utils.o utils.c; \           
            then mv -f ".deps/utils.Tpo" ".deps/utils.Po"; else rm -f ".deps/utils.Tpo"; exit 1; fi                                
    if gcc -DHAVE_CONFIG_H -I. -I. -I../..     -g -O2 -MT info.o -MD -MP -MF ".deps/info.Tpo" -c -o info.o info.c; \               
            then mv -f ".deps/info.Tpo" ".deps/info.Po"; else rm -f ".deps/info.Tpo"; exit 1; fi                                   
    if gcc -DHAVE_CONFIG_H -I. -I. -I../..     -g -O2 -MT display.o -MD -MP -MF ".deps/display.Tpo" -c -o display.o display.c; \   
            then mv -f ".deps/display.Tpo" ".deps/display.Po"; else rm -f ".deps/display.Tpo"; exit 1; fi                          
    /bin/bash ../../libtool -tag=CC -mode=link gcc  -g -O2   -o emxconf  aws.o globales.o konfig.o main.o makros.o msn.o port.o rewr.o router.o utils.o info.o display.o 
    mkdir .libs                                                                                                                                                            
    gcc -g -O2 -o emxconf aws.o globales.o konfig.o main.o makros.o msn.o port.o rewr.o router.o utils.o info.o display.o                                                  
    make: Leaving directory `/home/beowulf/eumex-0.1.2/eumex-0.1.2/kernel/konfig'                                                                                       
    Making all in router                                                                                                                                                   
    make: Entering directory `/home/beowulf/eumex-0.1.2/eumex-0.1.2/kernel/router'                                                                                      
    if gcc -DHAVE_CONFIG_H -I. -I. -I../..     -g -O2 -MT emxrouter.o -MD -MP -MF ".deps/emxrouter.Tpo" -c -o emxrouter.o emxrouter.c; \                                   
            then mv -f ".deps/emxrouter.Tpo" ".deps/emxrouter.Po"; else rm -f ".deps/emxrouter.Tpo"; exit 1; fi                                                            
    if gcc -DHAVE_CONFIG_H -I. -I. -I../..     -g -O2 -MT uscmdsplit.o -MD -MP -MF ".deps/uscmdsplit.Tpo" -c -o uscmdsplit.o uscmdsplit.c; \                               
            then mv -f ".deps/uscmdsplit.Tpo" ".deps/uscmdsplit.Po"; else rm -f ".deps/uscmdsplit.Tpo"; exit 1; fi                                                         
    /bin/bash ../../libtool -tag=CC -mode=link gcc  -g -O2   -o emxrouter  emxrouter.o uscmdsplit.o                                                                      
    mkdir .libs                                                                                                                                                            
    gcc -g -O2 -o emxrouter emxrouter.o uscmdsplit.o                                                                                                                       
    make: Leaving directory `/home/beowulf/eumex-0.1.2/eumex-0.1.2/kernel/router'
    Making all in flash
    make: Entering directory `/home/beowulf/eumex-0.1.2/eumex-0.1.2/kernel/flash'
    if gcc -DHAVE_CONFIG_H -I. -I. -I../..     -g -O2 -MT emxflash.o -MD -MP -MF ".deps/emxflash.Tpo" -c -o emxflash.o emxflash.c; \
            then mv -f ".deps/emxflash.Tpo" ".deps/emxflash.Po"; else rm -f ".deps/emxflash.Tpo"; exit 1; fi
    if gcc -DHAVE_CONFIG_H -I. -I. -I../..     -g -O2 -MT xmodem.o -MD -MP -MF ".deps/xmodem.Tpo" -c -o xmodem.o xmodem.c; \
            then mv -f ".deps/xmodem.Tpo" ".deps/xmodem.Po"; else rm -f ".deps/xmodem.Tpo"; exit 1; fi
    /bin/bash ../../libtool -tag=CC -mode=link gcc  -g -O2   -o emxflash  emxflash.o xmodem.o
    mkdir .libs
    gcc -g -O2 -o emxflash emxflash.o xmodem.o
    make: Leaving directory `/home/beowulf/eumex-0.1.2/eumex-0.1.2/kernel/flash'
    Making all in usb
    make: Entering directory `/home/beowulf/eumex-0.1.2/eumex-0.1.2/kernel/usb'
    Making all in kernel2.6
    make: Entering directory `/home/beowulf/eumex-0.1.2/eumex-0.1.2/kernel/usb/kernel2.6'
    make -C /lib/modules/2.6.24-25-server/build SUBDIRS=/home/beowulf/eumex-0.1.2/eumex-0.1.2/kernel/usb/kernel2.6/eumex modules
    make: Entering directory `/usr/src/linux-headers-2.6.24-25-server'
      CC   /home/beowulf/eumex-0.1.2/eumex-0.1.2/kernel/usb/kernel2.6/eumex/emx_usb.o
    /home/beowulf/eumex-0.1.2/eumex-0.1.2/kernel/usb/kernel2.6/eumex/emx_usb.c:25:26: error: linux/config.h: No such file or directory
    /home/beowulf/eumex-0.1.2/eumex-0.1.2/kernel/usb/kernel2.6/eumex/emx_usb.c:38:35: error: linux/devfs_fs_kernel.h: No such file or directory
    /home/beowulf/eumex-0.1.2/eumex-0.1.2/kernel/usb/kernel2.6/eumex/emx_usb.c:69: error: size of array ‘type name’ is negative
    /home/beowulf/eumex-0.1.2/eumex-0.1.2/kernel/usb/kernel2.6/eumex/emx_usb.c:154: error: unknown field ‘owner’ specified in initializer
    /home/beowulf/eumex-0.1.2/eumex-0.1.2/kernel/usb/kernel2.6/eumex/emx_usb.c:154: warning: initialization from incompatible pointer type
    /home/beowulf/eumex-0.1.2/eumex-0.1.2/kernel/usb/kernel2.6/eumex/emx_usb.c: In function ‘emx_read_b1_bulk_callback’:
    /home/beowulf/eumex-0.1.2/eumex-0.1.2/kernel/usb/kernel2.6/eumex/emx_usb.c:457: warning: passing argument 6 of ‘usb_fill_bulk_urb’ from incompatible pointer type
    /home/beowulf/eumex-0.1.2/eumex-0.1.2/kernel/usb/kernel2.6/eumex/emx_usb.c: In function ‘emx_read_b2_bulk_callback’:
    /home/beowulf/eumex-0.1.2/eumex-0.1.2/kernel/usb/kernel2.6/eumex/emx_usb.c:558: warning: passing argument 6 of ‘usb_fill_bulk_urb’ from incompatible pointer type
    /home/beowulf/eumex-0.1.2/eumex-0.1.2/kernel/usb/kernel2.6/eumex/emx_usb.c: In function ‘emx_read_cmd_bulk_callback’:
    /home/beowulf/eumex-0.1.2/eumex-0.1.2/kernel/usb/kernel2.6/eumex/emx_usb.c:700: warning: passing argument 6 of ‘usb_fill_bulk_urb’ from incompatible pointer type
    /home/beowulf/eumex-0.1.2/eumex-0.1.2/kernel/usb/kernel2.6/eumex/emx_usb.c: In function ‘emx_probe’:
    /home/beowulf/eumex-0.1.2/eumex-0.1.2/kernel/usb/kernel2.6/eumex/emx_usb.c:1139: warning: passing argument 6 of ‘usb_fill_bulk_urb’ from incompatible pointer type
    /home/beowulf/eumex-0.1.2/eumex-0.1.2/kernel/usb/kernel2.6/eumex/emx_usb.c:1147: warning: passing argument 6 of ‘usb_fill_bulk_urb’ from incompatible pointer type
    /home/beowulf/eumex-0.1.2/eumex-0.1.2/kernel/usb/kernel2.6/eumex/emx_usb.c:1157: warning: passing argument 6 of ‘usb_fill_bulk_urb’ from incompatible pointer type
    /home/beowulf/eumex-0.1.2/eumex-0.1.2/kernel/usb/kernel2.6/eumex/emx_usb.c:1165: warning: passing argument 6 of ‘usb_fill_bulk_urb’ from incompatible pointer type
    /home/beowulf/eumex-0.1.2/eumex-0.1.2/kernel/usb/kernel2.6/eumex/emx_usb.c:1175: warning: passing argument 6 of ‘usb_fill_bulk_urb’ from incompatible pointer type
    /home/beowulf/eumex-0.1.2/eumex-0.1.2/kernel/usb/kernel2.6/eumex/emx_usb.c:1183: warning: passing argument 6 of ‘usb_fill_bulk_urb’ from incompatible pointer type
    /home/beowulf/eumex-0.1.2/eumex-0.1.2/kernel/usb/kernel2.6/eumex/emx_usb.c: In function ‘usb_emx_init’:
    /home/beowulf/eumex-0.1.2/eumex-0.1.2/kernel/usb/kernel2.6/eumex/emx_usb.c:1368: warning: passing argument 2 of ‘class_device_create’ makes pointer from integer without a cast
    /home/beowulf/eumex-0.1.2/eumex-0.1.2/kernel/usb/kernel2.6/eumex/emx_usb.c:1368: warning: passing argument 3 of ‘class_device_create’ makes integer from pointer without a cast
    /home/beowulf/eumex-0.1.2/eumex-0.1.2/kernel/usb/kernel2.6/eumex/emx_usb.c:1368: warning: passing argument 4 of ‘class_device_create’ from incompatible pointer type
    /home/beowulf/eumex-0.1.2/eumex-0.1.2/kernel/usb/kernel2.6/eumex/emx_usb.c:1368: error: too few arguments to function ‘class_device_create’
    /home/beowulf/eumex-0.1.2/eumex-0.1.2/kernel/usb/kernel2.6/eumex/emx_usb.c:1383: error: implicit declaration of function ‘devfs_mk_cdev’
    /home/beowulf/eumex-0.1.2/eumex-0.1.2/kernel/usb/kernel2.6/eumex/emx_usb.c:1401: error: implicit declaration of function ‘devfs_remove’
    make: ***  Error 1
    make: ***  Error 2
    make: Leaving directory `/usr/src/linux-headers-2.6.24-25-server'
    make: ***  Error 2
    make: Leaving directory `/home/beowulf/eumex-0.1.2/eumex-0.1.2/kernel/usb/kernel2.6'
    make: ***  Error 1
    make: Leaving directory `/home/beowulf/eumex-0.1.2/eumex-0.1.2/kernel/usb'
    make: ***  Error 1
    make: Leaving directory `/home/beowulf/eumex-0.1.2/eumex-0.1.2/kernel'
    make: ***  Error 1
    make: Leaving directory `/home/beowulf/eumex-0.1.2/eumex-0.1.2'
    make: ***  Error 2
    root@bull:/home/beowulf/eumex-0.1.2/eumex-0.1.2#

    Die Kernel Header sind installiert wie auch der gcc-3.4
    Hat irgendjemand eine Idee , da ich echt nicht mehr weiter weiß.

    Vielen Dank im Voraus

     
  • Joerg Schiermeier

    Tja, sieht finster aus, dieses Projekt ist tot. Siehe:
    . Wenn Du ein wenig in die vorherigen Posts schaust, wirst Du einen Patch für Debian finden, vielleicht funktioniert der. Setzt allerdings Programmierkenntnisse voraus.

    Mir ist es zwar gelungen, den Treiber zu kompilieren, aber beim Laden ist mir die Kiste abgeschmiert, d.h. *Kernel Panic*. Da hab ich erst mal aufgegeben.

    Zum Warten meiner Anlage benutze ich den Treiber für die serielle Schnittstelle. Zum Konfigurieren reicht das.
    Alles andere: ???

      : https://sourceforge.net/projects/eumex/forums/forum/226910/topic/2024291

     

Log in to post a comment.