Undefined reference to errno with make of checkpassword

Posted by Paul Farrow - Under: Mini-ITX, Software

On some flavours of linux errno is a macro rather than an int so you need to alter the error.h file for it to compile

You need to do the following….

mv error.h error.h.orig

sed -e ‘s/extern int errno;/#include /g’ error.h.orig > error.h