[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

compiling sendmail on libc6: redefinitions in socket.h



Hi,

i'm trying to compile sendmail 8.9.0 on a libc6 system, but all i get is
tons of error  like the following:

----- snip -----
In file included from /usr/include/linux/if.h:23,
                 from /usr/include/net/if.h:1,
                 from conf.c:4200:
/usr/include/linux/socket.h:38: warning: `SCM_RIGHTS' redefined
/usr/include/socketbits.h:211: warning: this is the location of the previous definition
/usr/include/linux/socket.h:41: warning: `SOCK_STREAM' redefined
/usr/include/socketbits.h:40: warning: this is the location of the previous definition
[...]
In file included from /usr/include/linux/if.h:23,
                 from /usr/include/net/if.h:1,
                 from conf.c:4200:
/usr/include/linux/socket.h:9: redefinition of `struct sockaddr'
/usr/include/linux/socket.h:14: redefinition of `struct linger'
/usr/include/linux/socket.h:26: redefinition of `struct msghdr'
----- snip -----

(yes i have kernel headers 2.0.32!)

does anyone know how to get around this?

Bye,
	Lutz Kotoll

-- 
miknet Internet Based Services         lkotoll@mik.net
Lutz Kotoll                      Fon: +49 69 920785 52
Stephanstr. 3                    Fax: +49 69 920785 11
D-60313 Frankfurt/Main              http://www.mik.net


--  
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: