i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./w2c -DPOPPLER_VERSION=\"0.16.2\" -I/usr/include/poppler -I/var/tmp/portage/app-text/texlive-core-2010/work/texlive-20100722-source/libs/obsdcompat -I/var/tmp/portage/app-text/texlive-core-2010/work/texlive-20100722-source/libs/obsdcompat -I./libmd5 -I./pdftexdir -Wimplicit -Wreturn-type -Wdeclaration-after-statement -Wno-unknown-pragmas -march=barcelona -O2 -pipe -MT libpdftex_a-writeimg.o -MD -MP -MF .deps/libpdftex_a-writeimg.Tpo -c -o libpdftex_a-writeimg.o `test -f 'pdftexdir/writeimg.c' || echo './'`pdftexdir/writeimg.c pdftexdir/writeimg.c: In function 'imagecolordepth': pdftexdir/writeimg.c:140:29: error: dereferencing pointer to incomplete type pdftexdir/writeimg.c: In function 'deleteimage': pdftexdir/writeimg.c:392:38: error: dereferencing pointer to incomplete type make[5]: *** [libpdftex_a-writeimg.o] Error 1
This changeset http://www.tug.org/svn/texlive?view=revision&revision=21250 and the one from URL seem to be needed although texlive-core still fails for me with both patches applied.
http://www.tug.org/svn/texlive?view=revision&revision=21237 is for luatex and we dont build it from texlive still remains pdftex and maybe others though
messed up URL; this should be the one applying to pdftex now
fixed, thanks