Closed Bug 303999 Opened 19 years ago Closed 12 years ago

error on building "pangocairo.h:66: error:", etc.

Categories

(Firefox :: General, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: maxim.britov, Unassigned)

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b4) Gecko/20050807 Firefox/1.0+
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b4) Gecko/20050807 Firefox/1.0+

c++ -o nsCairoDeviceContext.o -c -I../../../dist/include/system_wrappers
-include ../../../config/gcc_hidden.h -DXPCOM_TRANSLATE_NSGM_ENTRY_POINT=1
-DMOZILLA_INTERNAL_API -DOSTYPE=\"Linux2.6\" -DOSARCH=\"Linux\"
-DBUILD_ID=0000000000 -DMOZ_ENABLE_GTK2 -I./. -I./.. -I./../shared 
-I../../../dist/include/xpcom -I../../../dist/include/string
-I../../../dist/include/cairo -I../../../dist/include/libpixman
-I../../../dist/include/gfx -I../../../dist/include/widget
-I../../../dist/include/intl -I../../../dist/include/view
-I../../../dist/include/pref -I../../../dist/include/uconv
-I../../../dist/include/unicharutil -I../../../dist/include/locale
-I../../../dist/include/necko -I../../../dist/include/content
-I../../../dist/include/layout -I../../../dist/include/dom
-I../../../dist/include/debug -I../../../dist/include/imglib2
-I../../../dist/include/zlib -I../../../dist/include/gfx -I../../../dist/include
-I../../../dist/include/nspr    -I../../../dist/sdk/include -I/usr/X11R6/include
    -I/usr/X11R6/include -fno-rtti -fno-exceptions -Wall -Wconversion
-Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy
-Wno-non-virtual-dtor -Wno-long-long -pedantic -fshort-wchar -pthread -pipe 
-DNDEBUG -DTRIMMED -ffunction-sections -march=athlon-xp -mtune=athlon-xp -msse
-funit-at-a-time -funroll-loops -fpeel-loops -funswitch-loops -O2 -pipe
-fomit-frame-pointer -freorder-blocks -fno-reorder-functions -gstabs+ -DXTHREADS
-D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include
-I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/freetype2
-I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/freetype2/config
-I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  
-I../../../dist/include/cairo -I/usr/X11R6/include -I/usr/include/freetype2
-I/usr/include/freetype2/config    -I/usr/X11R6/include -DMOZILLA_CLIENT
-include ../../../mozilla-config.h -Wp,-MD,.deps/nsCairoDeviceContext.pp
nsCairoDeviceContext.cpp
/usr/include/pango-1.0/pango/pangocairo.h:66: error: expected ‘,’ or ‘...’
before ‘*’ token
/usr/include/pango-1.0/pango/pangocairo.h:67: error: expected initializer before
‘*’ token
nsCairoDeviceContext.cpp: In function ‘int helpful_error_handler(Display*,
XErrorEvent*)’:
nsCairoDeviceContext.cpp:125: warning: format ‘%d’ expects type ‘int’, but
argument 3 has type ‘long unsigned int’
{standard input}: Assembler messages:
{standard input}:1575: Error: Local symbol `.LTHUNK0' can't be equated to
undefined symbol `_ZN20nsCairoDeviceContext14QueryInterfaceERK4nsIDPPv'
{standard input}:1575: Error: Local symbol `.LTHUNK1' can't be equated to
undefined symbol `_ZN20nsCairoDeviceContext14QueryInterfaceERK4nsIDPPv'
{standard input}:1575: Error: Local symbol `.LTHUNK2' can't be equated to
undefined symbol `_ZN20nsCairoDeviceContext6AddRefEv'
{standard input}:1575: Error: Local symbol `.LTHUNK3' can't be equated to
undefined symbol `_ZN20nsCairoDeviceContext6AddRefEv'
{standard input}:1575: Error: Local symbol `.LTHUNK4' can't be equated to
undefined symbol `_ZN20nsCairoDeviceContext7ReleaseEv'
{standard input}:1575: Error: Local symbol `.LTHUNK5' can't be equated to
undefined symbol `_ZN20nsCairoDeviceContext7ReleaseEv'
gmake[5]: *** [nsCairoDeviceContext.o] Ошибка 1
gmake[5]: Leaving directory `/home/maxim/src/mozilla/gfx/src/cairo'
gmake[4]: *** [libs] Ошибка 2
gmake[4]: Leaving directory `/home/maxim/src/mozilla/gfx/src'
gmake[3]: *** [libs] Ошибка 2
gmake[3]: Leaving directory `/home/maxim/src/mozilla/gfx'
gmake[2]: *** [tier_9] Ошибка 2
gmake[2]: Leaving directory `/home/maxim/src/mozilla'
make[1]: *** [alldep] Ошибка 2
make[1]: Leaving directory `/home/maxim/src/mozilla'
make: *** [alldep] Ошибка 2


Reproducible: Always

Steps to Reproduce:
1.make -f client.mk
2.
3.




Fedora Core Raw Hide
xmpp: maxim@modum.by
You could try and --enable-system-svg, by default the build uses the own cairo
build and after that pulls the system wide, because of pango. If pango is
enabled the build should disable its own cairo version.
I'm compiling on OpenSUSE 10.0RC1 and they compiled pango with cairo on system.

I can use --diasable-pango in my mozconfig but I can do what I want I get the
same error message, cause the pango depends on a newer version of cairo.

So what else may help to get a functional --enable-cairo build?
Status: UNCONFIRMED → NEW
Ever confirmed: true
Although not the same errors I get the following failure when attempting to compile Firefox 1.5 RC1 in the same file: pangocairo.h

http://pastebin.com/417961

Is the compiler output.
Is this still a problem ?
Marking as INCOMPLETE as there's no info from the reporter about whether it still exists, and we don't have the environment to reproduce.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.