[Sony Xperia P, U, Sola, Go] MuffinIsCute:
[MENTION=4766488]Abhinav2[/MENTION]

[MENTION=4487948]skeevydude[/MENTION] [MENTION=5143053]alwaysadeel[/MENTION]

I attempted to compile pac for the xperia p, but now I ran into errors again.

target thumb C: lights.montblanc <= hardware/ste-sony/display/liblights/lights.c
hardware/ste-sony/display/libgralloc/hwmem_gralloc_framebuffer.c: In function 'fb_rotate':
hardware/ste-sony/display/libgralloc/hwmem_gralloc_framebuffer.c:359:9: warning: passing argument 1 of 'switch_uint' discards 'const' qualifier from pointer target type [enabled by default]
hardware/ste-sony/display/libgralloc/hwmem_gralloc_framebuffer.c:305:13: note: expected 'unsigned int *' but argument is of type 'const uint32_t *'
hardware/ste-sony/display/libgralloc/hwmem_gralloc_framebuffer.c:359:9: warning: passing argument 2 of 'switch_uint' discards 'const' qualifier from pointer target type [enabled by default]
hardware/ste-sony/display/libgralloc/hwmem_gralloc_framebuffer.c:305:13: note: expected 'unsigned int *' but argument is of type 'const uint32_t *'
hardware/ste-sony/display/libgralloc/hwmem_gralloc_framebuffer.c:360:9: warning: passing argument 1 of 'switch_float' discards 'const' qualifier from pointer target type [enabled by default]
hardware/ste-sony/display/libgralloc/hwmem_gralloc_framebuffer.c:312:13: note: expected 'float *' but argument is of type 'const float *'
hardware/ste-sony/display/libgralloc/hwmem_gralloc_framebuffer.c:360:9: warning: passing argument 2 of 'switch_float' discards 'const' qualifier from pointer target type [enabled by default]
hardware/ste-sony/display/libgralloc/hwmem_gralloc_framebuffer.c:312:13: note: expected 'float *' but argument is of type 'const float *'
hardware/ste-sony/display/libgralloc/hwmem_gralloc_framebuffer.c:362:9: error: assignment of read-only member 'stride'
hardware/ste-sony/display/libgralloc/hwmem_gralloc_framebuffer.c: In function 'fb_device_open':
hardware/ste-sony/display/libgralloc/hwmem_gralloc_framebuffer.c:566:20: error: 'framebuffer_device_t' has no member named 'rotate'
hardware/ste-sony/display/libgralloc/hwmem_gralloc_framebuffer.c:581:13: error: assignment of read-only member 'width'
hardware/ste-sony/display/libgralloc/hwmem_gralloc_framebuffer.c:582:13: error: assignment of read-only member 'height'
hardware/ste-sony/display/libgralloc/hwmem_gralloc_framebuffer.c:583:13: error: assignment of read-only member 'stride'
hardware/ste-sony/display/libgralloc/hwmem_gralloc_framebuffer.c:584:13: error: assignment of read-only member 'xdpi'
hardware/ste-sony/display/libgralloc/hwmem_gralloc_framebuffer.c:585:13: error: assignment of read-only member 'ydpi'
make: *** [/home/android/wololo/out/target/product/nypon/obj/SHARED_LIBRARIES/gralloc.montblanc_intermediates/hwmem_gralloc_framebuffer.o] Error 1
make: *** Waiting for unfinished jobs....
hardware/ste-sony/display/liblights/lights.c: In function 'set_light_buttons':
hardware/ste-sony/display/liblights/lights.c:123:2: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits]
hardware/ste-sony/display/liblights/lights.c: In function 'set_shared_light_locked':
hardware/ste-sony/display/liblights/lights.c:189:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
hardware/ste-sony/display/liblights/lights.c:193:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
hardware/ste-sony/display/liblights/lights.c:211:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]

/home/android/wololo/out/target/product/nypon/pac_nypon-ota-eng.android.zip doesn't exist!
Total time elapsed: 7 minutes 40 seconds