On Wed, 2007-01-31 at 18:42 +0000, Nuno Lucas wrote: > 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...
Don't worry about it. On my system, packaging is different : all the files called errno.h are from the package I mentioned earlier, not from the kernel source package. dannypc: {19} ls -l /usr/include/*/errno.h -rw-r--r-- 1 root root 84 Jun 18 2006 /usr/include/asm/errno.h -rw-r--r-- 1 root root 5124 Jun 18 2006 /usr/include/asm-generic/errno.h -rw-r--r-- 1 root root 2129 Jul 24 2006 /usr/include/bits/errno.h -rw-r--r-- 1 root root 1027 Jun 18 2006 /usr/include/linux/errno.h -rw-r--r-- 1 root root 19 Jul 24 2006 /usr/include/sys/errno.h dannypc: {20} rpm -q -f !$ rpm -q -f /usr/include/*/errno.h glibc-devel-2.4-4mdk glibc-devel-2.4-4mdk glibc-devel-2.4-4mdk glibc-devel-2.4-4mdk glibc-devel-2.4-4mdk dannypc: {21} > 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. Can you remind me of the errors we're trying to solve ? I know you can't build gdb, but what exactly is the problem ? Danny -- Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info
signature.asc
Description: This is a digitally signed message part
------------------------------------------------------------------------- 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