This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Benjamin, >Date: Tue, 1 Apr 2003 12:53:44 -0500 (EST) >From: "Benjamin J. Cotton" <address@hidden> >Organization: Purdue University >To: <address@hidden> >Subject: LDM 6 upgrade logs The above message contained the following: > Making `all' in directory /net/anvil/project/ldm/ldm-6.0.2/src/config > > > Returning to directory /net/anvil/project/ldm/ldm-6.0.2/src > > > Making `all' in directory /net/anvil/project/ldm/ldm-6.0.2/src/ulog > > cc -c -O -I../config ulog.c > ulog.c:71: unterminated `#if' conditional > *** Error code 1 Hmm... I find this very hard to believe because I've compiled that same source many times on many different systems. Also, that '#if' conditional is quite well-terminated at line 81. 71 #if (LOG_NFACILITIES > 0) 72 /* 73 * BSD 4.3 style, the logger attempts to open a connection to 74 * a named fifo or an AF_UNIX socket called ULOGNAME. 75 */ 76 #ifdef _DEV_CONSLOG 77 #define ULOGNAME "/dev/conslog" 78 #else 79 #define ULOGNAME "/dev/log" 80 #endif /* !_DEV_CONSLOG */ 81 #endif Tell me more about your development environment: What is the output of the command "uname -a". What is the absolute pathname of the "cc" compiler (try executing "type cc" or "which cc")? What version is it? Regards, Steve Emmerson