swfdec fails with "undefined reference to symbol 'g_module_symbol'"

Version 11 of build-kdenlive.sh
OS: AV Linux 5.0 (Debian squeeze)

Original attempt failed with:
Requested 'cairo >= 1.9.4' but version of cairo is 1.8.10
Requested 'cairo-png >= 1.9.4' but version of cairo-png is 1.8.10

Have enabled `Wheezy' & installed various cairo libraries, and now enters compilation without complaint. Until:

/usr/bin/ld: swfdec_test-swfdec_test_test.o: undefined reference to symbol 'g_module_symbol'
/usr/bin/ld: note: 'g_module_symbol' is defined in DSO /usr/lib/libgmodule-2.0.so.0 so try adding it to the linker command line
/usr/lib/libgmodule-2.0.so.0: could not read symbols: Invalid operation

Is this a library missing, a compilation linker error or some other issue?

I tried updating libcairomm + libcairo2-dbg, but that made no difference.

Flash support?
No update to code for 3 years?

So, taking a chance, I switched compilation of swfdec OFF completely (option near the top of build-kdenlive.sh). Everything then went through fine. There were unbelievable numbers of compilation warnings for ffmpeg, but that seems normal.

So far, kdenlive is running without errors. Or, at least, with just the normal number of errors.

For the record, these were the updates from Wheezy:

1. selecting update libcairo2:

libpixman-1-0 (0.21.8-1)
libxcb-shm0 (1.7-2)
libcairo2 (1.10.2-6)
libcairo-script-interpreter2 (1.10.2-6)
libpixman-1-dev (0.21.8-1)
libxcb-shm0-dev (1.7-2)
libcairo-gobject2 (1.10.2-6)
libcairo2-dev (1.10.2-6)

2. selecting update libcairomm + libcairo2-dbg:

ibcairomm-1.0-1 (1.10.0-1)
Setting up libcairomm-1.0-dev (1.10.0-1)
Setting up libcairo2-dbg (1.10.2-6)