I am using a footnote inside makecell inside a longtable and while the footnote's counter is displayed, the text does not appear at the end of the page. Here's a MWE
\documentclass{article}
\usepackage{longtable}
\usepackage{makecell}
\title{A longtable example}
\begin{document}
\begin{center}
\begin{longtable}{|l|l|l|}
\caption{A sample long table.} \label{tab:long} \\
\hline \multicolumn{1}{|c|}{\textbf{First column}} & \multicolumn{1}{c|}{\textbf{Second column}} & \multicolumn{1}{c|}{\textbf{Third column}} \\ \hline
\endfirsthead
One & \makecell{abcdef\footnote{Test2} \\ ghjijklmn} & 123.456778 \\
\end{longtable}
\end{center}
\end{document}

\footnote{Test}with\footnotemarkand write outside thelongtable(after \end{longtable})\footnotetext{Test}. – Bobyandbob Jun 28 '17 at 19:20\footnotemark \footnotemark \footnotemarkand\addtocounter{footnote}{-3} \stepcounter{footnote}\footnotetext{Test 1} \stepcounter{footnote}\footnotetext{Test 2} \stepcounter{footnote}\footnotetext{Test 3}– Bobyandbob Jun 28 '17 at 19:34longtable, which has its own management offootnotes. I guess the problem comes from this. Please see my workaround. – Bernard Jun 28 '17 at 20:36