21 - Jun - 2005
Undefined reference to errno with make of checkpassword
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
Thank you!
Jason
Bulls-eye ! Thanks !
Thank you… I never would have figured that one out.
Muchas gracias!
All I can say is thanks and thank God Google found your blog.
Regards,
Thomas Failor
Houston, Texas
Hey man,
you saved my day, i updated some debian packages from sarge to etch. Than my pop3 server doesn’t work anymore. I tried to recompile, but this failed with the error message above.
Thanks man
Thanks for the tip…worked a treat.
Ross
Pure gold! Thanks.
Just thought I would add, ran into the same problem compiling daemontools on RHEL 4. This worked perfect.