On 1/31/07, Danny Backx <[EMAIL PROTECTED]> wrote:
> On my system, glibc-2.4 is installed (actually : glibc-2.4-4mdk). Is
> that a different beast from what you have ?
>
> I don't see the behaviour that you describe in the headers on my system.

Maybe I'm wrong on throwing the fault to glibc and actually it's the
kernel headers version?
[...checking...]
Well, just checked and yes, it's the kernel headers that have those files:

<output>
$ cat /usr/include/asm/errno.h
/* All asm/ files are generated and point to the corresponding
  * file in asm-i386 or asm-x86_64. To regenerate, run "generate-asm"
 */

#ifndef __i386STUB__ERRNO_H__
#define __i386STUB__ERRNO_H__

#ifdef __x86_64__
#include <asm-x86_64/errno.h>
#else
#include <asm-i386/errno.h>
#endif

#endif /* !__i386STUB__ERRNO_H__ */
$ dpkg -S /usr/include/asm/errno.h
linux-kernel-headers: /usr/include/asm/errno.h
</output>

I should have made that check before...
The output above is from the 2.6.11.2-0ubuntu18 linux-kernel-headers.
At home I believe Kubuntu 6.10 is based on the 2.6.12 kernel headers
(can't check that right now).

The difference is that instead of an "#else" it has a "#elif
__i386__", probably so they could catch more x86_64 compilation
problems.

Sorry about my previous bad assumption.

Best regards,
~Nuno Lucas

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to