********* NETATALK 1.3.3 BUG REPORT ************************* Subject: Netatalk won't compile on my machine! Apparently this has to do with cross-platform variations in the structures defined in some of the 3 (three!) dirent.h files which reside in the linux source tree... Environment: Using Netatalk-1.3.3 on a Pentium II running Linux 2.0.29. Installed from Slackware 3.2 Description: I was unable to compile the source with the "make" command. I isolated the problem to the afpd program compilation specifically unix.c and enumerate.c both reported the following error: (for example) ... enumerate.c: In function `afp_enumerate': enumerate.c:171: structure has no member named `d_namlen' enumerate.c:173: structure has no member named `d_namlen' enumerate.c:186: structure has no member named `d_namlen' enumerate.c:187: structure has no member named `d_namlen' ... Repeat-By: # cd /usr/src # cp /tmp/netatalk-1.3.3.tgz . # gzip -d *.tgz # tar -xvf *.tar # cd net* # make Fix: After finding a similar line as a compiler option in one of the dirent.h files (/usr/include/dirent.h, __USE_GNU), I added the following line to each of unix.c and enumerate.c in the .../netatalk-1.3.3/etc/afpd directory: #define d_namlen d_reclen This fixed the problem, and subsequently, # make; make install ran from the /usr/src/netatlk-1.3.3 directory as expected and the resulting executables (in /usr/local/atalk/etc) worked fine. Roger McNichols, Ph.D. BioTex, Inc. Bryan, Texas root@mcnichols.tca.net