ianh@bhpmrl.oz.au (Ian Hoyle) (05/31/90)
Has anyone successfully built elm2.3 on a SiliconGraphics machine ?? On starting the compilation, cpp gives up with cd src; /bin/make -b all cc -O -I../hdrs -c addr_util.c cpp: error ../hdrs/../config.h:404: undefined control *** Error code 1 It just doesn't like the ../hdrs/../config.h path construction. I know I could easily hack the source, but that can make updates for patches hard to maintain. ian -- Ian Hoyle /\/\ / / /\ BHP Melbourne Research Laboratories / / / \ 245 Wellington Rd, Mulgrave, 3170 / / / /\ \ AUSTRALIA \ \/ / / / \ / / / Phone : +61-3-560-7066 \/\/\/ ACSnet : ianh@bhpmrl.oz.au Internet: ianh%bhpmrl.oz.au@uunet.uu.net
wieland@ea.ecn.purdue.edu (Jeffrey J Wieland) (05/31/90)
In article <1561@merlin.bhpmrl.oz.au> ianh@bhpmrl.oz.au (Ian Hoyle) writes: >Has anyone successfully built elm2.3 on a SiliconGraphics machine ?? >On starting the compilation, cpp gives up with > > cd src; /bin/make -b all > cc -O -I../hdrs -c addr_util.c >cpp: error ../hdrs/../config.h:404: undefined control >*** Error code 1 I had the same problem compiling it on a 3B1 with Gnu-CC 1.37.1. If you look at line 404 in config.h (which is in the same directory as the master makefile, configuration scripts, etc.), you will see that it looks something like: # SOMETHING_TO_BE_DEFINED /* */ Which is exactly what your preprocessor is telling you -- an undefined control. This did not happen with our 3B2, SVR3.1.1, compiler issue 4.2. -- Jeff Wieland wieland@acn.purdue.edu
jwas@PacBell.COM (Joe Wasik) (06/01/90)
In article <1561@merlin.bhpmrl.oz.au> ianh@bhpmrl.oz.au (Ian Hoyle) writes: >On starting the compilation, cpp gives up with > > cd src; /bin/make -b all > cc -O -I../hdrs -c addr_util.c >cpp: error ../hdrs/../config.h:404: undefined control >*** Error code 1 I have had the exact same problem. Look at line 404 and you'll see that the 'define' or the 'undef' is missing. Simply key it in with a syntax similar to the rest of config.h. (The variable states whether or not your signal() returns a void or an int) -- Joe Wasik - PacBell, 2600 Camino Ramon, 4e750, San Ramon, CA 94583 823-2422 jwas@pbhyf.PacBell.COM or {att,bellcore,sun,ames,pyramid}!pacbell!pbhyf!jwas "I have good news. You're favorite gum is comming back in style" -- Dancing Dwarf
ianh@merlin.bhpmrl.oz.au (Ian Hoyle) (06/07/90)
From article <1990May31.160809.576@ecn.purdue.edu>, by wieland@ea.ecn.purdue.edu (Jeffrey J Wieland): > In article <1561@merlin.bhpmrl.oz.au> ianh@bhpmrl.oz.au (Ian Hoyle) writes: >>Has anyone successfully built elm2.3 on a SiliconGraphics machine ?? >>On starting the compilation, cpp gives up with >> >> cd src; /bin/make -b all >> cc -O -I../hdrs -c addr_util.c >>cpp: error ../hdrs/../config.h:404: undefined control >>*** Error code 1 > > I had the same problem compiling it on a 3B1 with Gnu-CC 1.37.1. If > you look at line 404 in config.h (which is in the same directory as > the master makefile, configuration scripts, etc.), you will see that > it looks something like: > > # SOMETHING_TO_BE_DEFINED /* */ > > Which is exactly what your preprocessor is telling you -- an undefined > control. > > This did not happen with our 3B2, SVR3.1.1, compiler issue 4.2. I really blew this one didn't I :-( The answer as pointed out above is __really__ obvious. Thanx to all the respondees to my original message. ian PS and yes, I'm using elm2.3 just fine on my 240GTX. -- Ian Hoyle /\/\ / / /\ BHP Melbourne Research Laboratories / / / \ 245 Wellington Rd, Mulgrave, 3170 / / / /\ \ AUSTRALIA \ \/ / / / \ / / / Phone : +61-3-560-7066 \/\/\/ ACSnet : ianh@bhpmrl.oz.au Internet: ianh%bhpmrl.oz.au@uunet.uu.net