%% /u/sy/beebe/src/dired/dired-4.03/README.DARWIN, Fri May 11 16:29:58 2001 %% Edit by Nelson H. F. Beebe On Apple Darwin 1.3.3 (MacOS 10.x), the system header files declare re_comp() and re_exec(), and the manual pages document that these are found in library -lcompat. However, that library is missing. Thus, configure sets #define HAVE_RE_COMP_DECLARATION 1 in config.h, and regexpr.o then is compiled without re_comp() and re_exec(), which then cause linking to fail: cc -DV4P2 -DHAVE_CONFIG_H -I. -o dired dired.o color.o cshsystem.o regexpr.o -lcurses /usr/bin/ld: Undefined symbols: _re_comp _re_exec The solution is simple: edit config.h to change line 168 to 168:/* #define HAVE_RE_COMP_DECLARATION 1 */ Compilation and linking then succeeds. I will NOT adjust configure.in to fix this bug in Apple Darwin; that system is so shoddily done that this is only one of a large number of problems remain in this supposed `production' operating system for the Apple Macintosh.