I have been getting weird undefined reference errors to 'Last Page' that point to the line corresponding to my end{document}. I have no idea what this means, but in any case, here is a minimum working example.

Abstract \ldots

This produces the following: "LaTeX Warning: Reference `LastPage'", "Package lastpage Warning: Rerun to get the references right on input line". I also get things like "LaTeX Warning: Label(s) may have changed. Rerun to get cross-references right." no matter how many times I rerun LaTeX. Any advice? I am using Miktex 2.9.

Note: The lipics-v2016.cls file is very large, but can be downloaded here http://drops.dagstuhl.de/styles/lipics-v2016/lipics-v2016-authors.tgz

Edit: I also get the above errors on the starter files without even making changes. This leads me to believe it may be an issue with Miktex. I noticed that Miktex is not producing any .aux or .bbl or .log files... which may be the cause of the error. If I include a bibliography, then no matter what I do, each reference causes a warning.

closed as unclear what you're asking by Mensch, user13907, user31729, Zarko, barbara beeton Jun 28 '16 at 19:54

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • How exactly do you run (pdf)LaTeX on your document? – Torbjørn T. May 30 '16 at 5:59
  • I just click the typeset button with the options 'pdflatex + makeindex + bibtex'. – user340082710 May 30 '16 at 6:00
  • Hm. What if you try with just pdfLaTeX? Does the .aux file end up in a subfolder? The warning (it's not an error, just a warning) is gone on the second compilation run when I test it here. – Torbjørn T. May 30 '16 at 6:29
  • if you (or your editor) are removing the aux file then the cross reference warning will never go, so ignore the warning, and work out where the aux file went. – David Carlisle May 30 '16 at 8:22
  • @TorbjørnT. Using just pdfLaTeX creates all of the required files and then the warning appear to go away after the second typeset, as expected... Why would this cause an issue? I am so puzzled. – user340082710 May 30 '16 at 12:29