mozilla, vte and... gnome

Yoav Avitzour avitzour at princeton.edu
Thu Feb 27 10:02:19 GMT 2003


Hi,

A few questions. For a while now, I cannot compile vte and mozilla-gtk2
on one of my machines. It is an Athlon-Tbird box, and everything else
works great. After reading about the optimization problems with mozilla,
I tried compiling with various optimizations, including none, but it did
not help. I was able originally to compile these, so I have
mozilla-gtk2-1.3a and an older version of vte working. 
I was also able to compile them on another p4 machine which has
basically the same configuration of packages, so I have no idea what is
going on here. The compilation logs are below...
Another thing - and this is probably not the place to ask this, but
since I'm already here - does anybody know how to set the default mailer
in gnome2.2???

Thanks,  

Yoav

compilation log for vte (versions 0.10.20, 0.10.22, 0.10.25 all give
same error):


gcc -DHAVE_CONFIG_H -O3 -mcpu=athlon-tbird -march=athlon-tbird -m3dnow
-Wno-deprecated -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
-I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2
-I -c buffer.c -MT buffer.lo -MD -MP -MF .deps/buffer.TPlo  -fPIC -DPIC
-o .libs/buffer.lo
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/../../../crt1.o: In function
`_start':
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/../../../crt1.o(.text+0x18):
undefined reference to `main'
/tmp/ccpLr6Z6.o: In function `_vte_buffer_new':
/tmp/ccpLr6Z6.o(.text+0x1c): undefined reference to `g_malloc'
/tmp/ccpLr6Z6.o: In function `_vte_buffer_set_minimum_size':
/tmp/ccpLr6Z6.o(.text+0xd5): undefined reference to `g_malloc'
/tmp/ccpLr6Z6.o(.text+0xed): undefined reference to `g_free'
/tmp/ccpLr6Z6.o: In function `_vte_buffer_prepend':
/tmp/ccpLr6Z6.o(.text+0x1a3): undefined reference to `g_malloc'
/tmp/ccpLr6Z6.o(.text+0x1bb): undefined reference to `g_free'
/tmp/ccpLr6Z6.o: In function `_vte_buffer_append':
/tmp/ccpLr6Z6.o(.text+0x25e): undefined reference to `g_malloc'
/tmp/ccpLr6Z6.o(.text+0x276): undefined reference to `g_free'
/tmp/ccpLr6Z6.o: In function `_vte_buffer_free':
/tmp/ccpLr6Z6.o(.text+0x380): undefined reference to `g_free'
/tmp/ccpLr6Z6.o(.text+0x388): undefined reference to `g_free'
/tmp/ccpLr6Z6.o: In function `_vte_buffer_peek_gstring':
/tmp/ccpLr6Z6.o(.text+0x5f3): undefined reference to `g_string_new_len'
/tmp/ccpLr6Z6.o: In function `_vte_buffer_check':
/tmp/ccpLr6Z6.o(.text+0x845): undefined reference to `g_log'
/tmp/ccpLr6Z6.o(.text+0x88b): undefined reference to `g_log'
/tmp/ccpLr6Z6.o(.text+0x8d7): undefined reference to `g_log'
collect2: ld returned 1 exit status
make[2]: *** [buffer.lo] Error 1
make[2]: Leaving directory `/usr/src/vte-0.10.25/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/vte-0.10.25'
make: *** [all] Error 2


compilation log for mozilla-gtk2:

c++ -o nsDeviceContextGTK.o -c -DOSTYPE=\"Linux2.4\" -DOSARCH=\"Linux\"
-DOJI -D_BSD_SOURCE -DUSE_POSTSCRIPT -DUSE_XPRINT -DUSE_MOZILLA_TYPES
-DMOZ_ENABLE_FREETYPE2 -I./. -I./.. -I./../shared -I./../freetype
-I./../x11shared -I/usr/X11R6/include -I/usr/include/freetype2 -I   
-I../../../dist/include/xpcom -I../../../dist/include/string
-I../../../dist/include/widget -I../../../dist/include/view
-I../../../dist/include/util -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/imglib2 -I../../../dist/include/gfx
-I../../../dist/include -I/usr/src/mozilla/dist/include/nspr     
-I/usr/include/freetype2    -fPIC   -fno-rtti -fno-exceptions -Wall
-Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth
-Wno-ctor-dtor-privacy -Wno-long-long -O3 -mcpu=athlon-tbird
-march=athlon-tbird -m3dnow -Wno-deprecated -fshort-wchar -pthread
-pipe  -DNDEBUG -DTRIMMED -ffunction-sections  -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
-I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include     -DMOZILLA_CLIENT
-include ../../../mozilla-config.h -Wp,-MD,.deps/nsDeviceContextGTK.pp
nsDeviceContextGTK.cpp
In file included from nsDeviceContextGTK.cpp:44:
../../../dist/include/pref/nsIPref.h:10:25: nsISupports.h: No such file
or directory
In file included from ../../../dist/include/pref/nsIPref.h:14,
                 from nsDeviceContextGTK.cpp:44:
../../../dist/include/pref/nsIPrefService.h:10:25: nsISupports.h: No
such file or directory
In file included from ../../../dist/include/pref/nsIPrefService.h:14,
                 from ../../../dist/include/pref/nsIPref.h:14,
                 from nsDeviceContextGTK.cpp:44:
../../../dist/include/pref/nsIPrefBranch.h:10:25: nsISupports.h: No such
file or directory
In file included from ../../../dist/include/pref/nsIPrefService.h:14,
                 from ../../../dist/include/pref/nsIPref.h:14,
                 from nsDeviceContextGTK.cpp:44:
../../../dist/include/pref/nsIPrefBranch.h:42: parse error before `{'
token
../../../dist/include/pref/nsIPrefBranch.h:65: parse error before `*'
token
../../../dist/include/pref/nsIPrefBranch.h:76: parse error before `char'
../../../dist/include/pref/nsIPrefBranch.h:88: parse error before `char'
../../../dist/include/pref/nsIPrefBranch.h:102: parse error before
`char'
../../../dist/include/pref/nsIPrefBranch.h:114: parse error before
`char'
../../../dist/include/pref/nsIPrefBranch.h:128: parse error before
`char'
../../../dist/include/pref/nsIPrefBranch.h:140: parse error before
`char'
../../../dist/include/pref/nsIPrefBranch.h:154: parse error before
`char'
../../../dist/include/pref/nsIPrefBranch.h:177: parse error before
`char'
../../../dist/include/pref/nsIPrefBranch.h:200: parse error before
`char'
../../../dist/include/pref/nsIPrefBranch.h:216: parse error before
`char'
../../../dist/include/pref/nsIPrefBranch.h:235: parse error before
`char'
../../../dist/include/pref/nsIPrefBranch.h:251: parse error before
`char'
../../../dist/include/pref/nsIPrefBranch.h:270: parse error before
`char'
../../../dist/include/pref/nsIPrefBranch.h:289: parse error before
`char'
../../../dist/include/pref/nsIPrefBranch.h:306: parse error before
`char'
../../../dist/include/pref/nsIPrefBranch.h:326: parse error before
`char'
../../../dist/include/pref/nsIPrefBranch.h:344: parse error before
`char'
In file included from ../../../dist/include/pref/nsIPref.h:14,
                 from nsDeviceContextGTK.cpp:44:
../../../dist/include/pref/nsIPrefService.h:42: parse error before `{'
token
../../../dist/include/pref/nsIPrefService.h:72: parse error before `)'
token
../../../dist/include/pref/nsIPrefService.h:81: parse error before `)'
token
../../../dist/include/pref/nsIPrefService.h:99: parse error before `*'
token
../../../dist/include/pref/nsIPrefService.h:120: parse error before
`char'
../../../dist/include/pref/nsIPrefService.h:146: parse error before
`char'
In file included from nsDeviceContextGTK.cpp:44:
../../../dist/include/pref/nsIPref.h:56: parse error before `{' token
../../../dist/include/pref/nsIPref.h:65: parse error before `)' token
../../../dist/include/pref/nsIPref.h:68: parse error before `)' token
../../../dist/include/pref/nsIPref.h:71: parse error before `*' token
../../../dist/include/pref/nsIPref.h:74: parse error before `char'
../../../dist/include/pref/nsIPref.h:77: parse error before `char'
../../../dist/include/pref/nsIPref.h:100: parse error before `*' token
../../../dist/include/pref/nsIPref.h:103: parse error before `char'
../../../dist/include/pref/nsIPref.h:106: parse error before `char'
../../../dist/include/pref/nsIPref.h:109: parse error before `char'
../../../dist/include/pref/nsIPref.h:112: parse error before `char'
../../../dist/include/pref/nsIPref.h:115: parse error before `char'
../../../dist/include/pref/nsIPref.h:118: parse error before `char'
../../../dist/include/pref/nsIPref.h:121: parse error before `char'
../../../dist/include/pref/nsIPref.h:124: parse error before `char'
../../../dist/include/pref/nsIPref.h:127: parse error before `char'
../../../dist/include/pref/nsIPref.h:130: parse error before `char'
../../../dist/include/pref/nsIPref.h:133: parse error before `char'
../../../dist/include/pref/nsIPref.h:136: parse error before `char'
../../../dist/include/pref/nsIPref.h:139: parse error before `char'
../../../dist/include/pref/nsIPref.h:142: parse error before `char'
../../../dist/include/pref/nsIPref.h:145: parse error before `char'
../../../dist/include/pref/nsIPref.h:148: parse error before `char'
../../../dist/include/pref/nsIPref.h:151: parse error before `char'
../../../dist/include/pref/nsIPref.h:154: parse error before `char'
../../../dist/include/pref/nsIPref.h:157: parse error before `char'
../../../dist/include/pref/nsIPref.h:160: parse error before `char'
../../../dist/include/pref/nsIPref.h:163: parse error before `char'
../../../dist/include/pref/nsIPref.h:166: parse error before `char'
../../../dist/include/pref/nsIPref.h:169: parse error before `char'
../../../dist/include/pref/nsIPref.h:172: parse error before `char'
../../../dist/include/pref/nsIPref.h:175: parse error before `char'
../../../dist/include/pref/nsIPref.h:178: parse error before `char'
../../../dist/include/pref/nsIPref.h:181: parse error before `char'
../../../dist/include/pref/nsIPref.h:184: parse error before `char'
../../../dist/include/pref/nsIPref.h:187: parse error before `char'
../../../dist/include/pref/nsIPref.h:190: parse error before `char'
../../../dist/include/pref/nsIPref.h:193: parse error before `char'
../../../dist/include/pref/nsIPref.h:196: parse error before `char'
../../../dist/include/pref/nsIPref.h:199: parse error before `char'
../../../dist/include/pref/nsIPref.h:202: parse error before `char'
../../../dist/include/pref/nsIPref.h:205: parse error before `char'
../../../dist/include/pref/nsIPref.h:208: parse error before `char'
../../../dist/include/pref/nsIPref.h:211: parse error before `char'
../../../dist/include/pref/nsIPref.h:214: parse error before `char'
../../../dist/include/pref/nsIPref.h:217: parse error before `char'
../../../dist/include/pref/nsIPref.h:230: parse error before `char'
nsDeviceContextGTK.cpp:45:31: nsIServiceManager.h: No such file or
directory
nsDeviceContextGTK.cpp:46:19: nsCRT.h: No such file or directory
In file included from ../../../dist/include/gfx/nsDeviceContext.h:43,
                 from nsDeviceContextGTK.h:42,
                 from nsDeviceContextGTK.cpp:48:
../../../dist/include/gfx/nsIDeviceContext.h:43:25: nsISupports.h: No
such file or directory
In file included from ../../../dist/include/gfx/nsIDeviceContext.h:44,
                 from ../../../dist/include/gfx/nsDeviceContext.h:43,
                 from nsDeviceContextGTK.h:42,
                 from nsDeviceContextGTK.cpp:48:
../../../dist/include/gfx/nsCoord.h:42:20: nscore.h: No such file or
directory
In file included from ../../../dist/include/gfx/nsIDeviceContext.h:45,
                 from ../../../dist/include/gfx/nsDeviceContext.h:43,
                 from nsDeviceContextGTK.h:42,
                 from nsDeviceContextGTK.cpp:48:
../../../dist/include/gfx/nsRect.h:48:30: nsUnitConversion.h: No such
file or directory
../../../dist/include/gfx/nsRect.h:49:27: nsComObsolete.h: No such file
or directory
In file included from ../../../dist/include/gfx/nsIDeviceContext.h:45,
                 from ../../../dist/include/gfx/nsDeviceContext.h:43,
                 from nsDeviceContextGTK.h:42,
                 from nsDeviceContextGTK.cpp:48:
../../../dist/include/gfx/nsRect.h:51: syntax error before `{' token
../../../dist/include/gfx/nsRect.h:56: ISO C++ forbids declaration of
`nsRect' 
   with no type
../../../dist/include/gfx/nsRect.h: In function `int nsRect()':
../../../dist/include/gfx/nsRect.h:56: only constructors take base
initializers
../../../dist/include/gfx/nsRect.h:56: confused by earlier errors,
bailing out
make[4]: *** [nsDeviceContextGTK.o] Error 1
make[4]: Leaving directory `/usr/src/mozilla/gfx/src/gtk'
make[3]: *** [libs] Error 2
make[3]: Leaving directory `/usr/src/mozilla/gfx/src'
make[2]: *** [libs] Error 2
make[2]: Leaving directory `/usr/src/mozilla/gfx'
make[1]: *** [tier_9] Error 2
make[1]: Leaving directory `/usr/src/mozilla'
make: *** [default] Error 2

 



More information about the Lunar mailing list