Hi, here's a little patch to make acm-4.7 compile under Linux. It works for me, I hope it will for you but I'm not responsible for any damge this could do etc. just use patch -p0 < 'thispatch' while you're in the acm parent source directory (ie ls => acm-4.7) Have fun! Jeremie PETIT petit@aurora.unice.fr Note: I've sent this patch to the author, but he didn't reply, so I put it here. ------------------ patch file --------------------------------(snip)--- diff -c -r acm-4.7/V/lib/VReadObject.c acm-4.7+/V/lib/VReadObject.c *** acm-4.7/V/lib/VReadObject.c Tue Mar 1 19:56:51 1994 --- acm-4.7+/V/lib/VReadObject.c Fri May 26 19:28:34 1995 *************** *** 116,122 **** --- 116,124 ---- { register int c, state = STATE_INITIAL, seen_dot = 0; register struct keyword_info *q; + #ifndef linux extern double atof(); + #endif token_length = 0; diff -c -r acm-4.7/src/acm.c acm-4.7+/src/acm.c *** acm-4.7/src/acm.c Fri Jan 28 15:24:37 1994 --- acm-4.7+/src/acm.c Fri May 26 21:16:44 1995 *************** *** 40,46 **** jmp_buf dead; ! #ifdef SIGVOID void #endif done () { --- 40,46 ---- jmp_buf dead; ! #if defined(SIGVOID) || defined(linux) void #endif done () { *************** *** 63,69 **** --- 63,73 ---- #else int pid; #endif + #ifndef linux struct passwd *pwent, *getpwuid(); + #else + struct passwd *pwent; + #endif struct sockaddr_in sin; struct hostent *h = (struct hostent *) NULL; diff -c -r acm-4.7/src/inventory.c acm-4.7+/src/inventory.c *** acm-4.7/src/inventory.c Tue Mar 1 19:57:21 1994 --- acm-4.7+/src/inventory.c Fri May 26 19:29:36 1995 *************** *** 411,417 **** --- 411,419 ---- { register int c, state = STATE_INITIAL; register struct keyword_info *q; + #ifndef linux extern double atof(); + #endif token_length = 0; diff -c -r acm-4.7/src/kill-acms acm-4.7+/src/kill-acms *** acm-4.7/src/kill-acms Tue Nov 2 22:58:01 1993 --- acm-4.7+/src/kill-acms Fri May 26 19:09:29 1995 *************** *** 1,6 **** --- 1,8 ---- #! /bin/sh if [ "`uname`" = "SunOS" ]; then pscmd="ps -aux" + elif [ "`uname`" = "Linux" ]; then + pscmd="ps -aux" else pscmd="ps -ef" fi diff -c -r acm-4.7/src/manifest.h acm-4.7+/src/manifest.h *** acm-4.7/src/manifest.h Tue Oct 4 16:35:52 1994 --- acm-4.7+/src/manifest.h Fri May 26 16:32:57 1995 *************** *** 32,38 **** #ifdef hpux #define sigvec sigvector #else ! #ifdef SVR4 #define sigvec sigaction #define sv_handler sa_handler #define sv_mask sa_mask --- 32,38 ---- #ifdef hpux #define sigvec sigvector #else ! #if defined(SVR4) || defined(linux) #define sigvec sigaction #define sv_handler sa_handler #define sv_mask sa_mask diff -c -r acm-4.7/src/server.c acm-4.7+/src/server.c *** acm-4.7/src/server.c Thu Sep 29 17:31:18 1994 --- acm-4.7+/src/server.c Fri May 26 19:30:38 1995 *************** *** 60,66 **** --- 60,68 ---- int sdebug = 1; int listen_socket; char *sceneFile = (char *) NULL; + #ifndef linux extern double atof(); + #endif void parseinfo (s, a, b, c) char *s, *a, *b, *c; {