From owner-freebsd-questions Sat Sep 5 05:54:47 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA22008 for freebsd-questions-outgoing; Sat, 5 Sep 1998 05:54:47 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from mail.netdirect.net (mail.netdirect.net [204.120.164.7]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA22003 for ; Sat, 5 Sep 1998 05:54:46 -0700 (PDT) (envelope-from angrick@netdirect.net) Received: from kryll2 (p6-term3-ind.netdirect.net [204.248.210.95]) by mail.netdirect.net (8.9.0/8.9.0) with SMTP id HAA24837 for ; Sat, 5 Sep 1998 07:53:38 -0500 (EST) Message-Id: <3.0.6.32.19980905075235.009504b0@netdirect.net> X-Sender: angrick@netdirect.net X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.6 (32) Date: Sat, 05 Sep 1998 07:52:35 +0000 To: freebsd-questions@FreeBSD.ORG From: Andrew Angrick Subject: odd gcc problem Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I have an odd thing happen when I'm trying to compile a c program. I get a bunch of errors from the include files. Some of the errors are: /usr/include/sys/socket.h - parse error before 'send' ...... - parameter has incomplete tpe ...... - data definition has no type or storage class. These errors come from more that one include file and only appear to be coming from files that are in subdirectories of ./include. Even if I try to compile a simple 'hello world' c program with socket.h, inet.h, and some others as includes i still get all those errors. If I take out the references, the errors go away. I've got the programs to compile once and I can't remember what I did. Is it possible that there could be something with the permissions going on here? I think I might have been logged in as root when I was able to compile things without any errors. Is there something I might be missing when I set up the user I'm logged in as? Thanks in advance. Andy Angrick To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message