Mailing List Archive

Support open source code!


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

Re: PPP modules with 1.3.59



>>>>> "Craig" == Craig Oda <craig@example.com> writes:

    Craig> I'm finally upgrading my system to the 1.3.59 kernel and am
    Craig> having problems compiling it with gcc2.7.0.  The kernel
    Craig> loads fine but the modules do not compile:

    Craig>                  from /usr/include/netinet/ip_tcp.h:1, from
    Craig> /usr/include/netinet/ip_tcp.h:1, from

Looks to me like /usr/include/netinet/ip_tcp.h is including itself.
Are you including any network drivers in the kernel, or are they all
modules in your configuration?  Anyway, look for (a) something weird
in ip_tcp.h (line 1), or (b) an incorrect symlink in
/usr/include/netinet.  The latter is more likely in my opinion.  For
some reason, it's harder to overwrite symlinks than regular files
(that could just be me).  Oh, ad maybe one of your toplevel symlinks
for the linux source is wrong (that seems least likely).

    Craig> /usr/include/netinet/tcp.h:1, from ppp.c:105:
    Craig> /usr/include/netinet/ip_tcp.h:1: macro or `#include'
    Craig> recursion too deep
    Craig> In file included from ppp.c:107:
    Craig> slhc.h:128: field `cs_tcp' has incomplete type make[2]: ***

This looks more mysterious, but could be a consequence of the failed
include.

    Craig> [ppp.o] Error 1 make[2]: Leaving directory
    Craig> `/usr/src/linux/drivers/net' make[1]: *** [modules] Error 2
    Craig> make[1]: Leaving directory `/usr/src/linux/drivers' make:
    Craig> *** [modules] Error 2 elsie:/usr/src/linux#

-- 
                            Stephen J. Turnbull
Institute of Policy and Planning Sciences                    Yaseppochi-Gumi
University of Tsukuba                      http://turnbull.sk.tsukuba.ac.jp/
Tennodai 1-1-1, Tsukuba, 305 JAPAN                 turnbull@example.com


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links