Re: Incorrectly built binary ?

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

 



On Wed, 9 Apr 2003, Jakub Jelinek wrote:
> On Wed, Apr 09, 2003 at 09:42:15AM +0200, Karl-Olov Serrander wrote:
> > Hi !
> > I have an old program (spreadsheet ss-1.3.1) compiled on redhat-7.2
> > which now says:
> >    "Incorrectly built binary which accesses errno, h_errno or _res directly.
> >     Needs to be fixed."
> > Redhat-8.0 did not complain.
> > I seems to be a warning, because the program works.
> > man errno say nothing special, and it will not compile on rh9 (complain about errno).
>
> Before any code uses errno, it has to #include <errno.h>.
>
> Using extern int errno; instead is broken and will not work.

Thanks, that put me on track. One of the source files was missing the include.

Regards
-- 
Karl-Olov Serrander kase@xxxxxxxx





[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