Re: Problems compiling "net/core/sock.c" with libc6 (2.0.6-3)

Benjamin Redelings I (bredelin@UCSD.Edu)
Sat, 24 Jan 1998 20:12:45 -0800


Oh, note that all the problems here seem to come from
linux/include/net/route.h.
I suspect its not a libc6 problem, because the form of the includes has
changed since 2.1.80.

In 2.1.80, we have these includes:

#include <linux/config.h>
#include <net/dst.h>
#include <linux/in_route.h>
#include <linux/rtnetlink.h>

#include <linux/route.h>

in 2.1.81, we have:

#include <features.h>
#include <sys/socket.h>
#include <sys/types.h>

Note from my previous e-mail (first in this thread) that
several redefinition errors from socket.h, then from types.h. Some of
the errors are from files INCLUDED from sys/types.h, but should it be
surprising that sys/types.h defines some of the same symbols and
linux/types.h?

I'm using debian 2.0 with glibc6 v2.0.6 bugfix-3 on a PPro

THanks,
-BenRI