# cleveref package produces “??” [closed]

I've used the second answer in Multiple references to the same footnote with hyperref support - is there a better solution?, yet, like @Jake in the comments, it produces some ?? in my document. Anyone has a clue?

Edit 1: I've compiled twice. The code is exactly the one of the second answer (shown below). And I got something like First page, referencing future footnote?? 2. in the pdf.

\documentclass{article}
\usepackage{hyperref}
\usepackage{cleveref}

\crefformat{footnote}{#2\footnotemark[#1]#3}

\begin{document}
First page, referencing future footnote\cref{second}.

Second paragraph, first footnote\footnote{\label{first}First footnote!}

\pagebreak
Second page, creating the second footnote\footnote{\label{second}Second footnote}, and referencing the first footnote\cref{first}.
\end{document}


If you've already run latex twice (without removing the .aux files), you may be dealing with typos in either the \label{...} or the \cref{...} commands. Could you post a working MWE (minimum working example) that illustrates the problems you're getting? – Mico Nov 17 '11 at 16:52
Did you see Jake's last comment? You may have an old version of cleveref that doesn't support this. – Torbjørn T. Nov 17 '11 at 16:57
From the wiki on ctex.org it seems CTeX is based on the (somewhat old) MikTeX 2.7. In the start menu, do you have an "Update manager" for MikTeX? If so, try running this. If not, or if that doesn't work, you'll have to do it manually: tex.stackexchange.com/questions/2063/… cleveref can be downloaded from CTAN: ctan.org/pkg/cleveref – Torbjørn T. Nov 17 '11 at 18:01