[SWLUG] conexant usb modem installation

Pete Prior swlug-discuss at nermal.org
Wed May 6 09:53:21 UTC 2009


It sounds like it's trying to compile a kernel module for your system.  To
do this you need to not only have the linux kernel installed, but also the
linux kernel headers.  These are usually called something like
linux-headers or linux-headers-generic (on ubuntu and debian anyway).

Try installing the linux headers with:

sudo apt-get install linux-headers-generic

and try again.  You'll probably need some other stuff so it might be worth
doing a:

sudo apt-get install build-essential 

as well to get a basic build environment installed.

Pete

On Wed, 06 May 2009 10:48:30 +0100, Stephen <stephanos at writeme.com> wrote:
> Dear All
> 
> I have been trying to install a driver for a Conexant DGC USB dialup
modem.
> 
> I ran the installation file "dgcmodem_i386.deb" and quickly got to a 
> stage that I did not understand:
> "Where is the linux source build directory that matches your running
> kernel?
> [/lib/modules/2.6.27-7-generic/build] "
> 
> I accepted the prompted location.  However it did not install and I was 
> left with a message:
> "ERROR: Module build failed!
> Please examine the log file "/tmp/dgcconfig-buildlog.txt" to determine
> why."
> 
> At the location "/lib/modules/", there are two  directories
> 1) /lib/modules/2.6.27-7-generic/  (I chose this one)
> 2) /lib/modules/2.6.27-11-generic/
> 
> Out put from uname is:
> "stephanos at dell:~$ uname -r
> 2.6.27-7-generic
> stephanos at dell:~$"
> 
> Below I have reproduced these two sources of information in full.
> 
> Any help appreciated
> 
> 
> Stephen
> 
> -------------------------------------------------------------------
> Below is all the message from the installation process
> -------------------------------------------------------------------
> "Selecting previously deselected package dgcmodem.
> (Reading database ... 126446 files and directories currently installed.)
> Unpacking dgcmodem (from .../linux/debian/dgcmodem_i386.deb) ...
> Setting up dgcmodem (1.01) ...
> Conexant DGC USB modem driver, version 1.01
> 
> If you need assistance or more information, please go to:
> 	http://www.linuxant.com/
> 
> When reporting a problem for the first time, please send
> us the file generated by "dgcconfig --dumpdiag".
> 
> No pre-built modules for: Ubuntu-Kubuntu-8.10 linux-2.6.27-7-generic 
> i686-SMP
> 
> Trying to automatically build the driver modules...
> (this requires a C compiler and proper kernel sources to be installed)
> 
> Where is the linux source build directory that matches your running
kernel?
> [/lib/modules/2.6.27-7-generic/build]
> 
> Building modules for kernel 2.6.27-7-generic, using source directory
> /lib/modules/2.6.27-7-generic/build. Please wait...
> 
> ERROR: Module build failed!
> Please examine the log file "/tmp/dgcconfig-buildlog.txt" to determine
> why."
> 
> -------------------------------------------------------------------
> Below is the content of "/tmp/dgcconfig-buildlog.txt"
> -------------------------------------------------------------------
> (cd /lib/modules/2.6.27-7-generic/build && make 
> "CNXT_KERNELSRC=skins/default/lib/modules/2.6.27-7-generic/build" 
> "M=/usr/lib/dgcmodem/modules" "CC=gcc" clean)
> make[1]: Entering directory `/usr/src/linux-headers-2.6.27-7-generic'
> make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-7-generic'
> rm -rf *.o GPL/*.o *.ko GPL/*.ko *.mod.c GPL/*.mod.c .*.cmd GPL/.*.cmd 
> .tmp_versions .tmp_versions 
> /lib/modules/2.6.27-7-generic/build/.tmp_versions/dgcusbdcp.mod 
> Modules.symvers GPL/hda/Modules.symvers
> (cd /lib/modules/2.6.27-7-generic/build && make 
> "CNXT_KERNELSRC=skins/default/lib/modules/2.6.27-7-generic/build" 
> "M=/usr/lib/dgcmodem/modules" "CC=gcc" modules)
> make[1]: Entering directory `/usr/src/linux-headers-2.6.27-7-generic'
> scripts/Makefile.build:46: *** CFLAGS was changed in 
> "/usr/lib/dgcmodem/modules/Makefile". Fix it to use EXTRA_CFLAGS.  Stop.
> make[1]: *** [_module_/usr/lib/dgcmodem/modules] Error 2
> make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-7-generic'
> make: *** [all] Error 2
> 
> _______________________________________________
> SWLUG Discussion List - Discuss at swlug.org
> http://swlug.org/mailman/listinfo/discuss



More information about the Swlug mailing list