Re: where did errno go?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Carlos Villegas wrote:
I tried to recompile it, and it won't link, all the objects seem to compile
fine, but when linking I get the following error:


undefined reference to `errno'

Any C file that makes reference to "errno" needs to have lines like this one removed:


extern int errno;

In each of those files, you should include the system's errno.h where the other include lines are:

#include <errno.h>



--
Shrike-list mailing list
Shrike-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/shrike-list

[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux