Quoting Sam Goldman <[EMAIL PROTECTED]>: Hi,
> I know that CVS builds are not guaranteed, but I figure you might want > to > know about problems so they can be fixed, right? Yes, thanks. > I am on the most recent version of Darwin and there is a problem with > Xedit > and it complains that dirent.h is malformed (specifically, missing a > semicolon): > > installing in programs/xedit... > making all in programs/xedit/lisp... > $(_NULLCMD_) expands to empty string > $(_NULLCMD_) expands to empty string > $(_NULLCMD_) expands to empty string > $(_NULLCMD_) expands to empty string > $(_NULLCMD_) expands to empty string > $(_NULLCMD_) expands to empty string > rm -f pathname.o > /usr/bin/cc -c -O2 -Wall -Wpointer-arith -no-cpp-precomp -fno-common > -I. > -Imp -I- -I../../.. -I../../../exports/include -D__powerpc__ > -D__DARWIN__ -DNO_ALLOCA -DX_LOCALE -DLISP > -DLISPDIR='"/usr/X11R6/lib/X11/xedit/lisp"' > pathname.c > In file included from /usr/include/dirent.h:64, > from pathname.c:32: > /usr/include/sys/dirent.h:73: parse error before `u_int32_t' > /usr/include/sys/dirent.h:73: warning: no semicolon at end of struct > or > union > /usr/include/sys/dirent.h:74: warning: data definition has no type or > storage class > /usr/include/sys/dirent.h:75: parse error before `d_type' > /usr/include/sys/dirent.h:75: warning: data definition has no type or > storage class > /usr/include/sys/dirent.h:76: parse error before `d_namlen' > /usr/include/sys/dirent.h:76: warning: data definition has no type or > storage class > /usr/include/sys/dirent.h:83: parse error before `}' > pathname.c: In function `Lisp_Directory': > pathname.c:313: invalid use of undefined type `struct dirent' > pathname.c:313: dereferencing pointer to incomplete type > pathname.c:316: invalid use of undefined type `struct dirent' > pathname.c:316: dereferencing pointer to incomplete type > pathname.c:330: invalid use of undefined type `struct dirent' > pathname.c:330: dereferencing pointer to incomplete type > *** Error code 1 > > Hope I am doing the right thing by posting this... I believe it should be very simple to fix, the first file included by pathname.c is dirent.h, please try adding the line: #include <stdio.h> before the line: #include <dirent.h> and then, to test, just run make in the directory xc/programs/xedit/lisp > Thanks, > Sam > > -- > Windows is a 32-bit patch to a 16-bit shell for an 8-bit operating > system > written for a 4-bit processor by a 2-bit company without 1 bit of > sense. > > _______________________________________________ > Xpert mailing list > [EMAIL PROTECTED] > http://XFree86.Org/mailman/listinfo/xpert Paulo _______________________________________________ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
