Building ATI Radeon 3200 drivers on openSUSE

I’m using a HP Pavillon DV4 1220US with a ATI Radeon HD 3200.

I’ve followed the steps in the page:

SDB:ATI drivers - openSUSE

To install ATI drivers. Unfortunately, it does not build the drivers. It has the following error in /usr/share/ati/fglrx-install.log:

vitorpy@linux-i9ok:/usr/share/ati> cat fglrx-install.log 
[Message] Kernel Module : Trying to install a precompiled kernel module.
[Message] Kernel Module : Precompiled kernel module version mismatched.
[Error] Kernel Module : Kernel module build environment not found - please consult readme.

I do have development packages, kernel sources and everything else I could find installed.

Running the script /lib/modules/fglrx/build_mod/ script gives me the following error:

vitorpy@linux-i9ok:/lib/modules/fglrx/build_mod> sudo ./
root's password:
AMD kernel module generator version 2.1
kernel includes at /usr/src/linux/include not found or incomplete
file: /usr/src/linux/include/linux/version.h

The file /usr/src/linux/include/linux/version.h doesn’t really exists.

There are the following errors in /var/log/Xorg.0.log:

vitorpy@linux-i9ok:~> cat /var/log/Xorg.0.log | grep "(EE)"
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(EE) fglrx(0): Hasn't established DRM connection
(EE) fglrx(0): Hasn't established DRM connection
(EE) fglrx(0): atiddxDriScreenInit failed, GPS not been initialized. 
(EE) fglrx(0): XMM failed to open CMMQS connection.

Did I something wrong? What steps could be taken to make the driver build?

Nevermind, got the right packages after a zypper up.

What did you have done? I’m having the same errors and I can’t get it fixed.
Can you help me? I’m new in linux.

Go to YaST > Software > Software Mangement and select the “Base development” pattern for installation. Also install ‘kernel-source’ and ‘kernel-syms’ of the EXACT same version as your kernel.