Problems with 2.1.88 Building pppd

Carlos Terron Bueno (terron@esi.us.es)
Wed, 11 Mar 1998 02:14:51 +0100 (MET)


Today I compile de 2.1.88, then I patch the ppp-2.2.0f for use with the 2.1.x
series, and tehn I trie to compiling it. I have a lot of warning because
there are a lots of redefined and error:

The macro
#define CMSG_NXTHDR(mhdr, cmsg) __cmsg_nxthdr (mhdr, cmsg)
extern struct cmsghdr *__cmsg_nxthdr __P ((struct msghdr *__mhdr,
__cmsg_nxthdr (struct msghdr *__mhdr, struct cmsghdr *__cmsg)
#define CMSG_NXTHDR(mhdr, cmsg) __cmsg_nxthdr (mhdr, cmsg)
extern struct cmsghdr *__cmsg_nxthdr __P ((struct msghdr *__mhdr,
__cmsg_nxthdr (struct msghdr *__mhdr, struct cmsghdr *__cmsg)
>From /usr/include/sockectbits.h uses to params but from
/usr/include/linux/socket.h
#define __CMSG_NXTHDR(ctl, len, cmsg) __cmsg_nxthdr((ctl),(len),(cmsg))
__KINLINE struct cmsghdr * __cmsg_nxthdr(void *__ctl, __kernel_size_t
__size,
return __cmsg_nxthdr(__msg->msg_control, __msg->msg_controllen,
__cmsg);

hs three params. What is the problem?. I'm newbie with linux kernel, and
The compiler say me
/usr/include/linux/socket.h:89: conflicting types for `__cmsg_nxthdr'
/usr/include/socketbits.h:191: previous declaration of `__cmsg_nxthdr'
make[1]: *** [sys-linux.o] Error 1

I don't known if I missing something important
I uses a RH 5.0 system with glibc 2.0.6
Could somebody help me?

Thanks
Carlos Terron

____________________________________________________________________________
Drizzt Do'Urden Three rings for the Elves Kings under the Sky
terron@trajano.us.es Seven for the Dwarf_lords in their
http://trajano.us.es/~terron hall of stone
FIDO 2:345/410.107 Nine for the Mortal Men doomed to die

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu