xinyu412 / indic-text-renderer

Automatically exported from code.google.com/p/indic-text-renderer
Other
0 stars 0 forks source link

GNU LD : visibility attribute not supported in this configuration; ignored #3

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.run ./autogen.sh
2.run ./configure
3.run make

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
Cygwin

Please provide any additional information below.

In file included from hb-uniscribe.cc:38:0:
hb-ot-name-table.hh: In static member function 'static int 
OT::NameRecord::cmp(const OT::NameRecord*, const OT::NameRecord*)':
hb-ot-name-table.hh:57:3: warning: visibility attribute not supported in this 
configuration; ignored
In file included from hb-shape-plan.h:34:0,
                 from hb-shaper-private.hh:32,
                 from hb-shaper-impl-private.hh:32,
                 from hb-uniscribe.cc:31:
hb-buffer-private.hh: In member function 'bool hb_buffer_t::ensure(unsigned 
int)':
hb-buffer-private.hh:204:63: warning: visibility attribute not supported in 
this configuration; ignored
hb-uniscribe.cc: In function 'hb_uniscribe_shaper_face_data_t* 
_hb_uniscribe_shaper_face_data_create(hb_face_t*)':
hb-uniscribe.cc:93:1: warning: visibility attribute not supported in this 
configuration; ignored
hb-uniscribe.cc: In function 'void 
_hb_uniscribe_shaper_face_data_destroy(hb_uniscribe_shaper_face_data_t*)':
hb-uniscribe.cc:100:1: warning: visibility attribute not supported in this 
configuration; ignored
hb-uniscribe.cc: In function 'void 
_hb_uniscribe_shaper_font_data_destroy(hb_uniscribe_shaper_font_data_t*)':
hb-uniscribe.cc:189:1: warning: visibility attribute not supported in this 
configuration; ignored
hb-uniscribe.cc: In function 'hb_uniscribe_shaper_font_data_t* 
_hb_uniscribe_shaper_font_data_create(hb_font_t*)':
hb-uniscribe.cc:177:1: warning: visibility attribute not supported in this 
configuration; ignored
hb-uniscribe.cc: In function 'hb_uniscribe_shaper_shape_plan_data_t* 
_hb_uniscribe_shaper_shape_plan_data_create(hb_shape_plan_t*, const 
hb_feature_t*, unsigned int)':
hb-uniscribe.cc:204:1: warning: visibility attribute not supported in this 
configuration; ignored
hb-uniscribe.cc: In function 'void 
_hb_uniscribe_shaper_shape_plan_data_destroy(hb_uniscribe_shaper_shape_plan_data
_t*)':
hb-uniscribe.cc:209:1: warning: visibility attribute not supported in this 
configuration; ignored
hb-uniscribe.cc: In function 'hb_bool_t _hb_uniscribe_shape(hb_shape_plan_t*, 
hb_font_t*, hb_buffer_t*, const hb_feature_t*, unsigned int)':
hb-uniscribe.cc:474:1: warning: visibility attribute not supported in this 
configuration; ignored
  CXX      libharfbuzz_la-hb-old.lo
In file included from ./hb-old/harfbuzz.h:36:0,
                 from hb-old.cc:32:
./hb-old/harfbuzz-shaper.h:177:28: warning: 'HB_FaceRec_' declared with greater 
visibility than the type of its field 'HB_FaceRec_::gdef'
./hb-old/harfbuzz-shaper.h:177:28: warning: 'HB_FaceRec_' declared with greater 
visibility than the type of its field 'HB_FaceRec_::buffer'
In file included from hb-shape-plan.h:34:0,
                 from hb-shaper-private.hh:32,
                 from hb-shaper-impl-private.hh:32,
                 from hb-old.cc:30:
hb-buffer-private.hh: In member function 'bool hb_buffer_t::ensure(unsigned 
int)':
hb-buffer-private.hh:204:63: warning: visibility attribute not supported in 
this configuration; ignored
hb-old.cc: In function 'HB_FaceRec_* 
_hb_old_shaper_face_data_create(hb_face_t*)':
hb-old.cc:208:1: warning: visibility attribute not supported in this 
configuration; ignored
hb-old.cc: In function 'void _hb_old_shaper_face_data_destroy(HB_FaceRec_*)':
hb-old.cc:214:1: warning: visibility attribute not supported in this 
configuration; ignored
hb-old.cc: In function 'HB_Font_* _hb_old_shaper_font_data_create(hb_font_t*)':
hb-old.cc:238:1: warning: visibility attribute not supported in this 
configuration; ignored
hb-old.cc: In function 'void _hb_old_shaper_font_data_destroy(HB_Font_*)':
hb-old.cc:244:1: warning: visibility attribute not supported in this 
configuration; ignored
hb-old.cc: In function 'hb_old_shaper_shape_plan_data_t* 
_hb_old_shaper_shape_plan_data_create(hb_shape_plan_t*, const hb_feature_t*, 
unsigned int)':
hb-old.cc:259:1: warning: visibility attribute not supported in this 
configuration; ignored
hb-old.cc: In function 'void 
_hb_old_shaper_shape_plan_data_destroy(hb_old_shaper_shape_plan_data_t*)':
hb-old.cc:264:1: warning: visibility attribute not supported in this 
configuration; ignored
hb-old.cc: In function 'hb_bool_t _hb_old_shape(hb_shape_plan_t*, hb_font_t*, 
hb_buffer_t*, const hb_feature_t*, unsigned int)':
hb-old.cc:410:1: warning: visibility attribute not supported in this 
configuration; ignored
  CXX      libharfbuzz_la-hb-icu-le.lo
In file included from hb-icu-le.cc:31:0:
hb-icu-le/PortableFontInstance.h:33:1: warning: 'PortableFontInstance' declared 
with greater visibility than the type of its field 
'PortableFontInstance::<anonymous>'
hb-icu-le/PortableFontInstance.h:33:1: warning: 'PortableFontInstance' declared 
with greater visibility than the type of its field 
'PortableFontInstance::fNAMETable'
hb-icu-le/PortableFontInstance.h:33:1: warning: 'PortableFontInstance' declared 
with greater visibility than the type of its field 
'PortableFontInstance::fCMAPMapper'
hb-icu-le/PortableFontInstance.h:33:1: warning: 'PortableFontInstance' declared 
with greater visibility than the type of its field 
'PortableFontInstance::fHMTXTable'
hb-icu-le/PortableFontInstance.h:33:1: warning: 'PortableFontInstance' declared 
with greater visibility than its base 'FontTableCache'
In file included from hb-icu-le/PortableFontInstance.h:28:0,
                 from hb-icu-le.cc:31:
hb-icu-le/cmaps.h: In destructor 'virtual CMAPMapper::~CMAPMapper()':
hb-icu-le/cmaps.h:83:1: warning: visibility attribute not supported in this 
configuration; ignored
hb-icu-le/cmaps.h: In destructor 'virtual CMAPMapper::~CMAPMapper()':
hb-icu-le/cmaps.h:83:1: warning: visibility attribute not supported in this 
configuration; ignored
In file included from hb-shape-plan.h:34:0,
                 from hb-shaper-private.hh:32,
                 from hb-shaper-impl-private.hh:32,
                 from hb-icu-le.cc:29:
hb-buffer-private.hh: In member function 'bool hb_buffer_t::ensure(unsigned 
int)':
hb-buffer-private.hh:204:63: warning: visibility attribute not supported in 
this configuration; ignored
hb-icu-le.cc: In function 'hb_icu_le_shaper_face_data_t* 
_hb_icu_le_shaper_face_data_create(hb_face_t*)':
hb-icu-le.cc:49:1: warning: visibility attribute not supported in this 
configuration; ignored
hb-icu-le.cc: In function 'void 
_hb_icu_le_shaper_face_data_destroy(hb_icu_le_shaper_face_data_t*)':
hb-icu-le.cc:54:1: warning: visibility attribute not supported in this 
configuration; ignored
hb-icu-le.cc: In function 'PortableFontInstance* 
_hb_icu_le_shaper_font_data_create(hb_font_t*)':
hb-icu-le.cc:75:1: warning: visibility attribute not supported in this 
configuration; ignored
hb-icu-le.cc: In function 'void 
_hb_icu_le_shaper_font_data_destroy(PortableFontInstance*)':
hb-icu-le.cc:81:1: warning: visibility attribute not supported in this 
configuration; ignored
hb-icu-le.cc: In function 'hb_icu_le_shaper_shape_plan_data_t* 
_hb_icu_le_shaper_shape_plan_data_create(hb_shape_plan_t*, const hb_feature_t*, 
unsigned int)':
hb-icu-le.cc:96:1: warning: visibility attribute not supported in this 
configuration; ignored
hb-icu-le.cc: In function 'void 
_hb_icu_le_shaper_shape_plan_data_destroy(hb_icu_le_shaper_shape_plan_data_t*)':
hb-icu-le.cc:101:1: warning: visibility attribute not supported in this 
configuration; ignored
hb-icu-le.cc: In function 'hb_bool_t _hb_icu_le_shape(hb_shape_plan_t*, 
hb_font_t*, hb_buffer_t*, const hb_feature_t*, unsigned int)':
hb-icu-le.cc:213:1: warning: visibility attribute not supported in this 
configuration; ignored
hb-icu-le.cc: At global scope:
hb-icu-le.cc:213:1: warning: visibility attribute not supported in this 
configuration; ignored
  CXX      libharfbuzz_la-hb-gobject-enums.lo
  GEN      libharfbuzz.la

*** Warning: This system can not link to static lib archive /usr/lib/libffi.la.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.
Creating library file: .libs/libharfbuzz.dll.a
  CXX      main-main.o
  CXXLD    main.exe
  CXX      indic-indic.o
  CXXLD    indic.exe
  CXX      test_would_substitute-test-would-substitute.o
  CXXLD    test-would-substitute.exe
make[4]: Leaving directory 
`/cygdrive/d/android-sdk-windows/android-ndk-r8b/samples/indic/jni/harfbuzz-ng/s
rc'
make[3]: Leaving directory 
`/cygdrive/d/android-sdk-windows/android-ndk-r8b/samples/indic/jni/harfbuzz-ng/s
rc'
make[2]: Leaving directory 
`/cygdrive/d/android-sdk-windows/android-ndk-r8b/samples/indic/jni/harfbuzz-ng/s
rc'
Making all in util
make[2]: Entering directory 
`/cygdrive/d/android-sdk-windows/android-ndk-r8b/samples/indic/jni/harfbuzz-ng/u
til'
  CXX      hb-view.o
In file included from main-font-text.hh:27:0,
                 from hb-view.cc:28:
options.hh: In member function ‘virtual void 
option_group_t::pre_parse(GError**)’:
options.hh:73:58: warning: visibility attribute not supported in this 
configuration; ignored
options.hh: In member function ‘virtual void 
option_group_t::post_parse(GError**)’:
options.hh:74:59: warning: visibility attribute not supported in this 
configuration; ignored
  CXX      options.o
options.cc: In member function ‘hb_font_t* font_options_t::get_font() 
const’:
options.cc:405:42: error: ‘_setmode’ was not declared in this scope
options.cc: In member function ‘FILE* output_options_t::get_file_handle()’:
options.cc:549:41: error: ‘_setmode’ was not declared in this scope
Makefile:515: recipe for target `options.o' failed
make[2]: *** [options.o] Error 1
make[2]: Leaving directory 
`/cygdrive/d/android-sdk-windows/android-ndk-r8b/samples/indic/jni/harfbuzz-ng/u
til'
Makefile:461: recipe for target `all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory 
`/cygdrive/d/android-sdk-windows/android-ndk-r8b/samples/indic/jni/harfbuzz-ng'
Makefile:369: recipe for target `all' failed
make: *** [all] Error 2

Original issue reported on code.google.com by pen.so...@gmail.com on 20 Sep 2012 at 2:50

GoogleCodeExporter commented 8 years ago
Hi, I too face these errors when building harfbuzz-ng/util . As the main 
directory, harfbuzz-ng, is already built, you can safely ignore the errors in 
harfbuzz-ng/util and proceed with the rest of the steps.

Original comment by shiv...@gmail.com on 21 Sep 2012 at 5:16

GoogleCodeExporter commented 8 years ago
Hi,
how about this error?

----------------------------------

hb-ot-shape-complex-indic.cc: In function 'void initial_reordering(const 
hb_ot_shape_plan_t*, hb_font_t*, hb_buffer_t*)':
hb-ot-shape-complex-indic.cc:861:53: error: cannot convert 'const 
hb_ot_shape_plan_t*' to 'hb_buffer_t*' for argument '1' to 'void 
find_syllables(hb_buffer_t*)'
Makefile:966: recipe for target `libharfbuzz_la-hb-ot-shape-complex-indic.lo' 
failed
make[4]: *** [libharfbuzz_la-hb-ot-shape-complex-indic.lo] Error 1
make[4]: Leaving directory 
`/cygdrive/d/android-sdk-windows/android-ndk-r8b/samples/indic/jni/harfbuzz-ng/s
rc'
Makefile:1160: recipe for target `all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory 
`/cygdrive/d/android-sdk-windows/android-ndk-r8b/samples/indic/jni/harfbuzz-ng/s
rc'
Makefile:631: recipe for target `all' failed
make[2]: *** [all] Error 2

Original comment by pen.so...@gmail.com on 21 Sep 2012 at 9:55

GoogleCodeExporter commented 8 years ago
I haven't seen that error before. Please try "make clean" before "make" and see 
if the error disappears.

Original comment by shiv...@gmail.com on 21 Sep 2012 at 4:31

GoogleCodeExporter commented 8 years ago
I have tried make clean & make , but there is another error:

options.cc: In member function ‘hb_font_t* font_options_t::get_font() 
const’:
options.cc:529:42: error: ‘_setmode’ was not declared in this scope
options.cc: In member function ‘FILE* output_options_t::get_file_handle()’:
options.cc:673:41: error: ‘_setmode’ was not declared in this scope
Makefile:515: recipe for target `options.o' failed
make[2]: *** [options.o] Error 1
make[2]: Leaving directory 
`/cygdrive/d/android-sdk-windows/android-ndk-r8b/samples/indic/jni/harfbuzz-ng/u
til'
Makefile:461: recipe for target `all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory 
`/cygdrive/d/android-sdk-windows/android-ndk-r8b/samples/indic/jni/harfbuzz-ng'
Makefile:369: recipe for target `all' failed
make: *** [all] Error 2

Original comment by pen.so...@gmail.com on 25 Sep 2012 at 2:20