Solution: Re: compiling sendmail on libc6: redefinitions in socket.h
Hi,
[regarding include file problems while compiling sendmail from the
original sources:
----- 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:221: 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.h9: 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 -----
]
On Fri, 19 Jun 1998, Igor Grobman wrote:
> Take a look at the debian patch which is included in the sendmail source
> package (debian/hamm/hamm/source/mail/sendmail*diff.gz). It probably has all
> the libc6 fixes. This way you will save yourself a lot of time figuring out
> and fixing the errors.
it didn't have anything to do with sendmail (as i already suspected). i
already looked through the diffs, but thanks for the tip.
The solution i came accross by accident was:
the libc6-dev package was installed, but broken in some way (i can't
figure it out anymore). i reinstalled it and everything went fine...
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: