john, Kernel-source is not the issue, as I was able to do the compile under one condition, but reproduced your failure under another condition. See attached. I'll try to work out the problem while traveling today DC-SanF MarvS On Wed, Aug 26, 2009 at 4:45 AM, <john31608@xxxxxxxxxx> wrote: > Hi > This is in reference to attempted installation of an agrsm 0620 modem > driver from file Ubuntu-9-0-4. Josh Crawford on Mon AUG 24 related I need > to check that I have kernel source files installed not just headers. My > /usr/src directory does not have kernel source files. I have been unable to > locate any such files on my installation nor on the install CD. This is a > brand new installation. Does this mean I should download a kernel source > file from www.kernel.org? I notice they don't have a match for my kernel. I > started downloading linux-2.6.28.10.tar.gz along with a signature file. > Would I need to just install or do I also configure and compile a new > Kernel? I'm not geared up for automatic updating yet. This is all very new > to me. Thanks, John W >
make -C /lib/modules/`uname -r`/build/ SUBDIRS=/usr/src/pkg/agrsmu modules make[1]: Entering directory `/usr/src/linux-headers-2.6.28-15-generic' CC [M] /usr/src/pkg/agrsmu/agrsoftmodem.o /usr/src/pkg/agrsmu/agrsoftmodem.c: In function ‘x_task_queue_init’: /usr/src/pkg/agrsmu/agrsoftmodem.c:442: warning: assignment from incompatible pointer type /usr/src/pkg/agrsmu/agrsoftmodem.c: In function ‘x_task_queue_init_usb’: /usr/src/pkg/agrsmu/agrsoftmodem.c:454: warning: assignment from incompatible pointer type CC [M] /usr/src/pkg/agrsmu/hda.o In file included from /usr/src/pkg/agrsmu/hda.c:13: include/sound/driver.h:1:2: warning: #warning "This file is deprecated" /usr/src/pkg/agrsmu/hda.c:280: warning: function declaration isn’t a prototype /usr/src/pkg/agrsmu/hda.c:307: warning: function declaration isn’t a prototype /usr/src/pkg/agrsmu/hda.c:314: warning: function declaration isn’t a prototype /usr/src/pkg/agrsmu/hda.c: In function ‘LnxTransferCodecVerbs’: /usr/src/pkg/agrsmu/hda.c:323: warning: unused variable ‘CodecAddress’ /usr/src/pkg/agrsmu/hda.c: In function ‘LnxTransferCodecVerbsWrite’: /usr/src/pkg/agrsmu/hda.c:344: warning: unused variable ‘CodecAddress’ /usr/src/pkg/agrsmu/hda.c: In function ‘findHDACodec’: /usr/src/pkg/agrsmu/hda.c:282: warning: control reaches end of non-void function /usr/src/pkg/agrsmu/hda.c: In function ‘GetHDABaseAddress’: /usr/src/pkg/agrsmu/hda.c:280: warning: control reaches end of non-void function /usr/src/pkg/agrsmu/hda.c: In function ‘getHDAStream’: /usr/src/pkg/agrsmu/hda.c:279: warning: control reaches end of non-void function /usr/src/pkg/agrsmu/hda.c: In function ‘LnxTransferCodecVerbs’: /usr/src/pkg/agrsmu/hda.c:340: warning: ‘rvalue’ may be used uninitialized in this function /usr/src/pkg/agrsmu/hda.c: In function ‘LnxTransferCodecVerbsWrite’: /usr/src/pkg/agrsmu/hda.c:361: warning: ‘rvalue’ may be used uninitialized in this function CC [M] /usr/src/pkg/agrsmu/serial26.o /usr/src/pkg/agrsmu/serial26.c: In function ‘serial8250_startup’: /usr/src/pkg/agrsmu/serial26.c:1434: warning: assignment from incompatible pointer type /usr/src/pkg/agrsmu/serial26.c: In function ‘serial8250_set_termios’: /usr/src/pkg/agrsmu/serial26.c:1699: warning: passing argument 2 of ‘uart_get_baud_rate’ from incompatible pointer type /usr/src/pkg/agrsmu/serial26.c:1699: warning: passing argument 3 of ‘uart_get_baud_rate’ from incompatible pointer type /usr/src/pkg/agrsmu/serial26.c: At top level: /usr/src/pkg/agrsmu/serial26.c:2115: warning: initialization from incompatible pointer type /usr/src/pkg/agrsmu/serial26.c:2116: warning: initialization from incompatible pointer type /usr/src/pkg/agrsmu/serial26.c:2123: warning: initialization from incompatible pointer type LD [M] /usr/src/pkg/agrsmu/agrmodem.o LD [M] /usr/src/pkg/agrsmu/agrserial.o Building modules, stage 2. MODPOST 2 modules WARNING: could not find /usr/src/pkg/agrsmu/.agrmodemlib.o.cmd for /usr/src/pkg/agrsmu/agrmodemlib.o CC /usr/src/pkg/agrsmu/agrmodem.mod.o LD [M] /usr/src/pkg/agrsmu/agrmodem.ko CC /usr/src/pkg/agrsmu/agrserial.mod.o LD [M] /usr/src/pkg/agrsmu/agrserial.ko make[1]: Leaving directory `/usr/src/linux-headers-2.6.28-15-generic' -rw-r--r-- 1 marv marv 1681907 2009-08-26 08:39 agrmodem.ko -rw-r--r-- 1 marv marv 26649 2009-08-26 08:39 agrserial.ko