Stupidly my kernel headers package was not downloaded. PCITAG has a
kernel library feel. (im a python dev) installing the headers.. which i
should do anyway if im rolling my own debs.

UPDATE: this experiment failed. the headers did not allow me to compile
this module. see below for kernel log.

jason@dev-machine:/usr/local/src/xserver-xorg-video-sis$ uname -a
Linux dev-machine 4.4.0-47-generic #68-Ubuntu SMP Wed Oct 26 19:39:52 UTC 2016 
x86_64 x86_64 x86_64 GNU/Linux
jason@dev-machine:/usr/local/src/xserver-xorg-video-sis$ sudo apt-get install 
linux-headers-4.4.0-47-generic
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  linux-headers-4.4.0-47
The following NEW packages will be installed:
  linux-headers-4.4.0-47 linux-headers-4.4.0-47-generic
0 upgraded, 2 newly installed, 0 to remove and 96 not upgraded.
Need to get 10.8 MB of archives.
After this operation, 77.7 MB of additional disk space will be used.
Do you want to continue? [Y/n] 
Get:1 http://security.ubuntu.com/ubuntu xenial-security/main amd64 
linux-headers-4.4.0-47 all 4.4.0-47.68 [10.0 MB]
Get:2 http://security.ubuntu.com/ubuntu xenial-security/main amd64 
linux-headers-4.4.0-47-generic amd64 4.4.0-47.68 [790 kB]
Fetched 10.8 MB in 5s (2042 kB/s)                      
Selecting previously unselected package linux-headers-4.4.0-47.
(Reading database ... 165238 files and directories currently installed.)
Preparing to unpack .../linux-headers-4.4.0-47_4.4.0-47.68_all.deb ...
Unpacking linux-headers-4.4.0-47 (4.4.0-47.68) ...
Selecting previously unselected package linux-headers-4.4.0-47-generic.
Preparing to unpack .../linux-headers-4.4.0-47-generic_4.4.0-47.68_amd64.deb ...
Unpacking linux-headers-4.4.0-47-generic (4.4.0-47.68) ...
Setting up linux-headers-4.4.0-47 (4.4.0-47.68) ...
Setting up linux-headers-4.4.0-47-generic (4.4.0-47.68) ...
Examining /etc/kernel/header_postinst.d.
run-parts: executing /etc/kernel/header_postinst.d/dkms 4.4.0-47-generic 
/boot/vmlinuz-4.4.0-47-generic
jason@dev-machine:/usr/local/src/xserver-xorg-video-sis$ sudo make
make  all-recursive
make[1]: Entering directory '/usr/local/src/xserver-xorg-video-sis'
Making all in src
make[2]: Entering directory '/usr/local/src/xserver-xorg-video-sis/src'
  CC     init301.lo
In file included from sis.h:179:0,
                 from init301.h:58,
                 from init301.c:74:
vstruct.h:240:2: error: unknown type name 'PCITAG'
  PCITAG    PciTag;
  ^
In file included from init301.h:58:0,
                 from init301.c:74:
sis.h:1008:5: error: unknown type name 'PCITAG'
     PCITAG  PciTag;
     ^
Makefile:430: recipe for target 'init301.lo' failed
make[2]: *** [init301.lo] Error 1
make[2]: Leaving directory '/usr/local/src/xserver-xorg-video-sis/src'
Makefile:353: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/usr/local/src/xserver-xorg-video-sis'
Makefile:284: recipe for target 'all' failed
make: *** [all] Error 2
jason@dev-machine:/usr/local/src/xserver-xorg-video-sis$

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xserver-xorg-video-sis in Ubuntu.
https://bugs.launchpad.net/bugs/1644234

Title:
  Compile Fail : error: unknown type name 'PCITAG'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-sis/+bug/1644234/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to     : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp

Reply via email to