From owner-freebsd-ports Tue Apr 15 13:30:40 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id NAA09017 for ports-outgoing; Tue, 15 Apr 1997 13:30:40 -0700 (PDT) Received: from fps.biblos.unal.edu.co ([168.176.37.11]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id NAA08983 for ; Tue, 15 Apr 1997 13:30:02 -0700 (PDT) From: pgiffuni@fps.biblos.unal.edu.co Received: from localhost by fps.biblos.unal.edu.co (AIX 4.1/UCB 5.64/4.03) id AA23446; Tue, 15 Apr 1997 15:31:05 -0500 Date: Tue, 15 Apr 1997 15:31:04 -0500 (EST) To: ports@freebsd.org Subject: syntax error in dirent.h ? Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-ports@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Howdy, I am trying to port VRweb (A VRML browser). It's supposed to build out of the box, but I keep getting this error: _______________ ....(FWIW I have the complete log-file) + make Makefiles Making Makefiles for FREEBSD in ./FREEBSD imake -DFreeBSD -DHGExtraCCDefines="-DFreeBSD -DHG_OSMaj=2 -DHG_OSMin=2-RELEASE" -T template -I/usr/home/pedro/ports/vrweb/work/vrweb-1.3/config SpecialArchitectureFlags -DSrcDir=/usr/home/pedro/ports/vrweb/work/vrweb-1.3/src/common/OS -DTOPDIR=../. -DCURDIR=./FREEBSD -DInObjectCodeDir -s FREEBSD/Makefile + make depend depending for FREEBSD in ./FREEBSD make[1]: Entering directory `/usr/home/pedro/ports/vrweb/work/vrweb-1.3/src/common/OS/FREEBSD' gccmakedep -s "# DO NOT DELETE" -- -g -DASSERT -Dcplusplus_2_1 -DOSMajorVersion=2 -DOSMinorVersion=1 -I/usr/X11R6/include -DFreeBSD -DHG_OSMaj=2 -DHG_OSMin=2-RELEASE -I/usr/home/pedro/ports/vrweb/work/vrweb-1.3/installed/include -- /usr/home/pedro/ports/vrweb/work/vrweb-1.3/src/common/OS/*.C make[1]: Leaving directory `/usr/home/pedro/ports/vrweb/work/vrweb-1.3/src/common/OS/FREEBSD' === Executing "make all install" in src/common/OS making all for FREEBSD in ./FREEBSD make[1]: Entering directory `/usr/home/pedro/ports/vrweb/work/vrweb-1.3/src/common/OS/FREEBSD' g++ -O -g -DASSERT -Dcplusplus_2_1 -DOSMajorVersion=2 -DOSMinorVersion=1 -I/usr/X11R6/include -DFreeBSD -DHG_OSMaj=2 -DHG_OSMin=2-RELEASE -I/usr/home/pedro/ports/vrweb/work/vrweb-1.3/installed/include -c /usr/home/pedro/ports/vrweb/work/vrweb-1.3/src/common/OS/directory.C In file included from /usr/include/dirent.h:43, from /usr/home/pedro/ports/vrweb/work/vrweb-1.3/src/common/OS/directory.C:40: /usr/include/sys/dirent.h:52: syntax error before `;' /usr/include/sys/dirent.h:53: syntax error before `;' /usr/include/sys/dirent.h:54: syntax error before `;' /usr/include/sys/dirent.h:55: syntax error before `;' make[1]: *** [directory.o] Error 1 ___________________________ I'm using using 2.2-Release, and we all have the same headers, I didn't see that syntax problem anywhere.. directory.C says: _________________ /* * BSD tends to have things in , System V uses . * So far as I can tell, POSIX went with . Ultrix * includes , which is silly because * needs . */ #include "types.h" #ifdef apollo #include #include #else #include #endif #include #include #include #include _________________ Any help here? best regards, Pedro.