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

Problem with 2.2.12 compile tcp.h pmtu_cookie



Hi,

I have libc6-dev installed and have tried compiling using make-kpkg and
make zImage etc but I get the same errors.
I am compiling after ln -s /usr/src/linux/include/linux /usr/include/linux
and ln -s /usr/src/linux/include/asm-i386 /usr/include/asm


here is a sample

In file included from /usr/include/sys/types.h:30,
                 from /usr/include/bits/socket.h:32,
                 from /usr/include/sys/socket.h:34,
                 from /usr/src/linux/include/net/route.h:25,
                 from /usr/src/linux/include/net/ip.h:32,
                 from slhc.c:71:
/usr/include/bits/types.h:95: warning: `__NFDBITS' redefined
/usr/src/linux/include/linux/posix_types.h:30: warning: this is the
location of the previous definition
/usr/include/bits/types.h:97: warning: `__FDMASK' redefined
/usr/src/linux/include/linux/posix_types.h:42: warning: this is the
location of the previous definition

this goes on for some time with a limited number of files giving back many
redifned error messages untill building dies with this error

In file included from slhc.c:74:
/usr/src/linux/include/net/tcp.h: In function `tcp_current_mss':
/usr/src/linux/include/net/tcp.h:632: dereferencing pointer to incomplete
type
/usr/src/linux/include/net/tcp.h:633: dereferencing pointer to incomplete
type
make[3]: *** [slhc.o] Error 1

the relevant bit of slhc.c is this

        if (dst && dst->pmtu != tp->pmtu_cookie)
                mss_now = tcp_sync_mss(sk, dst->pmtu);

where i believe pmtu_cookie and pmtu are the incomplete types
where are these defined or what is going on or something ... HELP :)
 
meridian
 me@NOSPAM.tha.net


Reply to: