[HTC One V] doga.ozkaraca:
[MENTION=1660234]Lloir[/MENTION]

Errors because of display-legacy stuff.

target thumb C++: audio_policy.default <= hardware/libhardware_legacy/audio/AudioPolicyManagerDefault.cpp
target StaticLib: libaudiopolicy_legacy (/media/doga_ozkaraca/ddb7cb40-dcf0-4f1a-93e4-1cc10d761ea6/4.4-CyanogenMod11/out/target/product/primou/obj/STATIC_LIBRARIES/libaudiopolicy_legacy_intermediates/libaudiopolicy_legacy.a)
target thumb C++: libmemalloc <= hardware/qcom/display-legacy/libgralloc/alloc_controller.cpp
target thumb C++: libmemalloc <= hardware/qcom/display-legacy/libgralloc/pmemalloc.cpp
target thumb C++: libmemalloc <= hardware/qcom/display-legacy/libgralloc/ashmemalloc.cpp
target thumb C++: libmemalloc <= hardware/qcom/display-legacy/libgralloc/pmem_bestfit_alloc.cpp
target thumb C++: libgenlock <= hardware/qcom/display-legacy/libgenlock/genlock.cpp
hardware/qcom/display-legacy/libgralloc/pmem_bestfit_alloc.cpp: In member function 'ssize_t SimpleBestFitAllocator::alloc(size_t, uint32_t)':
hardware/qcom/display-legacy/libgralloc/pmem_bestfit_alloc.cpp:152:5: warning: unknown conversion type character 0x20 in format [-Wformat]
hardware/qcom/display-legacy/libgralloc/pmem_bestfit_alloc.cpp:152:5: warning: conversion lacks type at end of format [-Wformat]
hardware/qcom/display-legacy/libgralloc/pmem_bestfit_alloc.cpp:152:5: warning: too many arguments for format [-Wformat-extra-args]
hardware/qcom/display-legacy/libgralloc/ashmemalloc.cpp: In member function 'virtual int gralloc::AshmemAlloc::clean_buffer(void*, size_t, int, int)':
hardware/qcom/display-legacy/libgralloc/ashmemalloc.cpp:132:19: error: 'ASHMEM_CACHE_FLUSH_RANGE' was not declared in this scope
make: *** [/media/doga_ozkaraca/ddb7cb40-dcf0-4f1a-93e4-1cc10d761ea6/4.4-CyanogenMod11/out/target/product/primou/obj/SHARED_LIBRARIES/libmemalloc_intermediates/ashmemalloc.o] Error 1
make: *** Waiting for unfinished jobs....
hardware/qcom/display-legacy/libgralloc/pmemalloc.cpp: In function 'int getPmemTotalSize(int, size_t*)':
hardware/qcom/display-legacy/libgralloc/pmemalloc.cpp:51:19: error: expected primary-expression before 'unsigned'
hardware/qcom/display-legacy/libgralloc/pmemalloc.cpp:51:19: error: '_IOW' was not declared in this scope
hardware/qcom/display-legacy/libgralloc/pmemalloc.cpp: In function 'int connectPmem(int, int)':
hardware/qcom/display-legacy/libgralloc/pmemalloc.cpp:68:19: error: expected primary-expression before 'unsigned'
hardware/qcom/display-legacy/libgralloc/pmemalloc.cpp:68:19: error: '_IOW' was not declared in this scope
hardware/qcom/display-legacy/libgralloc/pmemalloc.cpp: In function 'int mapSubRegion(int, unsigned int, size_t)':
hardware/qcom/display-legacy/libgralloc/pmemalloc.cpp:75:19: error: expected primary-expression before 'unsigned'
hardware/qcom/display-legacy/libgralloc/pmemalloc.cpp:75:19: error: '_IOW' was not declared in this scope
hardware/qcom/display-legacy/libgralloc/pmemalloc.cpp: In function 'int unmapSubRegion(int, unsigned int, size_t)':
hardware/qcom/display-legacy/libgralloc/pmemalloc.cpp:82:19: error: expected primary-expression before 'unsigned'
hardware/qcom/display-legacy/libgralloc/pmemalloc.cpp:82:19: error: '_IOW' was not declared in this scope
hardware/qcom/display-legacy/libgralloc/pmemalloc.cpp: In function 'int alignPmem(int, size_t, int)':
hardware/qcom/display-legacy/libgralloc/pmemalloc.cpp:88:28: error: aggregate 'alignPmem(int, size_t, int)::pmem_allocation allocation' has incomplete type and cannot be defined
hardware/qcom/display-legacy/libgralloc/pmemalloc.cpp:91:19: error: 'PMEM_ALLOCATE_ALIGNED' was not declared in this scope
hardware/qcom/display-legacy/libgralloc/pmemalloc.cpp: In function 'int cleanPmem(void*, size_t, int, int)':
hardware/qcom/display-legacy/libgralloc/pmemalloc.cpp:97:22: error: aggregate 'cleanPmem(void*, size_t, int, int)::pmem_addr pmem_addr' has incomplete type and cannot be defined
hardware/qcom/display-legacy/libgralloc/pmemalloc.cpp:101:19: error: 'PMEM_CLEAN_INV_CACHES' was not declared in this scope
make: *** [/media/doga_ozkaraca/ddb7cb40-dcf0-4f1a-93e4-1cc10d761ea6/4.4-CyanogenMod11/out/target/product/primou/obj/SHARED_LIBRARIES/libmemalloc_intermediates/pmemalloc.o] Error 1

http://xdaforums.com/showthread.php?t=1794562&page=150

[MENTION=2688060]1ceb0x[/MENTION] LOL , same error , that day is today :D

adding #include <linux/ioctl.h> right now :D

EDIT 4 :

I included msm_kgsl and some other stuff.. problems should be gone :)

I'm testing now :)

EDIT 5 :

Display legacy problems looks like fixed.. :) it started compiling media-legacy , and dealing media-legacy include issues :)

EDIT 6 :

I must sleep now. i worked on about 7-8 hours. enough for today, device-tree is better now :) only thing left media-legacy issues.. i'm using required working sources from 4.2,4.1,4.0 device-trees,qcom hardware stuff ,vendor stuff etc and i'm fixing them when i got an error, by adding missing things or ignoring them if they are not important(only returns bla bla not working error logs etc.)(only ignored one thing for now,so it won't go wrong probably.)

I believe i can bring cm11 to our hov tomorrow,if everything goes good.

out /system folder is 300.6 mb now :) as i said only omx stuff media-legacy things left :)

and then it should boot. :)