Re: Sean Pappalardo, USA, Kernel 2.6.26-1-686 #1 SMP (Debian Testing/Lenny)

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

 



Sean,

Kernel source is not necessary,  as the linux-headers matching your
kernel is installed.
However you may need the package kernel-kbuild-2.6-26 to support
driver compiling, if it is not already installed.  Below is the
compiled on my System.

MarvS
---------------
$ make modules
make -C /lib/modules/2.6.27-9-generic/build
SUBDIRS=/usr/src/modules/agrsm-20090121A modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.27-9-generic'
  CC [M]  /usr/src/modules/agrsm-20090121A/agrsoftmodem.o
objcopy --weaken-symbol=LXHardwareInfoCreate \
		--weaken-symbol=LXHardwareInfoDestroy \
		/usr/src/modules/agrsm-20090121A/agrmodemlib.o
/usr/src/modules/agrsm-20090121A/agrsm_core.o
  CC [M]  /usr/src/modules/agrsm-20090121A/lib.o
  CC [M]  /usr/src/modules/agrsm-20090121A/serial26.o
/usr/src/modules/agrsm-20090121A/serial26.c: In function 'serial8250_get_mctrl':
/usr/src/modules/agrsm-20090121A/serial26.c:1371: warning: unused
variable 'flags'
/usr/src/modules/agrsm-20090121A/serial26.c: In function
'serial8250_config_port':
/usr/src/modules/agrsm-20090121A/serial26.c:2039: warning: unused variable 'ret'
/usr/src/modules/agrsm-20090121A/serial26.c: At top level:
/usr/src/modules/agrsm-20090121A/serial26.c:2131: warning:
initialization from incompatible pointer type
/usr/src/modules/agrsm-20090121A/serial26.c:2132: warning:
initialization from incompatible pointer type
/usr/src/modules/agrsm-20090121A/serial26.c:1922: warning:
'serial8250_request_rsa_resource' defined but not used
  LD [M]  /usr/src/modules/agrsm-20090121A/agrmodem.o
  LD [M]  /usr/src/modules/agrsm-20090121A/agrserial.o
  Building modules, stage 2.
  MODPOST 2 modules
WARNING: could not find
/usr/src/modules/agrsm-20090121A/.agrsm_core.o.cmd for
/usr/src/modules/agrsm-20090121A/agrsm_core.o
WARNING: modpost: Found 3 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'
  CC      /usr/src/modules/agrsm-20090121A/agrmodem.mod.o
  LD [M]  /usr/src/modules/agrsm-20090121A/agrmodem.ko
  CC      /usr/src/modules/agrsm-20090121A/agrserial.mod.o
  LD [M]  /usr/src/modules/agrsm-20090121A/agrserial.ko
make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-9-generic'

$ ls -l *.ko
-rw-r--r-- 1 marv marv 1441996 2009-02-06 18:26 agrmodem.ko
-rw-r--r-- 1 marv marv   24962 2009-02-06 18:26 agrserial.ko


On Fri, Feb 6, 2009 at 8:41 AM, Sean M. Pappalardo
<pegasus@xxxxxxxxxxxxxxxx> wrote:
> Hello again.
>
> Marvin Stodolsky wrote:
>> Sean,
>>
>> for
>> "Communication controller: Agere Systems V.92 56K WinModem "
>> CLASS=0780
>> PCIDEV=11c1:048c
>> SUBSYS=11c1:044c
>> IRQ=10
>> IDENT=Agere.SV2P
>>
>> under  Kernel 2.6.26-1-686 #1 SMP (Debian Testing/Lenny) there is a
>> test package which I'll send you separately.
>>
>> MarvS
>>
>
> I tried using the test package but get the following errors. (I had
> deleted the kernel source because I'm out of disk space! Do I still need
> it for this?) Make module doesn't work, so I just tried make.
>
> Thanks again for your time.
>
> Sincerely,
> Sean M. Pappalardo
>
>
> PresarioDesktop:/storage/Modem/agrsm-20090121# make
> make -C /lib/modules/2.6.26-1-686/build
> SUBDIRS=/storage/Modem/agrsm-20090121 modules
> make[1]: Entering directory `/usr/src/linux-headers-2.6.26-1-686'
>  CC [M]  /storage/Modem/agrsm-20090121/agrsoftmodem.o
> objcopy --weaken-symbol=LXHardwareInfoCreate \
>                --weaken-symbol=LXHardwareInfoDestroy \
>                /storage/Modem/agrsm-20090121/agrmodemlib.o
> /storage/Modem/agrsm-20090121/agrsm_core.o
>  CC [M]  /storage/Modem/agrsm-20090121/lib.o
> /storage/Modem/agrsm-20090121/lib.c: In function 'agr_pci_find_device':
> /storage/Modem/agrsm-20090121/lib.c:134: warning: 'pci_find_device' is
> deprecated (declared at include/linux/pci.h:514)
> /storage/Modem/agrsm-20090121/lib.c: In function
> 'x_pcibios_read_config_byte':
> /storage/Modem/agrsm-20090121/lib.c:145: warning: 'pci_find_slot' is
> deprecated (declared at include/linux/pci.h:516)
> /storage/Modem/agrsm-20090121/lib.c: In function
> 'x_pcibios_read_config_word':
> /storage/Modem/agrsm-20090121/lib.c:148: warning: 'pci_find_slot' is
> deprecated (declared at include/linux/pci.h:516)
> /storage/Modem/agrsm-20090121/lib.c: In function
> 'x_pcibios_read_config_dword':
> /storage/Modem/agrsm-20090121/lib.c:151: warning: 'pci_find_slot' is
> deprecated (declared at include/linux/pci.h:516)
> /storage/Modem/agrsm-20090121/lib.c: In function
> 'x_pcibios_write_config_byte':
> /storage/Modem/agrsm-20090121/lib.c:154: warning: 'pci_find_slot' is
> deprecated (declared at include/linux/pci.h:516)
> /storage/Modem/agrsm-20090121/lib.c: In function
> 'x_pcibios_write_config_word':
> /storage/Modem/agrsm-20090121/lib.c:157: warning: 'pci_find_slot' is
> deprecated (declared at include/linux/pci.h:516)
> /storage/Modem/agrsm-20090121/lib.c: In function
> 'x_pcibios_write_config_dword':
> /storage/Modem/agrsm-20090121/lib.c:160: warning: 'pci_find_slot' is
> deprecated (declared at include/linux/pci.h:516)
>  CC [M]  /storage/Modem/agrsm-20090121/serial26.o
> /storage/Modem/agrsm-20090121/serial26.c: In function 'receive_chars':
> /storage/Modem/agrsm-20090121/serial26.c:1007: error: 'struct uart_info'
> has no member named 'port'
> /storage/Modem/agrsm-20090121/serial26.c: In function
> 'serial8250_get_mctrl':
> /storage/Modem/agrsm-20090121/serial26.c:1371: warning: unused variable
> 'flags'
> /storage/Modem/agrsm-20090121/serial26.c: In function
> 'serial8250_config_port':
> /storage/Modem/agrsm-20090121/serial26.c:2039: warning: unused variable
> 'ret'
> /storage/Modem/agrsm-20090121/serial26.c: At top level:
> /storage/Modem/agrsm-20090121/serial26.c:2131: warning: initialization
> from incompatible pointer type
> /storage/Modem/agrsm-20090121/serial26.c:2132: warning: initialization
> from incompatible pointer type
> make[2]: *** [/storage/Modem/agrsm-20090121/serial26.o] Error 1
> make[1]: *** [_module_/storage/Modem/agrsm-20090121] Error 2
> make[1]: Leaving directory `/usr/src/linux-headers-2.6.26-1-686'
> make: *** [modules] Error 2
>
> <<--------------------------------------------------------------------------------->>
> This E-Mail message has been scanned for viruses
> and cleared by >>SmartMail<< from Smarter Technology, Inc.
> <<--------------------------------------------------------------------------------->>
>

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

  Powered by Linux