Re: [ubuntu-uk] Building module ....

2014-12-20 Thread Simon Greenwood
On 20 December 2014 at 15:37, Barry Drake 
wrote:

> Hi there ...  I want to use a fax on my desktop computer.  I'm running
> 15.04 testing.  I bought a USB fax modem with Conexant chipset - Linux
> compatible.  The enclosed disk has a .deb driver package.  So far so good
>   On trying to use the package, I get the following error:
> No pre-built modules for: Ubuntu-Vivid linux-3.16.0-28-generic x86_64-SMP
> Trying to automatically build the driver modules...
> Building modules for kernel 3.16.0-28-generic, using source directory
> /lib/modules/3.16.0-28-generic/build.
>
> It then throws the following fatal error:
> make[1]: Entering directory '/usr/src/linux-headers-3.16.0-28-generic'
>   CC [M]  /usr/lib/dgcmodem/modules/mod_dgcusbdcp.o
> In file included from /usr/lib/dgcmodem/modules/mod_dgcusbdcp.c:57:0:
> /usr/lib/dgcmodem/modules/GPL/oscompat.h:125:24: fatal error:
> asm/system.h: No such file or directory
>  #include 
>
> Looking around, I see that this header is no longer current.  I have no
> idea what it contains, and can find very little help online as to what
> information this header used to contain.  Any ideas please?
>
> Kind regards,Barry.
>
>
asm/system.h is quite commonly used in older telephony device drivers and
has been removed according to this commit to the kernel:
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=f05e798ad4c09255f590f5b2c00a7ca6c172f983

It looks it's some kind of hangover from days when serial devices were more
common and is therefore probably specific to some chipsets and it looks
like it's been regarded as being in the wrong place. You may have a better
chance building directly from source and either commenting out the #include
statement for it as it could be redundant or finding the last version of
the kernel that had it in, probably a late 3.3 release by the look of it
and putting the file in place so that the compiler can find it.

s/

-- 
Twitter: @sfgreenwood
"TBA are particularly glib"
-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


[ubuntu-uk] Building module ....

2014-12-20 Thread Barry Drake
Hi there ...  I want to use a fax on my desktop computer.  I'm running 
15.04 testing.  I bought a USB fax modem with Conexant chipset - Linux 
compatible.  The enclosed disk has a .deb driver package.  So far so 
good   On trying to use the package, I get the following error:

No pre-built modules for: Ubuntu-Vivid linux-3.16.0-28-generic x86_64-SMP
Trying to automatically build the driver modules...
Building modules for kernel 3.16.0-28-generic, using source directory 
/lib/modules/3.16.0-28-generic/build.


It then throws the following fatal error:
make[1]: Entering directory '/usr/src/linux-headers-3.16.0-28-generic'
  CC [M]  /usr/lib/dgcmodem/modules/mod_dgcusbdcp.o
In file included from /usr/lib/dgcmodem/modules/mod_dgcusbdcp.c:57:0:
/usr/lib/dgcmodem/modules/GPL/oscompat.h:125:24: fatal error: 
asm/system.h: No such file or directory

 #include 

Looking around, I see that this header is no longer current.  I have no 
idea what it contains, and can find very little help online as to what 
information this header used to contain.  Any ideas please?


Kind regards,Barry.



--
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/