I'm getting the following errors when building the PSM module on Debian
potato.  Any pointers would be appreciated.

----------------------------------------------------------------------
make[3]: Entering directory `/opt/mozilla-build/mozilla/extensions/psm-glue/src'
nsPSMUICallbacks.cpp
c++ -o nsPSMUICallbacks.o -c -DOSTYPE=\"Linux2.4\" -DOJI   -I../../../dist/include 
-I../../../dist/include      -I.  -I/opt/XF402/include   -fPIC  -I/opt/XF402/include 
-fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wbad-function-cast 
-Wcast-align -Woverloaded-virtual -Wsynth -Wshadow -pedantic -Wno-long-long -pipe 
-pthread -O3  -DNDEBUG -DTRIMMED -I/opt/XF402/include -DMOZILLA_CLIENT -include 
../../../config-defs.h -Wp,-MD,.deps/nsPSMUICallbacks.pp nsPSMUICallbacks.cpp
In file included from ../../../dist/include/nsIImage.h:28,
                 from ../../../dist/include/nsIWidget.h:30,
                 from ../../../dist/include/nsIContentViewer.h:21,
                 from ../../../dist/include/nsIDocShell.h:26,
                 from nsPSMUICallbacks.cpp:41:
../../../dist/include/nsIRenderingContext.h:50: gfxtypes.h: No such file or directory
In file included from /usr/include/sys/socket.h:34,
                 from ../../../dist/include/cmtcmn.h:59,
                 from nsPSMUICallbacks.h:29,
                 from nsPSMUICallbacks.cpp:27:
/usr/include/bits/socket.h:226: warning: ANSI C++ forbids zero-size array `__cmsg_data'
nsPSMUICallbacks.cpp: In function `enum PRStatus DisplayPSMUIDialog(_CMT_CONTROL *, 
const char *, const char *, nsIDOMWindow *)':
nsPSMUICallbacks.cpp:270: warning: unused variable `struct CMTItem advisorContext'
make[3]: *** [nsPSMUICallbacks.o] Error 1
----------------------------------------------------------------------

Other info:

  forge$ cat ~/.mozconfig
  # Options for 'configure' (same as command-line options).
  ac_add_options --disable-debug
  ac_add_options --enable-strip-libs
  ac_add_options --disable-mailnews
  ac_add_options --enable-optimize=-O3
  ac_add_options --disable-logging
  ac_add_options --disable-tests

Built with :
  export MOZILLA_OFFICIAL=1
  export BUILD_OFFICIAL=1
  export MOZ_NEW_CACHE=1
  make -f client.mk build BUILD_MODULES=psm 

Checked out with:
  make -f mozilla/client.mk pull_all BUILD_MODULES=psm

Cheers,
Steve

Reply via email to