find where #include <dirent.h> is and put #include <sys/types.h> right
before it.

[EMAIL PROTECTED] writes:
>where are these types defined? i cant find them anywhere. i used 
>./configure --enable-lock-dir=/sw/var/lock --enable-dfl-
>port=/dev/tty.modem --includedir="/sw/include/"
>
>cc -DHAVE_CONFIG_H -I. -I. -I..   -I../lib  -g -O2 -I../intl -c ipc.c
>cc -DHAVE_CONFIG_H -I. -I. -I..   -I../lib  -g -O2 -I../intl -c windiv.c
>/usr/include/sys/dirent.h:73: undefined type, found `u_int32_t'
>/usr/include/sys/dirent.h:74: undefined type, found `u_int16_t'
>/usr/include/sys/dirent.h:75: undefined type, found `u_int8_t'
>/usr/include/sys/dirent.h:76: undefined type, found `u_int8_t'
>cpp-precomp: warning: errors during smart preprocessing, retrying in 
>basic mode
>In file included from /usr/include/dirent.h:64,
>                  from windiv.c:22:
>/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 `}'
>make[2]: *** [windiv.o] Error 1
>make[1]: *** [all-recursive] Error 1
>make: *** [all-recursive-am] Error 2

.^`.,][JFH][`.,.][JFH][.^`.,
  Justin F. Hallett - Systems Analyst               
          Phone: (780)-408-3094
            Fax: (780)-454-3200
        E-Mail: [EMAIL PROTECTED]
 .^`.,][JFH][`.,.][JFH][.^`.,


_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to