[DEV] HeroC ICS 4.0.1 Development

Search This thread

NineInchNails

R.I.P. - We'll see you around, bud...
Jan 22, 2011
3,528
5,502
Minnesota
Code:
    <add-resource type="string" name="config_tether_upstream_regexs"></add-resource>
    <add-resource type="bool" name="config_tether_dun_required"></add-resource>

where in the .xml did you input this... I can't get past it... framework-res also errors out
 

dastin1015

Inactive Recognized Developer
Code:
    <add-resource type="string" name="config_tether_upstream_regexs"></add-resource>
    <add-resource type="bool" name="config_tether_dun_required"></add-resource>

where in the .xml did you input this... I can't get past it... framework-res also errors out

I just removed these lines from the config.xml in device/htc/heroc/overlay/frameworks/base/core/res/res/values to get past the errors:
Code:
<!-- Regex array of allowable upstream ifaces for tethering - for example if you want
         tethering on a new interface called "foo2" add <item>"foo\\d"</item> to the array -->
    <string-array translatable="false" name="config_tether_upstream_regexs">
        <item>"rmnet\\d"</item>
        <item>"tiwlan\\d"</item>
    </string-array>

    <!-- Boolean indicating if we require the use of DUN on mobile for tethering -->
    <bool translatable="false" name="config_tether_dun_required">false</bool>


I'm currently stuck with this error:
Code:
host C++: obbtool <= frameworks/base/tools/obbtool/Main.cpp
<command-line>:0:0: error: "_FORTIFY_SOURCE" redefined [-Werror]
<built-in>:0:0: note: this is the location of the previous definition
cc1plus: all warnings being treated as errors

make: *** [out/host/linux-x86/obj/EXECUTABLES/obbtool_intermediates/Main.o] Error 1
 

jaybob413

Retired Recognized Developer
Dec 31, 2007
825
2,637
Code:
    <add-resource type="string" name="config_tether_upstream_regexs"></add-resource>
    <add-resource type="bool" name="config_tether_dun_required"></add-resource>

where in the .xml did you input this... I can't get past it... framework-res also errors out

I would just remove the offending lines from the overlay files. No need to add resources back in that are not used. The primary reason for overlays is to modify the default values, strings, images, etc. for a particular build component. If they are no longer used by the component, there is no benefit in adding them. Some of these may no longer be used, others may be specific to CM mods.
 

jaybob413

Retired Recognized Developer
Dec 31, 2007
825
2,637
I'm currently stuck with this error:
Code:
host C++: obbtool <= frameworks/base/tools/obbtool/Main.cpp
<command-line>:0:0: error: "_FORTIFY_SOURCE" redefined [-Werror]
<built-in>:0:0: note: this is the location of the previous definition
cc1plus: all warnings being treated as errors

make: *** [out/host/linux-x86/obj/EXECUTABLES/obbtool_intermediates/Main.o] Error 1

Try the recommendation in this link
 
  • Like
Reactions: dastin1015

dastin1015

Inactive Recognized Developer
Never saw this before...

Code:
host C++: llvm-rs-cc <= frameworks/compile/slang/llvm-rs-cc.cpp
host C++: llvm-rs-cc <= frameworks/compile/slang/slang_rs.cpp
host C++: llvm-rs-cc <= frameworks/compile/slang/slang_rs_ast_replace.cpp
host C++: llvm-rs-cc <= frameworks/compile/slang/slang_rs_context.cpp
host C++: llvm-rs-cc <= frameworks/compile/slang/slang_rs_pragma_handler.cpp
host C++: llvm-rs-cc <= frameworks/compile/slang/slang_rs_backend.cpp
host C++: llvm-rs-cc <= frameworks/compile/slang/slang_rs_exportable.cpp
host C++: llvm-rs-cc <= frameworks/compile/slang/slang_rs_export_type.cpp
host C++: llvm-rs-cc <= frameworks/compile/slang/slang_rs_export_element.cpp
host C++: llvm-rs-cc <= frameworks/compile/slang/slang_rs_export_var.cpp
host C++: llvm-rs-cc <= frameworks/compile/slang/slang_rs_export_func.cpp
host C++: llvm-rs-cc <= frameworks/compile/slang/slang_rs_export_foreach.cpp
frameworks/compile/slang/slang_rs_export_foreach.cpp: In static member function ‘static slang::RSExportForEach* slang::RSExportForEach::Create(slang::RSContext*, const clang::FunctionDecl*)’:
frameworks/compile/slang/slang_rs_export_foreach.cpp:247:23: error: variable ‘ParamName’ set but not used [-Werror=unused-but-set-variable]
cc1plus: all warnings being treated as errors

make: *** [out/host/linux-x86/obj/EXECUTABLES/llvm-rs-cc_intermediates/slang_rs_export_foreach.o] Error 1
 

Shelnutt2

Inactive Recognized Developer
Mar 8, 2010
857
1,915
Never saw this before...

Code:
host C++: llvm-rs-cc <= frameworks/compile/slang/llvm-rs-cc.cpp
host C++: llvm-rs-cc <= frameworks/compile/slang/slang_rs.cpp
host C++: llvm-rs-cc <= frameworks/compile/slang/slang_rs_ast_replace.cpp
host C++: llvm-rs-cc <= frameworks/compile/slang/slang_rs_context.cpp
host C++: llvm-rs-cc <= frameworks/compile/slang/slang_rs_pragma_handler.cpp
host C++: llvm-rs-cc <= frameworks/compile/slang/slang_rs_backend.cpp
host C++: llvm-rs-cc <= frameworks/compile/slang/slang_rs_exportable.cpp
host C++: llvm-rs-cc <= frameworks/compile/slang/slang_rs_export_type.cpp
host C++: llvm-rs-cc <= frameworks/compile/slang/slang_rs_export_element.cpp
host C++: llvm-rs-cc <= frameworks/compile/slang/slang_rs_export_var.cpp
host C++: llvm-rs-cc <= frameworks/compile/slang/slang_rs_export_func.cpp
host C++: llvm-rs-cc <= frameworks/compile/slang/slang_rs_export_foreach.cpp
frameworks/compile/slang/slang_rs_export_foreach.cpp: In static member function ‘static slang::RSExportForEach* slang::RSExportForEach::Create(slang::RSContext*, const clang::FunctionDecl*)’:
frameworks/compile/slang/slang_rs_export_foreach.cpp:247:23: error: variable ‘ParamName’ set but not used [-Werror=unused-but-set-variable]
cc1plus: all warnings being treated as errors

make: *** [out/host/linux-x86/obj/EXECUTABLES/llvm-rs-cc_intermediates/slang_rs_export_foreach.o] Error 1

What gcc are you using? Why is the -Werror flag being thrown? If you remove the ParamName does it pass? You might want to see why the -Werror flag is being thrown also, I think everyone's build would fail with that. I know I get loads of warnings.
 

dastin1015

Inactive Recognized Developer
What gcc are you using? Why is the -Werror flag being thrown? If you remove the ParamName does it pass? You might want to see why the -Werror flag is being thrown also, I think everyone's build would fail with that. I know I get loads of warnings.

I'm currently trying after commenting out the line. gcc version 4.6.1.

Edit: Currently compiling. So far so good after changing this line in slang_rs_export_foreach.cpp in frameworks/compile/slang:
Code:
llvm::StringRef ParamName = PVD->getName();
to:
Code:
//llvm::StringRef ParamName = PVD->getName();
 
Last edited:

NineInchNails

R.I.P. - We'll see you around, bud...
Jan 22, 2011
3,528
5,502
Minnesota
I would just remove the offending lines from the overlay files. No need to add resources back in that are not used. The primary reason for overlays is to modify the default values, strings, images, etc. for a particular build component. If they are no longer used by the component, there is no benefit in adding them. Some of these may no longer be used, others may be specific to CM mods.

lmao I've run out of thanks already. That makes sense. Thank you again Jaybob.

:) compiling finally

lol you weren't lying about the warnings
 
Last edited:

dastin1015

Inactive Recognized Developer
So after compiling for a long time I ran into more errors and my lack of knowledge has me stumped.

Code:
target thumb C++: copybit.msm7k <= hardware/msm7k/libcopybit/copybit.cpp
hardware/msm7k/libcopybit/copybit.cpp:35:30: error: hardware/copybit.h: No such file or directory
hardware/msm7k/libcopybit/copybit.cpp:57: error: field 'device' has incomplete type
hardware/msm7k/libcopybit/copybit.cpp:77: error: variable 'copybit_module_t HMI' has initializer but incomplete type
hardware/msm7k/libcopybit/copybit.cpp:82: error: 'COPYBIT_HARDWARE_MODULE_ID' was not declared in this scope
hardware/msm7k/libcopybit/copybit.cpp: In function 'void intersect(copybit_rect_t*, const copybit_rect_t*, const copybit_rect_t*)':
hardware/msm7k/libcopybit/copybit.cpp:113: error: invalid use of incomplete type 'struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:110: error: forward declaration of 'struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:113: error: invalid use of incomplete type 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:110: error: forward declaration of 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:113: error: invalid use of incomplete type 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:110: error: forward declaration of 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:114: error: invalid use of incomplete type 'struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:110: error: forward declaration of 'struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:114: error: invalid use of incomplete type 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:110: error: forward declaration of 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:114: error: invalid use of incomplete type 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:110: error: forward declaration of 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:115: error: invalid use of incomplete type 'struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:110: error: forward declaration of 'struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:115: error: invalid use of incomplete type 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:110: error: forward declaration of 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:115: error: invalid use of incomplete type 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:110: error: forward declaration of 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:116: error: invalid use of incomplete type 'struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:110: error: forward declaration of 'struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:116: error: invalid use of incomplete type 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:110: error: forward declaration of 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:116: error: invalid use of incomplete type 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:110: error: forward declaration of 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp: In function 'int get_format(int)':
hardware/msm7k/libcopybit/copybit.cpp:122: error: 'COPYBIT_FORMAT_RGB_565' was not declared in this scope
hardware/msm7k/libcopybit/copybit.cpp:123: error: 'COPYBIT_FORMAT_RGBX_8888' was not declared in this scope
hardware/msm7k/libcopybit/copybit.cpp:124: error: 'COPYBIT_FORMAT_RGB_888' was not declared in this scope
hardware/msm7k/libcopybit/copybit.cpp:125: error: 'COPYBIT_FORMAT_RGBA_8888' was not declared in this scope
hardware/msm7k/libcopybit/copybit.cpp:126: error: 'COPYBIT_FORMAT_BGRA_8888' was not declared in this scope
hardware/msm7k/libcopybit/copybit.cpp:127: error: 'COPYBIT_FORMAT_YCrCb_420_SP' was not declared in this scope
hardware/msm7k/libcopybit/copybit.cpp:128: error: 'COPYBIT_FORMAT_YCbCr_422_SP' was not declared in this scope
hardware/msm7k/libcopybit/copybit.cpp: In function 'void set_image(mdp_img*, const copybit_image_t*)':
hardware/msm7k/libcopybit/copybit.cpp:136: error: invalid use of incomplete type 'const struct copybit_image_t'
hardware/msm7k/libcopybit/copybit.cpp:134: error: forward declaration of 'const struct copybit_image_t'
hardware/msm7k/libcopybit/copybit.cpp:137: error: invalid use of incomplete type 'const struct copybit_image_t'
hardware/msm7k/libcopybit/copybit.cpp:134: error: forward declaration of 'const struct copybit_image_t'
hardware/msm7k/libcopybit/copybit.cpp:138: error: invalid use of incomplete type 'const struct copybit_image_t'
hardware/msm7k/libcopybit/copybit.cpp:134: error: forward declaration of 'const struct copybit_image_t'
hardware/msm7k/libcopybit/copybit.cpp:139: error: invalid use of incomplete type 'const struct copybit_image_t'
hardware/msm7k/libcopybit/copybit.cpp:134: error: forward declaration of 'const struct copybit_image_t'
hardware/msm7k/libcopybit/copybit.cpp: In function 'void set_rects(copybit_context_t*, mdp_blit_req*, const copybit_rect_t*, const copybit_rect_t*, const copybit_rect_t*)':
hardware/msm7k/libcopybit/copybit.cpp:162: error: aggregate 'copybit_rect_t clip' has incomplete type and cannot be defined
hardware/msm7k/libcopybit/copybit.cpp:171: error: 'COPYBIT_TRANSFORM_ROT_90' was not declared in this scope
hardware/msm7k/libcopybit/copybit.cpp:172: error: invalid use of incomplete type 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:110: error: forward declaration of 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:172: error: invalid use of incomplete type 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:110: error: forward declaration of 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:173: error: invalid use of incomplete type 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:110: error: forward declaration of 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:173: error: invalid use of incomplete type 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:110: error: forward declaration of 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:176: error: invalid use of incomplete type 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:110: error: forward declaration of 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:176: error: invalid use of incomplete type 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:110: error: forward declaration of 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:177: error: invalid use of incomplete type 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:110: error: forward declaration of 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:177: error: invalid use of incomplete type 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:110: error: forward declaration of 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:179: error: invalid use of incomplete type 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:110: error: forward declaration of 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:179: error: invalid use of incomplete type 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:110: error: forward declaration of 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:180: error: invalid use of incomplete type 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:110: error: forward declaration of 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:180: error: invalid use of incomplete type 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:110: error: forward declaration of 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:183: error: invalid use of incomplete type 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:110: error: forward declaration of 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:183: error: invalid use of incomplete type 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:110: error: forward declaration of 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:184: error: invalid use of incomplete type 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:110: error: forward declaration of 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:184: error: invalid use of incomplete type 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:110: error: forward declaration of 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:186: error: invalid use of incomplete type 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:110: error: forward declaration of 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:186: error: invalid use of incomplete type 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:110: error: forward declaration of 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:187: error: invalid use of incomplete type 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:110: error: forward declaration of 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:187: error: invalid use of incomplete type 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:110: error: forward declaration of 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:188: error: 'COPYBIT_TRANSFORM_FLIP_V' was not declared in this scope
hardware/msm7k/libcopybit/copybit.cpp:191: error: 'COPYBIT_TRANSFORM_FLIP_H' was not declared in this scope
hardware/msm7k/libcopybit/copybit.cpp: In function 'int msm_copybit(copybit_context_t*, const void*)':
hardware/msm7k/libcopybit/copybit.cpp:214: warning: comparison between signed and unsigned integer expressions
hardware/msm7k/libcopybit/copybit.cpp:215: warning: format '%08lx' expects type 'long unsigned int', but argument 19 has type 'unsigned int'
hardware/msm7k/libcopybit/copybit.cpp: In function 'int set_parameter_copybit(copybit_device_t*, int, int)':
hardware/msm7k/libcopybit/copybit.cpp:254: error: 'COPYBIT_ROTATION_DEG' was not declared in this scope
hardware/msm7k/libcopybit/copybit.cpp:277: error: 'COPYBIT_PLANE_ALPHA' was not declared in this scope
hardware/msm7k/libcopybit/copybit.cpp:282: error: 'COPYBIT_DITHER' was not declared in this scope
hardware/msm7k/libcopybit/copybit.cpp:283: error: 'COPYBIT_ENABLE' was not declared in this scope
hardware/msm7k/libcopybit/copybit.cpp:285: error: 'COPYBIT_DISABLE' was not declared in this scope
hardware/msm7k/libcopybit/copybit.cpp:289: error: 'COPYBIT_BLUR' was not declared in this scope
hardware/msm7k/libcopybit/copybit.cpp:290: error: 'COPYBIT_ENABLE' was not declared in this scope
hardware/msm7k/libcopybit/copybit.cpp:292: error: 'COPYBIT_DISABLE' was not declared in this scope
hardware/msm7k/libcopybit/copybit.cpp:296: error: 'COPYBIT_TRANSFORM' was not declared in this scope
hardware/msm7k/libcopybit/copybit.cpp: In function 'int get(copybit_device_t*, int)':
hardware/msm7k/libcopybit/copybit.cpp:317: error: 'COPYBIT_MINIFICATION_LIMIT' was not declared in this scope
hardware/msm7k/libcopybit/copybit.cpp:320: error: 'COPYBIT_MAGNIFICATION_LIMIT' was not declared in this scope
hardware/msm7k/libcopybit/copybit.cpp:323: error: 'COPYBIT_SCALING_FRAC_BITS' was not declared in this scope
hardware/msm7k/libcopybit/copybit.cpp:326: error: 'COPYBIT_ROTATION_STEP_DEG' was not declared in this scope
hardware/msm7k/libcopybit/copybit.cpp: In function 'int stretch_copybit(copybit_device_t*, const copybit_image_t*, const copybit_image_t*, const copybit_rect_t*, const copybit_rect_t*, const copybit_region_t*)':
hardware/msm7k/libcopybit/copybit.cpp:356: error: invalid use of incomplete type 'const struct copybit_image_t'
hardware/msm7k/libcopybit/copybit.cpp:134: error: forward declaration of 'const struct copybit_image_t'
hardware/msm7k/libcopybit/copybit.cpp:358: error: 'COPYBIT_FORMAT_RGBA_8888' was not declared in this scope
hardware/msm7k/libcopybit/copybit.cpp:359: error: 'COPYBIT_FORMAT_BGRA_8888' was not declared in this scope
hardware/msm7k/libcopybit/copybit.cpp:360: error: 'COPYBIT_FORMAT_RGBA_5551' was not declared in this scope
hardware/msm7k/libcopybit/copybit.cpp:361: error: 'COPYBIT_FORMAT_RGBA_4444' was not declared in this scope
hardware/msm7k/libcopybit/copybit.cpp:366: error: invalid use of incomplete type 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:110: error: forward declaration of 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:366: error: invalid use of incomplete type 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:110: error: forward declaration of 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:366: error: invalid use of incomplete type 'const struct copybit_image_t'
hardware/msm7k/libcopybit/copybit.cpp:134: error: forward declaration of 'const struct copybit_image_t'
hardware/msm7k/libcopybit/copybit.cpp:367: error: invalid use of incomplete type 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:110: error: forward declaration of 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:367: error: invalid use of incomplete type 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:110: error: forward declaration of 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:367: error: invalid use of incomplete type 'const struct copybit_image_t'
hardware/msm7k/libcopybit/copybit.cpp:134: error: forward declaration of 'const struct copybit_image_t'
hardware/msm7k/libcopybit/copybit.cpp:372: error: invalid use of incomplete type 'const struct copybit_image_t'
hardware/msm7k/libcopybit/copybit.cpp:134: error: forward declaration of 'const struct copybit_image_t'
hardware/msm7k/libcopybit/copybit.cpp:372: error: invalid use of incomplete type 'const struct copybit_image_t'
hardware/msm7k/libcopybit/copybit.cpp:134: error: forward declaration of 'const struct copybit_image_t'
hardware/msm7k/libcopybit/copybit.cpp:375: error: invalid use of incomplete type 'const struct copybit_image_t'
hardware/msm7k/libcopybit/copybit.cpp:134: error: forward declaration of 'const struct copybit_image_t'
hardware/msm7k/libcopybit/copybit.cpp:375: error: invalid use of incomplete type 'const struct copybit_image_t'
hardware/msm7k/libcopybit/copybit.cpp:134: error: forward declaration of 'const struct copybit_image_t'
hardware/msm7k/libcopybit/copybit.cpp:379: error: variable 'const copybit_rect_t bounds' has initializer but incomplete type
hardware/msm7k/libcopybit/copybit.cpp:379: error: invalid use of incomplete type 'const struct copybit_image_t'
hardware/msm7k/libcopybit/copybit.cpp:134: error: forward declaration of 'const struct copybit_image_t'
hardware/msm7k/libcopybit/copybit.cpp:379: error: invalid use of incomplete type 'const struct copybit_image_t'
hardware/msm7k/libcopybit/copybit.cpp:134: error: forward declaration of 'const struct copybit_image_t'
hardware/msm7k/libcopybit/copybit.cpp:380: error: aggregate 'copybit_rect_t clip' has incomplete type and cannot be defined
hardware/msm7k/libcopybit/copybit.cpp:383: error: invalid use of incomplete type 'const struct copybit_region_t'
hardware/msm7k/libcopybit/copybit.cpp:345: error: forward declaration of 'const struct copybit_region_t'
hardware/msm7k/libcopybit/copybit.cpp: In function 'int blit_copybit(copybit_device_t*, const copybit_image_t*, const copybit_image_t*, const copybit_region_t*)':
hardware/msm7k/libcopybit/copybit.cpp:418: error: variable 'copybit_rect_t dr' has initializer but incomplete type
hardware/msm7k/libcopybit/copybit.cpp:418: error: invalid use of incomplete type 'const struct copybit_image_t'
hardware/msm7k/libcopybit/copybit.cpp:134: error: forward declaration of 'const struct copybit_image_t'
hardware/msm7k/libcopybit/copybit.cpp:418: error: invalid use of incomplete type 'const struct copybit_image_t'
hardware/msm7k/libcopybit/copybit.cpp:134: error: forward declaration of 'const struct copybit_image_t'
hardware/msm7k/libcopybit/copybit.cpp:419: error: variable 'copybit_rect_t sr' has initializer but incomplete type
hardware/msm7k/libcopybit/copybit.cpp:419: error: invalid use of incomplete type 'const struct copybit_image_t'
hardware/msm7k/libcopybit/copybit.cpp:134: error: forward declaration of 'const struct copybit_image_t'
hardware/msm7k/libcopybit/copybit.cpp:419: error: invalid use of incomplete type 'const struct copybit_image_t'
hardware/msm7k/libcopybit/copybit.cpp:134: error: forward declaration of 'const struct copybit_image_t'
hardware/msm7k/libcopybit/copybit.cpp: In function 'int open_copybit(const hw_module_t*, const char*, hw_device_t**)':
hardware/msm7k/libcopybit/copybit.cpp:445: error: 'struct copybit_context_t' has no member named 'device'
hardware/msm7k/libcopybit/copybit.cpp:446: error: 'struct copybit_context_t' has no member named 'device'
hardware/msm7k/libcopybit/copybit.cpp:447: error: 'struct copybit_context_t' has no member named 'device'
hardware/msm7k/libcopybit/copybit.cpp:448: error: 'struct copybit_context_t' has no member named 'device'
hardware/msm7k/libcopybit/copybit.cpp:449: error: 'struct copybit_context_t' has no member named 'device'
hardware/msm7k/libcopybit/copybit.cpp:450: error: 'struct copybit_context_t' has no member named 'device'
hardware/msm7k/libcopybit/copybit.cpp:451: error: 'struct copybit_context_t' has no member named 'device'
hardware/msm7k/libcopybit/copybit.cpp:452: error: 'struct copybit_context_t' has no member named 'device'
hardware/msm7k/libcopybit/copybit.cpp:479: error: 'struct copybit_context_t' has no member named 'device'
hardware/msm7k/libcopybit/copybit.cpp:481: error: 'struct copybit_context_t' has no member named 'device'
make: *** [out/target/product/heroc/obj/SHARED_LIBRARIES/copybit.msm7k_intermediates/copybit.o] Error 1
 

Shelnutt2

Inactive Recognized Developer
Mar 8, 2010
857
1,915
So after compiling for a long time I ran into more errors and my lack of knowledge has me stumped.

Code:
target thumb C++: copybit.msm7k <= hardware/msm7k/libcopybit/copybit.cpp
hardware/msm7k/libcopybit/copybit.cpp:35:30: error: hardware/copybit.h: No such file or directory
hardware/msm7k/libcopybit/copybit.cpp:57: error: field 'device' has incomplete type
hardware/msm7k/libcopybit/copybit.cpp:77: error: variable 'copybit_module_t HMI' has initializer but incomplete type
hardware/msm7k/libcopybit/copybit.cpp:82: error: 'COPYBIT_HARDWARE_MODULE_ID' was not declared in this scope
hardware/msm7k/libcopybit/copybit.cpp: In function 'void intersect(copybit_rect_t*, const copybit_rect_t*, const copybit_rect_t*)':
hardware/msm7k/libcopybit/copybit.cpp:113: error: invalid use of incomplete type 'struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:110: error: forward declaration of 'struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:113: error: invalid use of incomplete type 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:110: error: forward declaration of 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:113: error: invalid use of incomplete type 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:110: error: forward declaration of 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:114: error: invalid use of incomplete type 'struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:110: error: forward declaration of 'struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:114: error: invalid use of incomplete type 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:110: error: forward declaration of 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:114: error: invalid use of incomplete type 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:110: error: forward declaration of 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:115: error: invalid use of incomplete type 'struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:110: error: forward declaration of 'struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:115: error: invalid use of incomplete type 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:110: error: forward declaration of 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:115: error: invalid use of incomplete type 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:110: error: forward declaration of 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:116: error: invalid use of incomplete type 'struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:110: error: forward declaration of 'struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:116: error: invalid use of incomplete type 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:110: error: forward declaration of 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:116: error: invalid use of incomplete type 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:110: error: forward declaration of 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp: In function 'int get_format(int)':
hardware/msm7k/libcopybit/copybit.cpp:122: error: 'COPYBIT_FORMAT_RGB_565' was not declared in this scope
hardware/msm7k/libcopybit/copybit.cpp:123: error: 'COPYBIT_FORMAT_RGBX_8888' was not declared in this scope
hardware/msm7k/libcopybit/copybit.cpp:124: error: 'COPYBIT_FORMAT_RGB_888' was not declared in this scope
hardware/msm7k/libcopybit/copybit.cpp:125: error: 'COPYBIT_FORMAT_RGBA_8888' was not declared in this scope
hardware/msm7k/libcopybit/copybit.cpp:126: error: 'COPYBIT_FORMAT_BGRA_8888' was not declared in this scope
hardware/msm7k/libcopybit/copybit.cpp:127: error: 'COPYBIT_FORMAT_YCrCb_420_SP' was not declared in this scope
hardware/msm7k/libcopybit/copybit.cpp:128: error: 'COPYBIT_FORMAT_YCbCr_422_SP' was not declared in this scope
hardware/msm7k/libcopybit/copybit.cpp: In function 'void set_image(mdp_img*, const copybit_image_t*)':
hardware/msm7k/libcopybit/copybit.cpp:136: error: invalid use of incomplete type 'const struct copybit_image_t'
hardware/msm7k/libcopybit/copybit.cpp:134: error: forward declaration of 'const struct copybit_image_t'
hardware/msm7k/libcopybit/copybit.cpp:137: error: invalid use of incomplete type 'const struct copybit_image_t'
hardware/msm7k/libcopybit/copybit.cpp:134: error: forward declaration of 'const struct copybit_image_t'
hardware/msm7k/libcopybit/copybit.cpp:138: error: invalid use of incomplete type 'const struct copybit_image_t'
hardware/msm7k/libcopybit/copybit.cpp:134: error: forward declaration of 'const struct copybit_image_t'
hardware/msm7k/libcopybit/copybit.cpp:139: error: invalid use of incomplete type 'const struct copybit_image_t'
hardware/msm7k/libcopybit/copybit.cpp:134: error: forward declaration of 'const struct copybit_image_t'
hardware/msm7k/libcopybit/copybit.cpp: In function 'void set_rects(copybit_context_t*, mdp_blit_req*, const copybit_rect_t*, const copybit_rect_t*, const copybit_rect_t*)':
hardware/msm7k/libcopybit/copybit.cpp:162: error: aggregate 'copybit_rect_t clip' has incomplete type and cannot be defined
hardware/msm7k/libcopybit/copybit.cpp:171: error: 'COPYBIT_TRANSFORM_ROT_90' was not declared in this scope
hardware/msm7k/libcopybit/copybit.cpp:172: error: invalid use of incomplete type 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:110: error: forward declaration of 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:172: error: invalid use of incomplete type 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:110: error: forward declaration of 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:173: error: invalid use of incomplete type 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:110: error: forward declaration of 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:173: error: invalid use of incomplete type 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:110: error: forward declaration of 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:176: error: invalid use of incomplete type 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:110: error: forward declaration of 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:176: error: invalid use of incomplete type 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:110: error: forward declaration of 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:177: error: invalid use of incomplete type 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:110: error: forward declaration of 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:177: error: invalid use of incomplete type 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:110: error: forward declaration of 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:179: error: invalid use of incomplete type 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:110: error: forward declaration of 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:179: error: invalid use of incomplete type 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:110: error: forward declaration of 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:180: error: invalid use of incomplete type 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:110: error: forward declaration of 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:180: error: invalid use of incomplete type 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:110: error: forward declaration of 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:183: error: invalid use of incomplete type 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:110: error: forward declaration of 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:183: error: invalid use of incomplete type 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:110: error: forward declaration of 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:184: error: invalid use of incomplete type 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:110: error: forward declaration of 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:184: error: invalid use of incomplete type 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:110: error: forward declaration of 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:186: error: invalid use of incomplete type 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:110: error: forward declaration of 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:186: error: invalid use of incomplete type 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:110: error: forward declaration of 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:187: error: invalid use of incomplete type 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:110: error: forward declaration of 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:187: error: invalid use of incomplete type 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:110: error: forward declaration of 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:188: error: 'COPYBIT_TRANSFORM_FLIP_V' was not declared in this scope
hardware/msm7k/libcopybit/copybit.cpp:191: error: 'COPYBIT_TRANSFORM_FLIP_H' was not declared in this scope
hardware/msm7k/libcopybit/copybit.cpp: In function 'int msm_copybit(copybit_context_t*, const void*)':
hardware/msm7k/libcopybit/copybit.cpp:214: warning: comparison between signed and unsigned integer expressions
hardware/msm7k/libcopybit/copybit.cpp:215: warning: format '%08lx' expects type 'long unsigned int', but argument 19 has type 'unsigned int'
hardware/msm7k/libcopybit/copybit.cpp: In function 'int set_parameter_copybit(copybit_device_t*, int, int)':
hardware/msm7k/libcopybit/copybit.cpp:254: error: 'COPYBIT_ROTATION_DEG' was not declared in this scope
hardware/msm7k/libcopybit/copybit.cpp:277: error: 'COPYBIT_PLANE_ALPHA' was not declared in this scope
hardware/msm7k/libcopybit/copybit.cpp:282: error: 'COPYBIT_DITHER' was not declared in this scope
hardware/msm7k/libcopybit/copybit.cpp:283: error: 'COPYBIT_ENABLE' was not declared in this scope
hardware/msm7k/libcopybit/copybit.cpp:285: error: 'COPYBIT_DISABLE' was not declared in this scope
hardware/msm7k/libcopybit/copybit.cpp:289: error: 'COPYBIT_BLUR' was not declared in this scope
hardware/msm7k/libcopybit/copybit.cpp:290: error: 'COPYBIT_ENABLE' was not declared in this scope
hardware/msm7k/libcopybit/copybit.cpp:292: error: 'COPYBIT_DISABLE' was not declared in this scope
hardware/msm7k/libcopybit/copybit.cpp:296: error: 'COPYBIT_TRANSFORM' was not declared in this scope
hardware/msm7k/libcopybit/copybit.cpp: In function 'int get(copybit_device_t*, int)':
hardware/msm7k/libcopybit/copybit.cpp:317: error: 'COPYBIT_MINIFICATION_LIMIT' was not declared in this scope
hardware/msm7k/libcopybit/copybit.cpp:320: error: 'COPYBIT_MAGNIFICATION_LIMIT' was not declared in this scope
hardware/msm7k/libcopybit/copybit.cpp:323: error: 'COPYBIT_SCALING_FRAC_BITS' was not declared in this scope
hardware/msm7k/libcopybit/copybit.cpp:326: error: 'COPYBIT_ROTATION_STEP_DEG' was not declared in this scope
hardware/msm7k/libcopybit/copybit.cpp: In function 'int stretch_copybit(copybit_device_t*, const copybit_image_t*, const copybit_image_t*, const copybit_rect_t*, const copybit_rect_t*, const copybit_region_t*)':
hardware/msm7k/libcopybit/copybit.cpp:356: error: invalid use of incomplete type 'const struct copybit_image_t'
hardware/msm7k/libcopybit/copybit.cpp:134: error: forward declaration of 'const struct copybit_image_t'
hardware/msm7k/libcopybit/copybit.cpp:358: error: 'COPYBIT_FORMAT_RGBA_8888' was not declared in this scope
hardware/msm7k/libcopybit/copybit.cpp:359: error: 'COPYBIT_FORMAT_BGRA_8888' was not declared in this scope
hardware/msm7k/libcopybit/copybit.cpp:360: error: 'COPYBIT_FORMAT_RGBA_5551' was not declared in this scope
hardware/msm7k/libcopybit/copybit.cpp:361: error: 'COPYBIT_FORMAT_RGBA_4444' was not declared in this scope
hardware/msm7k/libcopybit/copybit.cpp:366: error: invalid use of incomplete type 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:110: error: forward declaration of 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:366: error: invalid use of incomplete type 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:110: error: forward declaration of 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:366: error: invalid use of incomplete type 'const struct copybit_image_t'
hardware/msm7k/libcopybit/copybit.cpp:134: error: forward declaration of 'const struct copybit_image_t'
hardware/msm7k/libcopybit/copybit.cpp:367: error: invalid use of incomplete type 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:110: error: forward declaration of 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:367: error: invalid use of incomplete type 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:110: error: forward declaration of 'const struct copybit_rect_t'
hardware/msm7k/libcopybit/copybit.cpp:367: error: invalid use of incomplete type 'const struct copybit_image_t'
hardware/msm7k/libcopybit/copybit.cpp:134: error: forward declaration of 'const struct copybit_image_t'
hardware/msm7k/libcopybit/copybit.cpp:372: error: invalid use of incomplete type 'const struct copybit_image_t'
hardware/msm7k/libcopybit/copybit.cpp:134: error: forward declaration of 'const struct copybit_image_t'
hardware/msm7k/libcopybit/copybit.cpp:372: error: invalid use of incomplete type 'const struct copybit_image_t'
hardware/msm7k/libcopybit/copybit.cpp:134: error: forward declaration of 'const struct copybit_image_t'
hardware/msm7k/libcopybit/copybit.cpp:375: error: invalid use of incomplete type 'const struct copybit_image_t'
hardware/msm7k/libcopybit/copybit.cpp:134: error: forward declaration of 'const struct copybit_image_t'
hardware/msm7k/libcopybit/copybit.cpp:375: error: invalid use of incomplete type 'const struct copybit_image_t'
hardware/msm7k/libcopybit/copybit.cpp:134: error: forward declaration of 'const struct copybit_image_t'
hardware/msm7k/libcopybit/copybit.cpp:379: error: variable 'const copybit_rect_t bounds' has initializer but incomplete type
hardware/msm7k/libcopybit/copybit.cpp:379: error: invalid use of incomplete type 'const struct copybit_image_t'
hardware/msm7k/libcopybit/copybit.cpp:134: error: forward declaration of 'const struct copybit_image_t'
hardware/msm7k/libcopybit/copybit.cpp:379: error: invalid use of incomplete type 'const struct copybit_image_t'
hardware/msm7k/libcopybit/copybit.cpp:134: error: forward declaration of 'const struct copybit_image_t'
hardware/msm7k/libcopybit/copybit.cpp:380: error: aggregate 'copybit_rect_t clip' has incomplete type and cannot be defined
hardware/msm7k/libcopybit/copybit.cpp:383: error: invalid use of incomplete type 'const struct copybit_region_t'
hardware/msm7k/libcopybit/copybit.cpp:345: error: forward declaration of 'const struct copybit_region_t'
hardware/msm7k/libcopybit/copybit.cpp: In function 'int blit_copybit(copybit_device_t*, const copybit_image_t*, const copybit_image_t*, const copybit_region_t*)':
hardware/msm7k/libcopybit/copybit.cpp:418: error: variable 'copybit_rect_t dr' has initializer but incomplete type
hardware/msm7k/libcopybit/copybit.cpp:418: error: invalid use of incomplete type 'const struct copybit_image_t'
hardware/msm7k/libcopybit/copybit.cpp:134: error: forward declaration of 'const struct copybit_image_t'
hardware/msm7k/libcopybit/copybit.cpp:418: error: invalid use of incomplete type 'const struct copybit_image_t'
hardware/msm7k/libcopybit/copybit.cpp:134: error: forward declaration of 'const struct copybit_image_t'
hardware/msm7k/libcopybit/copybit.cpp:419: error: variable 'copybit_rect_t sr' has initializer but incomplete type
hardware/msm7k/libcopybit/copybit.cpp:419: error: invalid use of incomplete type 'const struct copybit_image_t'
hardware/msm7k/libcopybit/copybit.cpp:134: error: forward declaration of 'const struct copybit_image_t'
hardware/msm7k/libcopybit/copybit.cpp:419: error: invalid use of incomplete type 'const struct copybit_image_t'
hardware/msm7k/libcopybit/copybit.cpp:134: error: forward declaration of 'const struct copybit_image_t'
hardware/msm7k/libcopybit/copybit.cpp: In function 'int open_copybit(const hw_module_t*, const char*, hw_device_t**)':
hardware/msm7k/libcopybit/copybit.cpp:445: error: 'struct copybit_context_t' has no member named 'device'
hardware/msm7k/libcopybit/copybit.cpp:446: error: 'struct copybit_context_t' has no member named 'device'
hardware/msm7k/libcopybit/copybit.cpp:447: error: 'struct copybit_context_t' has no member named 'device'
hardware/msm7k/libcopybit/copybit.cpp:448: error: 'struct copybit_context_t' has no member named 'device'
hardware/msm7k/libcopybit/copybit.cpp:449: error: 'struct copybit_context_t' has no member named 'device'
hardware/msm7k/libcopybit/copybit.cpp:450: error: 'struct copybit_context_t' has no member named 'device'
hardware/msm7k/libcopybit/copybit.cpp:451: error: 'struct copybit_context_t' has no member named 'device'
hardware/msm7k/libcopybit/copybit.cpp:452: error: 'struct copybit_context_t' has no member named 'device'
hardware/msm7k/libcopybit/copybit.cpp:479: error: 'struct copybit_context_t' has no member named 'device'
hardware/msm7k/libcopybit/copybit.cpp:481: error: 'struct copybit_context_t' has no member named 'device'
make: *** [out/target/product/heroc/obj/SHARED_LIBRARIES/copybit.msm7k_intermediates/copybit.o] Error 1

You need to copy copybit.h to hardware/libhardware/include/hardware/ . You can get copybit.h from the cm7 repos.
 

NineInchNails

R.I.P. - We'll see you around, bud...
Jan 22, 2011
3,528
5,502
Minnesota
Post my errors if I get them or maybe perhaps the same.. Still running atm

Code:
device/htc/heroc/overlay/packages/providers/ContactsProvider/res/values/unrestricted_packages.xml:33: error: Resource at unrestricted_packages appears in overlay but not in the base package; use <add-resource> to add.
make: *** [out/target/common/obj/APPS/ContactsProvider_intermediates/src/R.stamp] Error 1

think I understand this one. I could just remove it? the .xml that is since it says its in the base package and not the overlay
 
Last edited:

Shelnutt2

Inactive Recognized Developer
Mar 8, 2010
857
1,915
Post my errors if I get them or maybe perhaps the same.. Still running atm

Code:
device/htc/heroc/overlay/packages/providers/ContactsProvider/res/values/unrestricted_packages.xml:33: error: Resource at unrestricted_packages appears in overlay but not in the base package; use <add-resource> to add.
make: *** [out/target/common/obj/APPS/ContactsProvider_intermediates/src/R.stamp] Error 1

think I understand this one. I could just remove it?

Yep just remove it and your fine (or you can add the resources and see, thats what I'm doing, just to see if it helps with anything in the end).

Jaybob is a lot further than me, but I'm working on the cyanogen_heroc build and hoping maybe we can get some of the stuff working. We shall see.
 
  • Like
Reactions: NineInchNails

NineInchNails

R.I.P. - We'll see you around, bud...
Jan 22, 2011
3,528
5,502
Minnesota
Yep just remove it and your fine (or you can add the resources and see, thats what I'm doing, just to see if it helps with anything in the end).

Jaybob is a lot further than me, but I'm working on the cyanogen_heroc build and hoping maybe we can get some of the stuff working. We shall see.

Doing sort of the same. Mostly from jb's git. Great advise from all of you. This is why I love xda

also I'm doing make clobber at each attempt if that helps anyone or if you haven't done it and forgot to
 
Last edited:

dastin1015

Inactive Recognized Developer
You need to copy copybit.h to hardware/libhardware/include/hardware/ . You can get copybit.h from the cm7 repos.

Thank you! My lack of sleep probably isn't helping me. Lol. At least I have a strawberry smoothie and mozzarella sticks. :)

Doing sort of the same. Mostly from jb's git. Great advise from all of you. This is why I love xda

also I'm doing make clobber at each attempt if that helps anyone or if you haven't done it and forgot to

How it should be. A community helping each other and sharing their knowledge pool :)

And you reminded me ;)
 
Last edited:

NineInchNails

R.I.P. - We'll see you around, bud...
Jan 22, 2011
3,528
5,502
Minnesota
Thank you! My lack of sleep probably isn't helping me. Lol. At least I have a strawberry smoothie and mozzarella sticks. :)



How it should be. A community helping each other and sharing their knowledge pool :)

And you reminded me ;)

I'm right there with ya... Between trying to get that wwe release going (abandoned) the last 2 weeks, work, getting kids to school and playing with source the past 3 days is really catching up.. but hey its all worth it in my bloodshot eyes...

also I keep seeing libpng warning a lot which I think is one of JB's issues with display
 
Last edited:

dastin1015

Inactive Recognized Developer
I'm right there with ya... Between trying to get that wwe release going (abandoned) the last 2 weeks, work, getting kids to school and playing with source the past 3 days is really catching up.. but hey its all worth it in my bloodshot eyes...

Well tomorrow is my day for class sign up for the winter quarter. I'm selecting Intro to Programming: Java, 2D Foundation Art, and Precalculus ( I took Precalculus Honors in high school and passed with an A , but still have to :/ ) And I just found out I have 24 college credits transferred from high school, so that's an equivalent of approximately 1 and a half quarters worth right there which is about half a school term. :D Hahaha if I had bloodshot eyes people would think I'm high and not tired because I'm an 18 year old college student. xD

So far so good for compiling. I'll edit if errors pop up.
 

NineInchNails

R.I.P. - We'll see you around, bud...
Jan 22, 2011
3,528
5,502
Minnesota
Well tomorrow is my day for class sign up for the winter quarter. I'm selecting Intro to Programming: Java, 2D Foundation Art, and Precalculus ( I took Precalculus Honors in high school and passed with an A , but still have to :/ ) And I just found out I have 24 college credits transferred from high school, so that's an equivalent of approximately 1 and a half quarters worth right there which is about half a school term. :D Hahaha if I had bloodshot eyes people would think I'm high and not tired because I'm an 18 year old college student. xD

So far so good for compiling. I'll edit if errors pop up.


damn I thought i got all my resource errors out of the way... still more work to do

Display is working fine with the removal of /system/lib/hw/gralloc.msm7k.so

Grrrr damn overlay problems.. should've listened
 
Last edited:

Shelnutt2

Inactive Recognized Developer
Mar 8, 2010
857
1,915
I'm getting qualcomm camera errors now. But the interesting thing is the functions are suppose to come from a camera.h header. I'm thinking maybe I need to import a header or rebuild CameraParameters with a different header. Although I can't find a reference to "qcamera/common/camera.h" on the web.

I'll attack it all again in the morning.

Code:
device/htc/heroc/libcamera/QualcommCameraHardware.cpp:328: error: 'AUTO_EXPOSURE_FRAME_AVG' is not a member of 'android::CameraParameters'
device/htc/heroc/libcamera/QualcommCameraHardware.cpp:329: error: 'AUTO_EXPOSURE_CENTER_WEIGHTED' is not a member of 'android::CameraParameters'
device/htc/heroc/libcamera/QualcommCameraHardware.cpp:330: error: 'AUTO_EXPOSURE_SPOT_METERING' is not a member of 'android::CameraParameters'
device/htc/heroc/libcamera/QualcommCameraHardware.cpp:587: error: 'ISO_AUTO' is not a member of 'android::CameraParameters'
device/htc/heroc/libcamera/QualcommCameraHardware.cpp:588: error: 'ISO_HJR' is not a member of 'android::CameraParameters'
device/htc/heroc/libcamera/QualcommCameraHardware.cpp:589: error: 'ISO_100' is not a member of 'android::CameraParameters'
device/htc/heroc/libcamera/QualcommCameraHardware.cpp:590: error: 'ISO_200' is not a member of 'android::CameraParameters'
device/htc/heroc/libcamera/QualcommCameraHardware.cpp:591: error: 'ISO_400' is not a member of 'android::CameraParameters'
device/htc/heroc/libcamera/QualcommCameraHardware.cpp:592: error: 'ISO_800' is not a member of 'android::CameraParameters'
device/htc/heroc/libcamera/QualcommCameraHardware.cpp:605: error: 'LENSSHADE_ENABLE' is not a member of 'android::CameraParameters'
device/htc/heroc/libcamera/QualcommCameraHardware.cpp:606: error: 'LENSSHADE_DISABLE' is not a member of 'android::CameraParameters'
device/htc/heroc/libcamera/QualcommCameraHardware.h: In constructor 'android::QualcommCameraHardware::QualcommCameraHardware()':
device/htc/heroc/libcamera/QualcommCameraHardware.h:712: warning: 'android::QualcommCameraHardware::mCallbackCookie' will be initialized after
device/htc/heroc/libcamera/QualcommCameraHardware.h:698: warning:   'bool android::QualcommCameraHardware::mInitialized'
device/htc/heroc/libcamera/QualcommCameraHardware.cpp:865: warning:   when initialized here
device/htc/heroc/libcamera/QualcommCameraHardware.cpp: In member function 'void android::QualcommCameraHardware::filterPreviewSizes()':
device/htc/heroc/libcamera/QualcommCameraHardware.cpp:944: warning: comparison between signed and unsigned integer expressions
device/htc/heroc/libcamera/QualcommCameraHardware.cpp: In member function 'void android::QualcommCameraHardware::initDefaultParameters()':
device/htc/heroc/libcamera/QualcommCameraHardware.cpp:1063: error: 'KEY_AUTO_EXPOSURE' is not a member of 'android::CameraParameters'
device/htc/heroc/libcamera/QualcommCameraHardware.cpp:1064: error: 'AUTO_EXPOSURE_FRAME_AVG' is not a member of 'android::CameraParameters'
device/htc/heroc/libcamera/QualcommCameraHardware.cpp:1078: error: 'KEY_SUPPORTED_AUTO_EXPOSURE' is not a member of 'android::CameraParameters'
device/htc/heroc/libcamera/QualcommCameraHardware.cpp:1095: error: 'KEY_MAX_CONTRAST' is not a member of 'android::CameraParameters'
device/htc/heroc/libcamera/QualcommCameraHardware.cpp:1096: error: 'KEY_CONTRAST' is not a member of 'android::CameraParameters'
device/htc/heroc/libcamera/QualcommCameraHardware.cpp:1098: error: 'KEY_MAX_SATURATION' is not a member of 'android::CameraParameters'
device/htc/heroc/libcamera/QualcommCameraHardware.cpp:1099: error: 'KEY_SATURATION' is not a member of 'android::CameraParameters'
device/htc/heroc/libcamera/QualcommCameraHardware.cpp:1101: error: 'KEY_MAX_SHARPNESS' is not a member of 'android::CameraParameters'
device/htc/heroc/libcamera/QualcommCameraHardware.cpp:1102: error: 'KEY_SHARPNESS' is not a member of 'android::CameraParameters'
device/htc/heroc/libcamera/QualcommCameraHardware.cpp:1124: error: 'KEY_ISO_MODE' is not a member of 'android::CameraParameters'
device/htc/heroc/libcamera/QualcommCameraHardware.cpp:1125: error: 'ISO_AUTO' is not a member of 'android::CameraParameters'
device/htc/heroc/libcamera/QualcommCameraHardware.cpp:1126: error: 'KEY_LENSSHADE' is not a member of 'android::CameraParameters'
device/htc/heroc/libcamera/QualcommCameraHardware.cpp:1127: error: 'LENSSHADE_ENABLE' is not a member of 'android::CameraParameters'
device/htc/heroc/libcamera/QualcommCameraHardware.cpp:1128: error: 'KEY_SUPPORTED_ISO_MODES' is not a member of 'android::CameraParameters'
device/htc/heroc/libcamera/QualcommCameraHardware.cpp:1138: error: 'KEY_SUPPORTED_LENSSHADE_MODES' is not a member of 'android::CameraParameters'
device/htc/heroc/libcamera/QualcommCameraHardware.cpp: In member function 'void android::QualcommCameraHardware::setGpsParameters()':
device/htc/heroc/libcamera/QualcommCameraHardware.cpp:1782: error: 'KEY_GPS_LATITUDE_REF' is not a member of 'android::CameraParameters'
device/htc/heroc/libcamera/QualcommCameraHardware.cpp:1799: error: 'KEY_GPS_LONGITUDE_REF' is not a member of 'android::CameraParameters'
device/htc/heroc/libcamera/QualcommCameraHardware.cpp:1819: error: 'KEY_GPS_ALTITUDE_REF' is not a member of 'android::CameraParameters'
device/htc/heroc/libcamera/QualcommCameraHardware.cpp: In member function 'android::status_t android::QualcommCameraHardware::setAutoExposure(const android::CameraParameters&)':
device/htc/heroc/libcamera/QualcommCameraHardware.cpp:4104: error: 'KEY_AUTO_EXPOSURE' is not a member of 'android::CameraParameters'
device/htc/heroc/libcamera/QualcommCameraHardware.cpp:4108: error: 'KEY_AUTO_EXPOSURE' is not a member of 'android::CameraParameters'
device/htc/heroc/libcamera/QualcommCameraHardware.cpp: In member function 'android::status_t android::QualcommCameraHardware::setSharpness(const android::CameraParameters&)':
device/htc/heroc/libcamera/QualcommCameraHardware.cpp:4124: error: 'KEY_SHARPNESS' is not a member of 'android::CameraParameters'
device/htc/heroc/libcamera/QualcommCameraHardware.cpp:4130: error: 'KEY_SHARPNESS' is not a member of 'android::CameraParameters'
device/htc/heroc/libcamera/QualcommCameraHardware.cpp: In member function 'android::status_t android::QualcommCameraHardware::setContrast(const android::CameraParameters&)':
device/htc/heroc/libcamera/QualcommCameraHardware.cpp:4142: error: 'KEY_CONTRAST' is not a member of 'android::CameraParameters'
device/htc/heroc/libcamera/QualcommCameraHardware.cpp:4148: error: 'KEY_CONTRAST' is not a member of 'android::CameraParameters'
device/htc/heroc/libcamera/QualcommCameraHardware.cpp: In member function 'android::status_t android::QualcommCameraHardware::setSaturation(const android::CameraParameters&)':
device/htc/heroc/libcamera/QualcommCameraHardware.cpp:4166: error: 'KEY_SATURATION' is not a member of 'android::CameraParameters'
device/htc/heroc/libcamera/QualcommCameraHardware.cpp:4172: error: 'KEY_SATURATION' is not a member of 'android::CameraParameters'
device/htc/heroc/libcamera/QualcommCameraHardware.cpp: In member function 'android::status_t android::QualcommCameraHardware::setISOValue(const android::CameraParameters&)':
device/htc/heroc/libcamera/QualcommCameraHardware.cpp:4322: error: 'KEY_ISO_MODE' is not a member of 'android::CameraParameters'
device/htc/heroc/libcamera/QualcommCameraHardware.cpp:4342: error: 'KEY_ISO_MODE' is not a member of 'android::CameraParameters'
device/htc/heroc/libcamera/QualcommCameraHardware.cpp: In member function 'android::status_t android::QualcommCameraHardware::setGpsLocation(const android::CameraParameters&)':
device/htc/heroc/libcamera/QualcommCameraHardware.cpp:4359: error: 'KEY_GPS_LATITUDE_REF' is not a member of 'android::CameraParameters'
device/htc/heroc/libcamera/QualcommCameraHardware.cpp:4361: error: 'KEY_GPS_LATITUDE_REF' is not a member of 'android::CameraParameters'
device/htc/heroc/libcamera/QualcommCameraHardware.cpp:4369: error: 'KEY_GPS_LONGITUDE_REF' is not a member of 'android::CameraParameters'
device/htc/heroc/libcamera/QualcommCameraHardware.cpp:4371: error: 'KEY_GPS_LONGITUDE_REF' is not a member of 'android::CameraParameters'
device/htc/heroc/libcamera/QualcommCameraHardware.cpp:4374: error: 'KEY_GPS_ALTITUDE_REF' is not a member of 'android::CameraParameters'
device/htc/heroc/libcamera/QualcommCameraHardware.cpp:4376: error: 'KEY_GPS_ALTITUDE_REF' is not a member of 'android::CameraParameters'
device/htc/heroc/libcamera/QualcommCameraHardware.cpp:4384: error: 'KEY_GPS_STATUS' is not a member of 'android::CameraParameters'
device/htc/heroc/libcamera/QualcommCameraHardware.cpp:4386: error: 'KEY_GPS_STATUS' is not a member of 'android::CameraParameters'
device/htc/heroc/libcamera/QualcommCameraHardware.cpp:4389: error: 'KEY_EXIF_DATETIME' is not a member of 'android::CameraParameters'
device/htc/heroc/libcamera/QualcommCameraHardware.cpp:4391: error: 'KEY_EXIF_DATETIME' is not a member of 'android::CameraParameters'
device/htc/heroc/libcamera/QualcommCameraHardware.cpp: In member function 'void android::QualcommCameraHardware::receive_camframetimeout()':
device/htc/heroc/libcamera/QualcommCameraHardware.cpp:4849: error: 'CAMERA_ERROR_UKNOWN' was not declared in this scope
device/htc/heroc/libcamera/QualcommCameraHardware.cpp: In member function 'bool android::QualcommCameraHardware::isValidDimension(int, int)':
device/htc/heroc/libcamera/QualcommCameraHardware.cpp:4893: warning: comparison between signed and unsigned integer expressions
device/htc/heroc/libcamera/QualcommCameraHardware.cpp:4893: warning: comparison between signed and unsigned integer expressions
device/htc/heroc/libcamera/QualcommCameraHardware.cpp:4898: warning: comparison between signed and unsigned integer expressions
make: *** [out/target/product/heroc/obj/SHARED_LIBRARIES/libcamera_intermediates/QualcommCameraHardware.o] Error 1
make: *** Waiting for unfinished jobs....
external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/MessageFormatTest.java:768: warning: non-varargs call of varargs method with inexact argument type for last parameter;
cast to java.lang.Object for a varargs call
cast to java.lang.Object[] for a non-varargs call and to suppress this warning
        assertEquals("nullABC", MessageFormat.format("{0}{1}", new String[]{null, "ABC"}));
                                                               ^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
5 warnings
 

tufeijoe

Senior Member
Jan 12, 2011
51
12
Well, although not porting HTC one, but seems I had seen those issues same last night and solved. But the ****ing ICS has already compiled 20 hours without finishing thanks to my computer bought 5~6 years ago.
When it can be finished, now comes to libwebcore....
 

Top Liked Posts

  • There are no posts matching your filters.
  • 20
    Re-purposing this thread for those who are engaged in porting ICS 4.0.1 to HeroC.

    Please try to keep this thread clean and restrict posts to topics relevant to getting ICS ported to the HeroC. It will make it much easier to focus on the effort at hand if we can refrain from the usual "When will it be done"; "Yay!"; "I know this isn't the right place"; "10char / +1" and "Me too!" posts.

    If you have a burning need to express your joy, dismay, ambivalence or random thoughts, consider sending a PM, which I will make a best effort attempt to respond to within 180 days, time and weather permitting.
    9
    Audio Driver Update

    We now have updated audio drivers based on the original GB msm7k drivers, with mods gleaned from the ICS qcom/media drivers for the msm7x27a and msm7x30. This will be appearing soon in the next build posted in the ROM thread. For those of you who are building along, just pull the latest commit (or the entire repo) from the TeamICS android_hardware_qcom_media repo, and build audio.primary.heroc and audio_policy.heroc from your device tree make file instead of the .msm7k equivalents (Use eris or hero instead of heroc for those devices). After the update, it looks like the crashing, rotating outputs, and failure to play have been resolved.
    6
    Status update on the camera...

    I currently have it to the point where you can take pictures but the preview is blank and I haven't figured out how to get it to display yet. The actual pictures and zoom seem to be working fine though.

    Along with using the libcamera compiled from gingerbread and the CAF patch for libcamera_client that jaybob talked about, i'm also using the MemoryHeapBase patch from here:
    http://xdaforums.com/showthread.php?t=1448303

    If interested, the logcat I'm getting currently:
    http://logcat.miui.us/579001
    6
    Radio Progress

    Radio for phone is working both making and receiving calls. Just a hack atm, but definitely moving in the right direction. After some sleep, then cleanup, on to data.
    6
    I'm having the same trouble.

    Getting a whole lot of:
    Code:
    frameworks/base/libs/gui/SurfaceTexture.cpp:860: error: isGPUSupportedFormat' was not declared in this scope

    And similar. I never got 4.0.3 to compile actually. Any clues?

    i am in the process of reviewing my build tree in order to update github to match the latest build. it currently builds 4.0.3 with no issues. will try to get it done in the next few days.