Re: 2.3.40: doubly defined symbol in header files

From: Ray L (rayl@mail.com)
Date: Sat Jan 29 2000 - 01:57:44 EST


On Sat, Jan 29, 2000 at 06:23:31AM +0100, Meino Christian Cramer wrote:
> Hi!
>
> Compiling different, more low level located things like nmap, pppd etc
> I have got warnings about a doubly/redefined defined symbol:
>
> /usr/include/bits/resource.h:109: warning: `RLIM_INFINITY' redefined
> /usr/include/asm/resource.h:25: warning: this is the location of the previous...

i bet you have a 2.0 base system and are running with 2.2/2.3 kernel? put
the kernel-headers RPM back like it was and build your kernel elsewhere...

> Additionally it seems to me, that the straight forward symbol links from
> /usr/src/linux/include...(and subs) to /usr/include are no longer valid.
> I have grepped the kernel sources for a hint but didn't found anything
> useful. WHAT is currently symlinked ffrom the kernel source?

afaik nothing is supposed to be symlinked anymore. the libc people are
supposed to maintain copies of the correct version of kernel headers.

-- 
-----------------------------------------------------------------------------
  Ray Lehtiniemi (rayl@mail.com) (rayl@optitech.com)

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jan 31 2000 - 21:00:23 EST