[Swfdec] Debian compilation problem

Petter Sundlöf petter.sundlof at gmail.com
Sun Mar 18 10:52:09 PDT 2007


I'm encountering this problem when trying to compile 
swfdec-mozilla-0.4.2 on Debian unstable.

gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -Wextra 
-Wno-missing-field-initializers -Wno-unused-parameter 
-I/usr/include/iceape/java -I/usr/include/iceape/plugin 
-I/usr/include/iceape/nspr -I/usr/local/include/swfdec-0.4 
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include 
-I/usr/include/liboil-0.3 -I/usr/include/cairo -I/usr/include/pango-1.0 
-I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/alsa 
-I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12 
-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/freetype2 
-I/usr/include/libpng12 -g -O2 -MT libswfdecmozilla_la-plugin.lo -MD -MP 
-MF .deps/libswfdecmozilla_la-plugin.Tpo -c plugin.c  -fPIC -DPIC -o 
.libs/libswfdecmozilla_la-plugin.o
plugin.c:29:28: error: mozilla-config.h: No such file or directory
plugin.c: In function ‘plugin_set_window’:
plugin.c:228: error: ‘NPSetWindowCallbackStruct’ has no member named 
‘display’
make[3]: *** [libswfdecmozilla_la-plugin.lo] Error 1

It's claiming not to find mozilla-config.h, but it is in fact there. In 
/usr/include/iceape/mozilla-config.h.

Any workarounds?


More information about the Swfdec mailing list