Fwd: Re: Fwd: Re: Agere on OpenSuSE 11.1 - Driver package.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




I do so, I installed "kernel-source" and did the driver installation again.
I got this: 

linux-xkbb:/home/amir # rpm -q kernel-source
kernel-source-2.6.27.7-9.1                  
linux-xkbb:/home/amir # uname -r            
2.6.27.7-9-pae 
------------

linux-xkbb:/home/amir/build-27 # make
make -C /lib/modules/2.6.27.7-9-pae/build M=/home/amir/build-27 modules
make[1]: Entering directory `/usr/src/linux-2.6.27.7-9-obj/i386/pae'   
make -C ../../../linux-2.6.27.7-9 O=/usr/src/linux-2.6.27.7-9-obj/i386/pae/. 
modules
  CC [M]  /home/amir/build-27/agrsoftmodem.o                                  
      
/home/amir/build-27/agrsoftmodem.c: In function ‘x_request_irq’:              
      
/home/amir/build-27/agrsoftmodem.c:275: warning: passing argument 2 of 
‘request_irq’ from incompatible pointer type
/home/amir/build-27/agrsoftmodem.c: In function ‘kill_proc_wrap’:              
                                    
/home/amir/build-27/agrsoftmodem.c:308: error: implicit declaration of 
function ‘kill_proc’                        
/home/amir/build-27/agrsoftmodem.c: In function ‘x_task_queue_init’:          
                                     
/home/amir/build-27/agrsoftmodem.c:436: warning: assignment from incompatible 
pointer type                         
/home/amir/build-27/agrsoftmodem.c: In function ‘x_task_queue_init_usb’:      
                                     
/home/amir/build-27/agrsoftmodem.c:448: warning: assignment from incompatible 
pointer type                         
/home/amir/build-27/agrsoftmodem.c: At top level:                              
                                    
/home/amir/build-27/agrsoftmodem.c:475: warning: function declaration isn’t a 
prototype                            
/home/amir/build-27/agrsoftmodem.c:497: warning: function declaration isn’t a 
prototype                            
/home/amir/build-27/agrsoftmodem.c:507: warning: function declaration isn’t a 
prototype                            
/home/amir/build-27/agrsoftmodem.c:508: warning: function declaration isn’t a 
prototype                            
make[4]: *** [/home/amir/build-27/agrsoftmodem.o] Error 1                      
                                    
make[3]: *** [_module_/home/amir/build-27] Error 2                            
                                     
make[2]: *** [sub-make] Error 2                                                
                                    
make[1]: *** [all] Error 2                                                    
                                     
make[1]: Leaving directory `/usr/src/linux-2.6.27.7-9-obj/i386/pae'            
                                    
make: *** [default] Error 2                                                    
                                    

linux-xkbb:/home/amir/build-27 # sudo make modules_install
make -C /lib/modules/2.6.27.7-9-pae/build M=/home/amir/build-27 
modules_install
make[1]: Entering directory `/usr/src/linux-2.6.27.7-9-obj/i386/pae'
make -C ../../../linux-2.6.27.7-9 O=/usr/src/linux-2.6.27.7-9-obj/i386/pae/. 
modules_install
  DEPMOD  2.6.27.7-9-pae
make[1]: Leaving directory `/usr/src/linux-2.6.27.7-9-obj/i386/pae'

> Hi Sina,
>
> you can check with (as root)
>
> rpm -q kernel-source
>
> whether the kernel sources are installed. If not, install them with
> YAST. Search with  "kernel" for available packages. And look in the
> result list for a package "kernel-source". This is the full source of
> the SuSE kernel including all there patches. Do NOT install the
> kernel-vanilla package, as this is the original kernel from kernel.org,
> which does not match your running kernel.
> Then try to compile the modem driver again.
>
> Regards,
>
> Joern

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


[Index of Archives]     [Linux Media Development]     [Asterisk]     [DCCP]     [Netdev]     [X.org]     [Xfree86]     [Fedora Women]     [Linux USB]

  Powered by Linux