[HarfBuzz] QT embedded 4.5.0 compilation error
Simon Hausmann
simon.hausmann at trolltech.com
Mon Mar 30 09:18:56 PDT 2009
On Wednesday 25 March 2009 Mohod, Prashant, wrote:
>
> Hi,
>
> I downloaded qt-embedded-linux-opensource-src-4.5.0 and configure it by
> giving following command:
>
> ./configure -embedded arm -little-endian
>
>
>
> It configured well but when I gave 'gmake' command it gives following error:
>
>
>
> /opt/buildroot-v23434_06mar09/build_arm/staging_dir/usr/bin/arm-linux-uclibc
> gnueabi-g++ -c -include .pch/release-shared-emb-arm/QtCore -pipe
> -fno-exceptions -O2 -fvisibility=hidden -Wall -W -D_REENTRANT -fPIC
> -DQT_SHARED -DQT_BUILD_CORE_LIB -DQT_NO_USING_NAMESPACE
> -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT
> -DHB_EXPORT=Q_CORE_EXPORT -DQT_NO_DEBUG -D_LARGEFILE64_SOURCE
> -D_LARGEFILE_SOURCE -I../../mkspecs/qws/linux-arm-g++ -I. -I../../include
> -I../../include/QtCore -I.rcc/release-shared-emb-arm -Iconcurrent -Iglobal
> -I../3rdparty/harfbuzz/src -I.moc/release-shared-emb-arm
> -I.uic/release-shared-emb-arm -o
> .obj/release-shared-emb-arm/harfbuzz-buffer.o
> ../3rdparty/harfbuzz/src/harfbuzz-buffer.c
>
> ../3rdparty/harfbuzz/src/harfbuzz-buffer.c: In function HB_Error
> hb_buffer_ensure(HB_BufferRec_*, HB_UInt):
>
> ../3rdparty/harfbuzz/src/harfbuzz-buffer.c:77: error: invalid conversion
> from void* to HB_PositionRec_*
>
> ../3rdparty/harfbuzz/src/harfbuzz-buffer.c:81: error: invalid conversion
> from void* to HB_GlyphItemRec_*
>
> ../3rdparty/harfbuzz/src/harfbuzz-buffer.c:86: error: invalid conversion
> from void* to HB_GlyphItemRec_*
>
> ../3rdparty/harfbuzz/src/harfbuzz-buffer.c:97: error: invalid conversion
> from void* to HB_GlyphItemRec_*
>
> ../3rdparty/harfbuzz/src/harfbuzz-buffer.c: In function HB_Error
> hb_buffer_duplicate_out_buffer(HB_BufferRec_*):
>
> ../3rdparty/harfbuzz/src/harfbuzz-buffer.c:115: error: invalid conversion
> from void* to HB_GlyphItemRec_*
>
> ../3rdparty/harfbuzz/src/harfbuzz-buffer.c: In function HB_Error
> hb_buffer_new(HB_BufferRec_**):
>
> ../3rdparty/harfbuzz/src/harfbuzz-buffer.c:134: error: invalid conversion
> from void* to HB_BufferRec_*
>
> ../3rdparty/harfbuzz/src/harfbuzz-buffer.c: In function HB_Error
> _hb_buffer_clear_positions(HB_BufferRec_*):
>
> ../3rdparty/harfbuzz/src/harfbuzz-buffer.c:215: error: invalid conversion
> from void* to HB_PositionRec_*
>
> gmake[1]: *** [.obj/release-shared-emb-arm/harfbuzz-buffer.o] Error 1
>
> gmake[1]: Leaving directory
> `/home/prashant/qt-embedded-linux-opensource-src-4.5.0/src/corelib'
>
> gmake: *** [sub-corelib-make_default-ordered] Error 2
>
> Can you please help me in solving this error.
You're trying to compile a .c file with a C++ compiler. That doesn't work :)
Could it be that you have a CC environment variable set to the C++ compiler
instead of to the C compiler?
Simon
More information about the HarfBuzz
mailing list