IPDL headers not found

Tibor Mezei <[email protected]>
Newsgroups gmane.comp.mozilla.devel.dom
Message-ID <[email protected]>
I have chromium-config.mk in my Makefile, but it has some problem:

For example:
the ipc/glue directory is included where there is ProtocolUtils.h
but the PreferencesProtocol.h (automatic generated) try to include
mozilla/ipc/ProtocolUtils.h
and the compiler says File or directory doesn't exist

I have same type of errors for:
IPC/IPCMessageUtils.h
mozilla/TabTypes.h
mozilla/ipc/SyncChannel.h

Any thought about this?

Here's the gcc command which fails:
c++ -o PreferencesChild.o -c -I../../../dist/system_wrappers -include
/home/zemei/mozilla/src/config/gcc_hidden.h -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=\"Linux2.6\"
-DOSARCH=Linux -DEXCLUDE_SKIA_DEPENDENCIES -DCHROMIUM_MOZILLA_BUILD
-DOS_LINUX=1 -DOS_POSIX=1  -DBIN_SUFFIX='""'
-I/home/zemei/mozilla/src/ipc/chromium/src
-I/home/zemei/mozilla/src/ipc/glue -I../../../ipc/ipdl/_ipdlheaders
-I/home/zemei/mozilla/src/modules/libpref/ipc -I.
-I../../../dist/include -I../../../dist/include/nsprpub
-I/home/zemei/mozilla/obj/dist/include/nspr
-I/home/zemei/mozilla/obj/dist/include/nss         -fPIC  -frtti
-fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth
-Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align
-Wno-invalid-offsetof -Wno-long-long -fno-strict-aliasing
-fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo
-I/usr/include/pango-1.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/pixman-1
-I/usr/include/freetype2 -I/usr/include/libpng12
-I/usr/include/gtk-unix-print-2.0   -Os -freorder-blocks
-fno-reorder-functions    -DMOZILLA_CLIENT -include
../../../mozilla-config.h -Wp,-MD,.deps/PreferencesChild.pp
/home/zemei/mozilla/src/modules/libpref/ipc/PreferencesChild.cpp


Here's my Makefile:

DEPTH = ../../..
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@

#include $(DEPTH)/config/autoconf.mk

MODULE = pref
LIBRARY_NAME = pref_ipc
LIBXUL_LIBRARY = 1
FORCE_STATIC_LIB = 1
EXPORT_LIBRARY = 1

EXPORTS_NAMESPACES = mozilla/pref
EXPORTS_mozilla/pref = \
	PreferencesChild.h \
	PreferencesParent.h \
	$(NULL)


CPPSRCS = \
  PreferencesChild.cpp \
  PreferencesParent.cpp \
  $(NULL)


include $(topsrcdir)/config/config.mk
include $(topsrcdir)/ipc/chromium/chromium-config.mk
include $(topsrcdir)/config/rules.mk

DEFINES += -DBIN_SUFFIX='"$(BIN_SUFFIX)"'
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.