[Dev-luatex] Compile fails against poppler master

James Cloos cloos+ntg-dev-luatex at jhcloos.com
Sun Aug 7 22:35:37 CEST 2011


The compile fails with (ignoring the deprecated conversion warnings):

x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./w2c
 -I/usr/include/libpng14 -DPOPPLER_VERSION=\"0.17.1\"
 -I/usr/include/poppler
 -I/var/tmp/portage/dev-tex/luatex-0.70.1/work/luatex-beta-0.70.1/source/libs/obsdcompat
 -I/var/tmp/portage/dev-tex/luatex-0.70.1/work/luatex-beta-0.70.1/source/libs/obsdcompat
 -I./libmd5 -I./luatexdir -I./luatexdir/lua51 -DpdfTeX -I./synctexdir
 -DSYNCTEX_ENGINE_H='<synctex-luatex.h>' -Wimplicit -Wreturn-type
 -Wdeclaration-after-statement -Wno-unknown-pragmas -O3 -ggdb3
 -march=amdfam10 -msse4a -floop-interchange -floop-strip-mine
 -floop-block -MT libluatex_a-lkpselib.o -MD -MP -MF
 .deps/libluatex_a-lkpselib.Tpo -c -o libluatex_a-lkpselib.o `test -f
 'luatexdir/lua/lkpselib.c' || echo './'`luatexdir/lua/lkpselib.c

In file included from /usr/include/poppler/Gfx.h:39:0,
                 from ./luatexdir/image/epdf.h:41,
                 from luatexdir/lua/lepdflib.cc:25:

/usr/include/poppler/Annot.h: In function 'int m_Annot__gc(lua_State*)':
/usr/include/poppler/Annot.h:519:11: error: 'virtual Annot::~Annot()' is protected

luatexdir/lua/lepdflib.cc:398:30: error: within this context
luatexdir/lua/lepdflib.cc: In function 'int m_AnnotBorderStyle_getWidth(lua_State*)':
luatexdir/lua/lepdflib.cc:415:1: error: 'AnnotBorderStyle' was not declared in this scope
luatexdir/lua/lepdflib.cc:415:1: error: expected primary-expression before ')' token
luatexdir/lua/lepdflib.cc:415:1: error: expected ')' before 'uin'
luatexdir/lua/lepdflib.cc: In function 'int m_AnnotBorderStyle__tostring(lua_State*)':
luatexdir/lua/lepdflib.cc:417:1: error: 'AnnotBorderStyle' was not declared in this scope
luatexdir/lua/lepdflib.cc:417:1: error: expected primary-expression before ')' token
luatexdir/lua/lepdflib.cc: In function 'int m_Catalog_embeddedFile(lua_State*)':
luatexdir/lua/lepdflib.cc:691:5: error: 'EmbFile' was not declared in this scope
luatexdir/lua/lepdflib.cc:691:14: error: 'ef' was not declared in this scope
luatexdir/lua/lepdflib.cc: In function 'int m_EmbFile_name(lua_State*)':
luatexdir/lua/lepdflib.cc:766:1: error: 'EmbFile' was not declared in this scope
luatexdir/lua/lepdflib.cc:766:1: error: expected primary-expression before ')' token
luatexdir/lua/lepdflib.cc:766:1: error: expected ')' before 'uin'
luatexdir/lua/lepdflib.cc: In function 'int m_EmbFile_description(lua_State*)':
luatexdir/lua/lepdflib.cc:767:1: error: 'EmbFile' was not declared in this scope
luatexdir/lua/lepdflib.cc:767:1: error: expected primary-expression before ')' token
luatexdir/lua/lepdflib.cc:767:1: error: expected ')' before 'uin'
luatexdir/lua/lepdflib.cc: In function 'int m_EmbFile_size(lua_State*)':
luatexdir/lua/lepdflib.cc:768:1: error: 'EmbFile' was not declared in this scope
luatexdir/lua/lepdflib.cc:768:1: error: expected primary-expression before ')' token
luatexdir/lua/lepdflib.cc:768:1: error: expected ')' before 'uin'
luatexdir/lua/lepdflib.cc: In function 'int m_EmbFile_modDate(lua_State*)':
luatexdir/lua/lepdflib.cc:769:1: error: 'EmbFile' was not declared in this scope
luatexdir/lua/lepdflib.cc:769:1: error: expected primary-expression before ')' token
luatexdir/lua/lepdflib.cc:769:1: error: expected ')' before 'uin'
luatexdir/lua/lepdflib.cc: In function 'int m_EmbFile_createDate(lua_State*)':
luatexdir/lua/lepdflib.cc:770:1: error: 'EmbFile' was not declared in this scope
luatexdir/lua/lepdflib.cc:770:1: error: expected primary-expression before ')' token
luatexdir/lua/lepdflib.cc:770:1: error: expected ')' before 'uin'
luatexdir/lua/lepdflib.cc: In function 'int m_EmbFile_checksum(lua_State*)':
luatexdir/lua/lepdflib.cc:771:1: error: 'EmbFile' was not declared in this scope
luatexdir/lua/lepdflib.cc:771:1: error: expected primary-expression before ')' token
luatexdir/lua/lepdflib.cc:771:1: error: expected ')' before 'uin'
luatexdir/lua/lepdflib.cc: In function 'int m_EmbFile_mimeType(lua_State*)':
luatexdir/lua/lepdflib.cc:772:1: error: 'EmbFile' was not declared in this scope
luatexdir/lua/lepdflib.cc:772:1: error: expected primary-expression before ')' token
luatexdir/lua/lepdflib.cc:772:1: error: expected ')' before 'uin'
luatexdir/lua/lepdflib.cc: In function 'int m_EmbFile_streamObject(lua_State*)':
luatexdir/lua/lepdflib.cc:782:7: error: 'EmbFile' was not declared in this scope
luatexdir/lua/lepdflib.cc:782:16: error: expected primary-expression before ')' token
luatexdir/lua/lepdflib.cc:782:18: error: expected ')' before 'uin'
luatexdir/lua/lepdflib.cc: In function 'int m_EmbFile_isOk(lua_State*)':
luatexdir/lua/lepdflib.cc:789:1: error: 'EmbFile' was not declared in this scope
luatexdir/lua/lepdflib.cc:789:1: error: expected primary-expression before ')' token
luatexdir/lua/lepdflib.cc:789:1: error: expected ')' before 'uin'
luatexdir/lua/lepdflib.cc:789:1: error: expected ')' before ';' token
luatexdir/lua/lepdflib.cc: In function 'int m_EmbFile__tostring(lua_State*)':
luatexdir/lua/lepdflib.cc:791:1: error: 'EmbFile' was not declared in this scope
luatexdir/lua/lepdflib.cc:791:1: error: expected primary-expression before ')' token
luatexdir/lua/lepdflib.cc: In function 'int m_Link_isOk(lua_State*)':
luatexdir/lua/lepdflib.cc:1040:1: error: 'Link' was not declared in this scope
luatexdir/lua/lepdflib.cc:1040:1: error: expected primary-expression before ')' token
luatexdir/lua/lepdflib.cc:1040:1: error: expected ')' before 'uin'
luatexdir/lua/lepdflib.cc:1040:1: error: expected ')' before ';' token
luatexdir/lua/lepdflib.cc: In function 'int m_Link_inRect(lua_State*)':
luatexdir/lua/lepdflib.cc:1051:11: error: 'Link' was not declared in this scope
luatexdir/lua/lepdflib.cc:1051:17: error: expected primary-expression before ')' token
luatexdir/lua/lepdflib.cc:1051:19: error: expected ')' before 'uin'
luatexdir/lua/lepdflib.cc:1052:30: error: expected ')' before ';' token
luatexdir/lua/lepdflib.cc: In function 'int m_Link__tostring(lua_State*)':
luatexdir/lua/lepdflib.cc:1058:1: error: 'Link' was not declared in this scope
luatexdir/lua/lepdflib.cc:1058:1: error: expected primary-expression before ')' token
luatexdir/lua/lepdflib.cc: In function 'int m_Links_getLink(lua_State*)':
luatexdir/lua/lepdflib.cc:1155:5: error: 'Link' was not declared in this scope
luatexdir/lua/lepdflib.cc:1164:49: error: assignment of function 'int link(const char*, const char*)'
luatexdir/lua/lepdflib.cc:1164:49: error: cannot convert 'AnnotLink*' to 'int(const char*, const char*)throw ()' in assignment
luatexdir/lua/lepdflib.cc:1167:23: error: invalid conversion from 'int (*)(const char*, const char*)throw ()' to 'void*'
luatexdir/lua/lepdflib.cc: In function 'int m_XRef_getLastXRefPos(lua_State*)':
luatexdir/lua/lepdflib.cc:2696:1: error: 'class XRef' has no member named 'getLastXRefPos'

In file included from /usr/include/poppler/Gfx.h:39:0,
                 from luatexdir/image/epdf.h:41,
                 from luatexdir/image/pdftoepdf.cc:27:

make: *** [libluatex_a-lepdflib.o] Error 1


-JimC
-- 
James Cloos <cloos at jhcloos.com>         OpenPGP: 1024D/ED7DAEA6


More information about the dev-luatex mailing list