[ELDK] error: 'errno' undeclared

Alberto Ciampini a.ciampini at sicep.it
Tue Sep 21 17:46:03 CEST 2010


hi!!
i have a strange issue when cross compiling for arm: if i try to use 
errno (or build programs that uses it), i get (for example):

cmem.c:116: error: 'errno' undeclared (first use in this function)
cmem.c:116: error: (Each undeclared identifier is reported only once
cmem.c:116: error: for each function it appears in.)

and of course i have not forgotten to #include <errno.h>
what puzzles me is that the errno.h file (eldk/arm/usr/include/errno.h) 
only includes <asm-generic/errno.h> and that file is just a list of 
defines....
i also looked at the files in the include path, but it seems that the 
errno variable is not defined anywhere....

i tried to download the whole mailing list archives and look for a 
similar problem, but i found nothing...
can you please try to give me some hints?? thanks a lot!!

-- 
alberto ciampini
a.ciampini at sicep.it


************************************************************************
Le informazioni contenute nella presente comunicazione sono destinate
esclusivamente alle persone o alla Società sopraindicati. La diffusione,
distribuzione e/o copiatura del documento trasmesso da parte di
qualsiasi soggetto diverso dal destinatario è proibita, sia ai sensi
dell'art. 616 c.p. , che ai sensi del D.Lgs. n. 196/2003. Se avete
ricevuto questo messaggio per errore, vi preghiamo di distruggerlo e di
avvisare immediatamente il mittente.
************************************************************************
The information in this e-mail is confidential and may also be legally
privileged. It is intended for the addressee only. Access to this e-mail
by anyone else is unauthorised. It is not to be relied upon by any
person other than the addressee, except with our prior written approval.
If no such approval is given, we will not accept any liability (in
negligence or otherwise) arising from any third party acting.
Unauthorised recipients are required to maintain confidentiality. If
you have received this e-mail in error please notify us immediately,
destroy any copies and delete it from your computer system. Any use,
dissemination, forwarding, printing or copying of this e-mail is
prohibited.
************************************************************************



More information about the eldk mailing list