This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Erro using pnmtoc in Ubuntu 14

Hi, I'm trying to use the pnmtoc tool from texas, but the following error occurs:

-> I gave permission the necessary permission.

I typed this: ./pnmtoc -c -f image.pnm > image.c

return-> bash: ./pnmtoc: cannot execute binary file: Exec format erros.

Someone solved this problem ?

Thanks in advance.