Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!asuvax!ncar!gatech!mcnc!uvaarpa!murdoch!turing!eas From: eas@turing.acs.virginia.edu (Edward A. Schwab) Newsgroups: comp.unix.aix Subject: RS6000/trn compiling help for a beginner Message-ID: <1991Jun10.165521.10248@murdoch.acc.Virginia.EDU> Date: 10 Jun 91 16:55:21 GMT Sender: usenet@murdoch.acc.Virginia.EDU Organization: University of Virginia Lines: 54 Please help me! I'm trying to compile trn on an RISC6000 running AIX3.1... When I start compiling, the make goes happily along for quite a while, but burps on ngdata.c... This is what it gives; I'm new to compiling on this machine (but I've compiled IRC and elm just file); could someone tell me what to modify in ngdata.c, any missing compiler options/libraries, etc that I'm not including? No matter what I try, I just can't get around this... :( I've also read/skimmed the bsdport document, but that hasn't helped me at all. Thanks! - Ed Schwab (eas@turing.acs.virginia.edu) (eschwab@polaris.cv.nrao.edu) --------------------------------------------------------------------- 351 | register struct *dp; .....................a... a - 1506-046: (S) Syntax error. 360 | while ((dp = readdir(dirp)) != ((struct *)0)) { ............a................................b...... a - 1506-045: (S) Undeclared variable. b - 1506-046: (S) Syntax error. 361 | if ((maybe = atol(dp->d_name)) < min && maybe > floor) { ........a....................................................... a - 1506-046: (S) Syntax error. 371 | if (! (filestat.st_mode & 0040000)) ............a.................................b a - 1506-046: (S) Syntax error. b - 1506-046: (S) Syntax error. 372 | min = maybe; ................a........... a - 1506-046: (S) Syntax error. 377 | closedir(dirp); ..................a a - 1506-046: (S) Syntax error. polaris_54% 1506-236: (W) Macro name FALSE has been redefined. 351 | register struct *dp; .....................a... a - 1506-046: (S) Syntax error. 360 | while ((dp = readdir(dirp)) != ((struct *)0)) { ............a................................b...... a - 1506-045: (S) Undeclared variable. b - 1506-046: (S) Syntax error. 361 | if ((maybe = atol(dp->d_name)) < min && maybe > floor) { ........a....................................................... a - 1506-046: (S) Syntax error. 371 | if (! (filestat.st_mode & 0040000)) ............a.................................b a - 1506-046: (S) Syntax error. b - 1506-046: (S) Syntax error. 372 | min = maybe; ................a........... a - 1506-046: (S) Syntax error. 377 | closedir(dirp); ..................a