Error when trying to compile broadcom-sta driver

view story

http://askubuntu.com – I was updated my Ubuntu 12.04.1 LTS kernel to version 3.5.0-18-generic so I need to recompile my broadcom-sta to work with the new kernel I was run ubuntu@ubuntu:~$ sudo dpkg-reconfigure broadcom-sta-dkms ------------------------------ Deleting module version: completely from the DKMS tree. ------------------------------ Done. Loading new broadcom-sta- DKMS files... Building only for 3.5.0-18-generic Building initial module for 3.5.0-18-generic ERROR (dkms apport): kernel package linux-headers-3.5.0-18-generic is not supported Error! Bad return status for module bui (HowTos)