Re: Conexant USB ID 0572:1329 Ubuntu Lucid kernel 2.6.32-27-generic

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

 



On 5/12/13, Olemis Lang <olemis@xxxxxxxxx> wrote:
> Hi !
> :)
>
> I'm reopening this old thread because ...
>
> On 5/19/11, Antonio Olivares <olivares14031@xxxxxxxxx> wrote:
> [...]
>>
>> You might need the tar file since the debian has only 32 bit version
>>
>> http://www.linuxant.com/drivers/dgc/archive/dgcmodem-1.13/dgcmodem-1.13.tar.gz
>>
>> METHOD C: TAR PACKAGE (*.tar.gz)
>> If you have obtained the driver package in tar format:
>>
>> 1. extract the package with "tar -xzf dgcmodem-{version}.tar.gz"
>>
>> 2. change to the package directory with "cd dgcmodem-{version}"
>>
>> 3. run "make install" from the top of the package directory.
>>
>> 4. run "dgcconfig" to complete the installation and configure your modem.
>>
>> (Alternatively to this whole procedure you may generate RPMS from the
>> tar package using rpmbuild -ta dgcmodem-{version}.tar.gz")
>>
>> Try that one and report back.
>>
> [...]
>
> ... I'm trying to install the same driver but now on Ubuntu 13.04
> (i.e. kernel = 3.8.0-19) , but the install process is failing with
> message
>
> {{{
> fatal error: linux/config.h: No such file or directory
> }}}
>
> AFAICS «Including linux/config.h is deprecated since 2.6.15 (see (1))
> and the file itself is gone since 2.6.19» [1]_
>
> Q:
>   - Is there an alternative solution able to work with recent kernels
>     (i.e. 3.8.0-19) ?
>
> .. [1] http://madwifi-project.org/ticket/2456#comment:6
>

Indeed the full error message is shown below

{{{
#!sh

$ sudo make install
make[1]: Entering directory `./dgcmodem-1.13/scripts'
install -m 700 dgcconfig dgcstop dgcmodconflicts dgcdcpd /usr/sbin
install -m 700 rcdgc /usr/lib/dgcmodem
make[1]: Leaving directory `./dgcmodem-1.13/scripts'
gcc: fatal error: no input files
compilation terminated.
cc1: fatal error:
/usr/src/kernel-headers-3.8.0-19-generic/include/linux/config.h: No
such file or directory
compilation terminated.
make[1]: Entering directory `./dgcmodem-1.13/modules'
rm -rf "/usr/lib/dgcmodem/config.mak"
"/usr/lib/dgcmodem/modules/imported" "/usr/lib/dgcmodem/modules"
mkdir -m 755 -p /usr/lib/dgcmodem/modules
(cd .. && find config.mak modules/imported -depth -print | cpio -pdmu
/usr/lib/dgcmodem)
13 blocks
find . \( -name COPYING -o -name '*.sh' -o -name '*.[ch]' -o -name
'*.mak' -o -name '[Mm]akefile' \) -print | cpio -pdmu
/usr/lib/dgcmodem/modules
197 blocks
find binaries -depth -print | cpio -pdmu /usr/lib/dgcmodem/modules
0 blocks
make[1]: Leaving directory `./dgcmodem-1.13/modules'
install -m 444 LICENSE /usr/lib/dgcmodem

To complete the installation and configuration of your modem,
please run "dgcconfig" (or "/usr/sbin/dgcconfig")

}}}

... and I also noticed that .h file is expected to be at
/usr/src/kernel-headers-3.8.0-19-generic/include/linux/config.h but in
Ubuntu 13.04 those files are available at
/usr/src/linux-headers-3.8.0-19-generic/include/linux/config.h

Scripts are not copied either .

What shall I do ?

-- 
Regards,

Olemis.

Apache™ Bloodhound contributor
http://issues.apache.org/bloodhound

Blog ES: http://simelo-es.blogspot.com/
Blog EN: http://simelo-en.blogspot.com/

Featured article:





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

  Powered by Linux