[Galaxy S II I9100G Android Development] dany547:
hmm, i got this weird error in the gpu tree

In file included from drivers/gpu/msm/kgsl_device.h:44,
from drivers/gpu/msm/kgsl.h:42,
from drivers/gpu/msm/kgsl_drawctxt.c:25:
drivers/gpu/msm/kgsl_pwrctrl.h:37:38: error: mach/internal_power_rail.h: No such file or directory
In file included from drivers/gpu/msm/kgsl.h:42,
from drivers/gpu/msm/kgsl_drawctxt.c:25:
drivers/gpu/msm/kgsl_device.h:117: warning: 'struct kgsl_ibdesc' declared inside parameter list
drivers/gpu/msm/kgsl_device.h:117: warning: its scope is only this definition or declaration, which is probably not what you want
In file included from drivers/gpu/msm/kgsl_yamato.h:33,
from drivers/gpu/msm/kgsl_drawctxt.c:26:
drivers/gpu/msm/kgsl_ringbuffer.h:183: warning: 'struct kgsl_ibdesc' declared inside parameter list
make[3]: *** [drivers/gpu/msm/kgsl_drawctxt.o] Error 1
make[2]: *** [drivers/gpu/msm] Error 2
make[2]: *** Waiting for unfinished jobs....
In file included from include/drm/drmP.h:76,
from drivers/gpu/drm/drm_auth.c:36:
include/drm/drm.h:47:24: error: sys/ioccom.h: No such file or directory
include/drm/drm.h:48:23: error: sys/types.h: No such file or directory
In file included from include/drm/drmP.h:76,
from drivers/gpu/drm/drm_auth.c:36:
include/drm/drm.h:49: error: redefinition of typedef '__s8'
include/asm-generic/int-ll64.h:19: note: previous declaration of '__s8' was here
include/drm/drm.h:50: error: redefinition of typedef '__u8'
include/asm-generic/int-ll64.h:20: note: previous declaration of '__u8' was here
include/drm/drm.h:51: error: redefinition of typedef '__s16'
include/asm-generic/int-ll64.h:22: note: previous declaration of '__s16' was here
include/drm/drm.h:52: error: redefinition of typedef '__u16'
include/asm-generic/int-ll64.h:23: note: previous declaration of '__u16' was here
include/drm/drm.h:53: error: redefinition of typedef '__s32'
include/asm-generic/int-ll64.h:25: note: previous declaration of '__s32' was here
include/drm/drm.h:54: error: redefinition of typedef '__u32'
include/asm-generic/int-ll64.h:26: note: previous declaration of '__u32' was here
include/drm/drm.h:55: error: redefinition of typedef '__s64'
include/asm-generic/int-ll64.h:29: note: previous declaration of '__s64' was here
include/drm/drm.h:56: error: redefinition of typedef '__u64'
include/asm-generic/int-ll64.h:30: note: previous declaration of '__u64' was here
make[3]: *** [drivers/gpu/drm/drm_auth.o] Error 1
make[3]: *** Waiting for unfinished jobs....
CC drivers/i2c/i2c-core.o
In file included from include/drm/drmP.h:76,
from include/drm/drm_buffer.h:38,
from drivers/gpu/drm/drm_buffer.c:35:
include/drm/drm.h:47:24: error: sys/ioccom.h: No such file or directory
include/drm/drm.h:48:23: error: sys/types.h: No such file or directory
In file included from include/drm/drmP.h:76,
from include/drm/drm_buffer.h:38,
from drivers/gpu/drm/drm_buffer.c:35:
include/drm/drm.h:49: error: redefinition of typedef '__s8'
include/asm-generic/int-ll64.h:19: note: previous declaration of '__s8' was here
include/drm/drm.h:50: error: redefinition of typedef '__u8'
include/asm-generic/int-ll64.h:20: note: previous declaration of '__u8' was here
include/drm/drm.h:51: error: redefinition of typedef '__s16'
include/asm-generic/int-ll64.h:22: note: previous declaration of '__s16' was here
include/drm/drm.h:52: error: redefinition of typedef '__u16'
include/asm-generic/int-ll64.h:23: note: previous declaration of '__u16' was here
include/drm/drm.h:53: error: redefinition of typedef '__s32'
include/asm-generic/int-ll64.h:25: note: previous declaration of '__s32' was here
include/drm/drm.h:54: error: redefinition of typedef '__u32'
include/asm-generic/int-ll64.h:26: note: previous declaration of '__u32' was here
include/drm/drm.h:55: error: redefinition of typedef '__s64'
include/asm-generic/int-ll64.h:29: note: previous declaration of '__s64' was here
include/drm/drm.h:56: error: redefinition of typedef '__u64'
include/asm-generic/int-ll64.h:30: note: previous declaration of '__u64' was here
LD lib/built-in.o
CC drivers/i2c/i2c-dev.o
CC drivers/i2c/algos/i2c-algo-bit.o
make[3]: *** [drivers/gpu/drm/drm_buffer.o] Error 1
make[2]: *** [drivers/gpu/drm] Error 2
make[1]: *** [drivers/gpu] Error 2