Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,742,912 Members 40,011 Now Online
XDA Developers Android and Mobile Development Forum

Problems compiling PAC for nypon

Tip us?
 
MuffinIsCute
Old
(Last edited by MuffinIsCute; 29th June 2014 at 03:04 PM.)
#31  
Member - OP
Thanks Meter 42
Posts: 52
Join Date: May 2014
Location: Singapore
@Abhinav2
@skeevydude @alwaysadeel

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

Code:
Select Code
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
 
MuffinIsCute
Old
#32  
Member - OP
Thanks Meter 42
Posts: 52
Join Date: May 2014
Location: Singapore
Quote:
Originally Posted by MuffinIsCute View Post
@Abhinav2
@skeevydude @alwaysadeel

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

Code:
Select Code
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
bump @alwaysadeel @skeevydude @Abhinav2
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes