Closed Bug 465233 Opened 16 years ago Closed 16 years ago

build error - error: no 'nsresult nsXULAppInfo::AppendObjCExceptionInfoToAppNotes(void*)'

Categories

(Toolkit :: Crash Reporting, defect)

1.9.0 Branch
PowerPC
macOS
defect
Not set
major

Tracking

()

RESOLVED FIXED

People

(Reporter: bc, Assigned: ted)

References

Details

(Keywords: regression)

mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/firefox-opt
mk_add_options MOZ_MAKE_FLAGS=-j${J}
mk_add_options MOZ_CO_PROJECT=browser

DARWIN_ARCH=`uname -p`
DARWIN_VERSION=`uname -r`

ac_add_options --target=${DARWIN_ARCH}-apple-darwin$DARWIN_VERSION
ac_add_options --with-macos-sdk=/Developer/SDKs/MacOSX10.4u.sdk
ac_add_options --enable-application=browser
ac_add_options --enable-optimize="-O2 -g"
ac_add_options --enable-debugger-info-modules=all

ac_add_options --disable-debug
ac_add_options --disable-tests
ac_add_options --disable-static
ac_add_options --enable-shared
ac_add_options --enable-svg
ac_add_options --enable-canvas
ac_add_options --enable-places

ac_add_options --enable-official-branding
ac_add_options --disable-crashreporter

c++ -o nsNativeAppSupportCocoa.o -c -I../../dist/include/system_wrappers -include /work/mozilla/builds/1.9.0/mozilla/config/gcc_hidden.h -DIMPL_XREAPI -DMOZ_UPDATER -DMOZILLA_INTERNAL_API -D_IMPL_NS_COM -DEXPORT_XPT_API -DEXPORT_XPTC_API -D_IMPL_NS_COM_OBSOLETE -D_IMPL_NS_
GFX -D_IMPL_NS_WIDGET -DIMPL_XREAPI -DIMPL_NS_NET -DIMPL_THEBES  -DZLIB_INTERNAL -DOSTYPE=\"Darwin9.5.0\" -DOSARCH=Darwin -DOS_TARGET=\"Darwin\" -DTARGET_XPCOM_ABI=\"x86-gcc3\" -DTARGET_OS_ABI=\"Darwin_x86-gcc3\"  -DTOOLKIT_EM_VERSION=\"1.9.0.5pre\" -DWRAP_SYSTEM_INCLUDES 
-I/work/mozilla/builds/1.9.0/mozilla/xpfe/bootstrap/appleevents -I/work/mozilla/builds/1.9.0/mozilla/toolkit/xre -I/work/mozilla/builds/1.9.0/mozilla/toolkit/xre/../profile/src -I/work/mozilla/builds/1.9.0/mozilla/config  -I/work/mozilla/builds/1.9.0/mozilla/toolkit/xre -I
. -I../../dist/include/appcomps -I../../dist/include/toolkitcomps -I../../dist/include/appshell -I../../dist/include/chrome -I../../dist/include/content -I../../dist/include/docshell -I../../dist/include/dom -I../../dist/include/embed_base -I../../dist/include/embedcompone
nts -I../../dist/include/extensions -I../../dist/include/gfx -I../../dist/include/intl -I../../dist/include/js -I../../dist/include/necko -I../../dist/include/pref -I../../dist/include/profile -I../../dist/include/string -I../../dist/include/uriloader -I../../dist/include/
widget -I../../dist/include/windowwatcher -I../../dist/include/xpcom -I../../dist/include/xpconnect -I../../dist/include/xpinstall -I../../dist/include   -I../../dist/include/xulapp -I../../dist/include/nspr     -I../../dist/sdk/include -I/usr/X11/include   -fPIC  -I/usr/X
11/include -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-long-long -isysroot /Developer/SDKs/MacOSX10.4u.sdk -fno-strict-aliasing -fpascal-strings -fno-common -fshort
-wchar -pthread -I/Developer/SDKs/MacOSX10.4u.sdk/Developer/Headers/FlatCarbon -pipe -fexceptions  -DNDEBUG -DTRIMMED -O2 -g -I/Developer/SDKs/MacOSX10.4u.sdk/Developer/Headers/FlatCarbon  -I/usr/X11/include -DMOZILLA_CLIENT -include ../../mozilla-config.h -Wp,-MD,.deps/ns
NativeAppSupportCocoa.pp -fobjc-exceptions /work/mozilla/builds/1.9.0/mozilla/toolkit/xre/nsNativeAppSupportCocoa.mm

/work/mozilla/builds/1.9.0/mozilla/toolkit/xre/nsAppRunner.cpp:860: error: no 'nsresult nsXULAppInfo::AppendObjCExceptionInfoToAppNotes(void*)' member function declared in class 'nsXULAppInfo'
/work/mozilla/builds/1.9.0/mozilla/toolkit/xre/nsAppRunner.cpp: In member function 'nsresult nsXULAppInfo::AppendObjCExceptionInfoToAppNotes(void*)':
/work/mozilla/builds/1.9.0/mozilla/toolkit/xre/nsAppRunner.cpp:863: error: 'CrashReporter' has not been declared
/work/mozilla/builds/1.9.0/mozilla/toolkit/xre/nsAppRunner.cpp: In function 'nsresult XRE_GetBinaryPath(const char*, nsILocalFile**)':
/work/mozilla/builds/1.9.0/mozilla/toolkit/xre/nsAppRunner.cpp:1325: warning: 'nsresult XRE_GetBinaryPath(const char*, nsILocalFile**)': visibility attribute ignored because it
/work/mozilla/builds/1.9.0/mozilla/toolkit/xre/nsXULAppAPI.h:309: warning: conflicts with previous declaration here
/work/mozilla/builds/1.9.0/mozilla/toolkit/xre/nsAppRunner.cpp: In function 'int XRE_main(int, char**, const nsXREAppData*)':
/work/mozilla/builds/1.9.0/mozilla/toolkit/xre/nsAppRunner.cpp:2436: warning: 'int XRE_main(int, char**, const nsXREAppData*)': visibility attribute ignored because it
/work/mozilla/builds/1.9.0/mozilla/toolkit/xre/nsXULAppAPI.h:291: warning: conflicts with previous declaration here
Flags: in-testsuite-
Flags: in-litmus-
Oops, this is a misplaced #endif, probably merge failure. I can fix this tomorrow, but if you want to check in a bustage fix for me, just move the #endif from here:
http://mxr.mozilla.org/mozilla/source/toolkit/xre/nsAppRunner.cpp#857
to here:
http://mxr.mozilla.org/mozilla/source/toolkit/xre/nsAppRunner.cpp#868
(right below the nsXULAppInfo::AppendObjCExceptionInfoToAppNotes definition)
Assignee: nobody → ted.mielczarek
Checked in that bustage fix:
Checking in toolkit/xre/nsAppRunner.cpp;
/cvsroot/mozilla/toolkit/xre/nsAppRunner.cpp,v  <--  nsAppRunner.cpp
new revision: 1.215; previous revision: 1.214
done
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.