From: Will L G. <wlg...@gm...> - 2006-04-19 00:35:13
|
Redhat 7.2 [Alpha] Gnome-2.8.3 GTK-2.6.10 Firefox-1.0.4 GCC-4.1.0/4.0.1/3.4.3/3.2.3 Binutils-2.16.90.0.3 Make-3.80 I was attempting to compile Galeon-2.0.1 and received the following = error "FilePicker.cpp:76: error: prototype for 'nsresult GFilePicker::Init". I = did some 'googling' and noticed that it is a fairly common error but at the = same time, couldn't find any patches for the problem. The FULL error is = below: ccache g++-4.0.1 -DHAVE_CONFIG_H -I. -I. -I.. -I../utils -I../utils -I../embed -I../bookmarks -I../libegg -I.. -I/usr/include/firefox-1.0.4/gtkembedmoz = -I/usr/include/firefox-1.0.4/xpcom -I/usr/include/firefox-1.0.4/string -I/usr/include/firefox-1.0.4/nspr -I/usr/include/firefox-1.0.4 -I/usr/include/firefox-1.0.4/caps -I/usr/include/firefox-1.0.4/chardet -I/usr/include/firefox-1.0.4/chrome -I/usr/include/firefox-1.0.4/content -I/usr/include/firefox-1.0.4/cookie -I/usr/include/firefox-1.0.4/docshell -I/usr/include/firefox-1.0.4/dom -I/usr/include/firefox-1.0.4/exthandler = -I/usr/include/firefox-1.0.4/find -I/usr/include/firefox-1.0.4/fastfind -I/usr/include/firefox-1.0.4/gfx -I/usr/include/firefox-1.0.4/helperAppDlg -I/usr/include/firefox-1.0.4/history = -I/usr/include/firefox-1.0.4/htmlparser -I/usr/include/firefox-1.0.4/java -I/usr/include/firefox-1.0.4/js -I/usr/include/firefox-1.0.4/jsconsole = -I/usr/include/firefox-1.0.4/layout -I/usr/include/firefox-1.0.4/locale = -I/usr/include/firefox-1.0.4/mimetype -I/usr/include/firefox-1.0.4/mozxfer -I/usr/include/firefox-1.0.4/necko -I/usr/include/firefox-1.0.4/necko2 -I/usr/include/firefox-1.0.4/nkcache -I/usr/include/firefox-1.0.4/nspr -I/usr/include/firefox-1.0.4/oji -I/usr/include/firefox-1.0.4/passwordmgr = -I/usr/include/firefox-1.0.4/pipnss -I/usr/include/firefox-1.0.4/pipboot -I/usr/include/firefox-1.0.4/pref -I/usr/include/firefox-1.0.4/progressDlg -I/usr/include/firefox-1.0.4/sidebar = -I/usr/include/firefox-1.0.4/shistory -I/usr/include/firefox-1.0.4/string -I/usr/include/firefox-1.0.4/uconv -I/usr/include/firefox-1.0.4/uriloader -I/usr/include/firefox-1.0.4/unicharutil = -I/usr/include/firefox-1.0.4/wallet -I/usr/include/firefox-1.0.4/webbrowserpersist -I/usr/include/firefox-1.0.4/webbrwsr = -I/usr/include/firefox-1.0.4/webshell -I/usr/include/firefox-1.0.4/widget -I/usr/include/firefox-1.0.4/windowwatcher -I/usr/include/firefox-1.0.4/xpcom = -I/usr/include/firefox-1.0.4/xpconnect -DXTHREADS -DORBIT2=3D1 -pthread -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/pango-1.0 -I/usr/X11R6/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include = -I/usr/include/libxml2 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/libbonoboui-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0 -I/usr/include/libglade-2.0 -I/usr/include/gnome-vfs-module-2.0 -I/usr/include/eel-2 -I/usr/include/gail-1.0 -DLIB_DIR=3D\"/usr/lib/galeon\" -DSHARE_DIR=3D\"/usr/share/galeon\" -DGALEON_MOZILLA_HOME=3D\"/usr/lib/firefox-1.0.4\" -D_GNU_SOURCE=3D1 = -include /usr/include/firefox-1.0.4/mozilla-config.h -fno-rtti -c FilePicker.cpp -DPIC FilePicker.cpp:76: error: prototype for 'nsresult GFilePicker::Init(nsIDOMWindowInternal*, const PRUnichar*, PRInt16)' = does not match any in class 'GFilePicker' FilePicker.h:45: error: candidate is: virtual nsresult GFilePicker::Init(nsIDOMWindow*, const nsAString&, PRInt16) FilePicker.cpp:167: error: prototype for 'nsresult GFilePicker::AppendFilter(const PRUnichar*, const PRUnichar*)' does not match any in class 'GFilePicker' FilePicker.h:51: error: candidates are: nsresult GFilePicker::AppendFilter(const char*, const char*) FilePicker.h:45: error: virtual nsresult GFilePicker::AppendFilter(const nsAString&, const nsAString&) FilePicker.cpp:204: error: prototype for 'nsresult GFilePicker::GetDefaultString(PRUnichar**)' does not match any in class 'GFilePicker' FilePicker.h:45: error: candidate is: virtual nsresult GFilePicker::GetDefaultString(nsAString&) FilePicker.cpp:223: error: prototype for 'nsresult GFilePicker::SetDefaultString(const PRUnichar*)' does not match any in = class 'GFilePicker' FilePicker.h:45: error: candidate is: virtual nsresult GFilePicker::SetDefaultString(const nsAString&) FilePicker.cpp:251: error: prototype for 'nsresult GFilePicker::GetDefaultExtension(PRUnichar**)' does not match any in = class 'GFilePicker' FilePicker.h:45: error: candidate is: virtual nsresult GFilePicker::GetDefaultExtension(nsAString&) FilePicker.cpp:262: error: prototype for 'nsresult GFilePicker::SetDefaultExtension(const PRUnichar*)' does not match any = in class 'GFilePicker' FilePicker.h:45: error: candidate is: virtual nsresult GFilePicker::SetDefaultExtension(const nsAString&) make[3]: *** [FilePicker.lo] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 |