From owner-freebsd-hackers@FreeBSD.ORG Tue May 15 13:57:13 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 59BDD16A402 for ; Tue, 15 May 2007 13:57:13 +0000 (UTC) (envelope-from nolis71cu@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.230]) by mx1.freebsd.org (Postfix) with ESMTP id 194AD13C448 for ; Tue, 15 May 2007 13:57:12 +0000 (UTC) (envelope-from nolis71cu@gmail.com) Received: by wx-out-0506.google.com with SMTP id s18so1932800wxc for ; Tue, 15 May 2007 06:57:12 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:from:to:subject:date:user-agent:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; b=jCj3whiCHMeLHdAYpWBb5uI1/1X5ssB1b7pPsveY5bJqsKKCyNbw62AV6Wq2h5FAvnqUzaxmGLQc2S3Mws7JAdxjURE9F1MuBd/yo6ckscg1nEiBZfEjXsFF6m1YdgytXIsWZ2JxJISVhZjK1eZVVUIP54GGQs/xsyM4WCSFMYc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:from:to:subject:date:user-agent:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; b=ObwVr1ipS65E+DhTXxVu7c4m+fPIXg6mV2HRR5OCU/4AXWvitlcwSfrvvrx9h3BfJGTKSJj3B4RVdoH5IizPBGWwFd05cxIQsP8YZqULCzxMgIdWY6GN8+ITYm9Ad+u5okj5MHpKiAz7M5i/4H//k41OnA6ZVNZX8+kAWPtGwQk= Received: by 10.70.67.4 with SMTP id p4mr11794731wxa.1179237432462; Tue, 15 May 2007 06:57:12 -0700 (PDT) Received: from ?192.168.0.31? ( [200.55.166.34]) by mx.google.com with ESMTP id h18sm7212794wxd.2007.05.15.06.57.03; Tue, 15 May 2007 06:57:09 -0700 (PDT) From: Manolo Valdes To: freebsd-hackers@freebsd.org Date: Tue, 15 May 2007 09:55:40 -0400 User-Agent: KMail/1.9.6 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200705150955.40383.nolis71cu@gmail.com> Subject: issue with net/if_ppp.h X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 May 2007 13:57:13 -0000 Hi guys doing a test just like the way cmake do it to find includes on the system ######test.c###### #include int main(){return 0;} ################ i got the following output: gcc test.c In file included from /usr/include/net/if_ppp.h:28, from test.c:1: /usr/include/net/ppp_defs.h:86: error: syntax error before "ext_accm" /usr/include/net/ppp_defs.h:146: error: syntax error before "time_t" In file included from /usr/include/net/if_ppp.h:29, from test.c:1: /usr/include/net/if.h:265: error: field `ifru_addr' has incomplete type /usr/include/net/if.h:266: error: field `ifru_dstaddr' has incomplete type /usr/include/net/if.h:267: error: field `ifru_broadaddr' has incomplete type /usr/include/net/if.h:299: error: field `ifra_addr' has incomplete type /usr/include/net/if.h:300: error: field `ifra_broadaddr' has incomplete type /usr/include/net/if.h:301: error: field `ifra_mask' has incomplete type /usr/include/net/if.h:368: error: field `addr' has incomplete type /usr/include/net/if.h:369: error: field `dstaddr' has incomplete type test.c:7:2: warning: no newline at end of file this test works on on Linux systems. does anybody knows if this is a bug or problem with the net/if_ppp.h header? thanks in advance Manolito -- Todo lo puedo en Cristo que me fortalece Filipenses. 4:13 --------------------------------------------------------- I can do all things through Christ who strengthens me. Philippians 4:13