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.
Dallas, It appears that you have previously run ./configure since we are seeing "cached" values. I have built here using: %gcc -v gcc version egcs-2.91.66 19990314 (egcs-1.1.2 release) I suggest you run: "make distclean" to remove any cached configuration, then verify what version of gcc you are using- the error below appears to be related to your installation of gcc. Rerun configure and run "make all" before trying "make install" and "make install_setuids". If you still have trouble, please let us know what version of gcc you are running. Steve Chiswell Unidata User Support >From: Dallas Masters <address@hidden> >Organization: UCAR/Unidata >Keywords: 200008242257.e7OMvCN06405 >Hello, > > I'm trying to compile ldm-5.1.2 on SunOs 5.7 using gcc. I have >the following error in "make install": > >/home/ldm/ldm-5.1.2/src> echo $CC >gcc >/home/ldm/ldm-5.1.2/src> echo $LDMHOME >/home/ldm >/home/ldm/ldm-5.1.2/src> ./configure >loading cache ./config.cache >checking user-defined C compiler "gcc" >checking C compiler... works >checking the installation prefix... /home/ldm/ldm-5.1.2 >checking domain name... colorado.edu >checking how to run the C preprocessor... (cached) gcc -E >checking for AIX... no >checking for HP-UX... no >checking whether memory-mapping by region is appropriate... no >checking the C preprocessor... works >checking for ar... (cached) ar >checking for perl... (cached) /usr/local/bin/perl >checking for POSIX shell... /bin/sh >checking for yacc... (cached) yacc >checking for yacc library... >checking for yyerror() in default library(s)... no >checking for yyerror() in -ly... yes >checking mmap()... yes >checking LDMHOME... /home/ldm >checking size of int... (cached) 4 >checking size of long... (cached) 4 >checking for ANSI C header files... (cached) yes >checking for size_t... (cached) yes >checking for off_t... (cached) yes >checking for ssize_t... (cached) yes >checking for ptrdiff_t... (cached) yes >checking for socklen_t... (cached) yes >checking for stdlib.h... (cached) yes >checking for unistd.h... (cached) yes >checking for fsync... (cached) yes >checking for ftruncate... (cached) yes >checking for memmove... (cached) yes >checking for memcmp... (cached) yes >checking for rename... (cached) yes >checking for strerror... (cached) yes >checking for waitpid... (cached) yes >checking for strdup... (cached) yes >checking for seteuid... (cached) yes >checking for setenv... (cached) no >checking for mmap... (cached) yes >checking for sig_atomic_t in signal.h... defined >checking for working const... (cached) yes >checking for st_blksize in struct stat... (cached) yes >checking for sigaction... (cached) yes >checking RPC and socket references... -R/usr/ucblib -L/usr/ucblib -lrpcsoc >-lnsl -lsocket >checking ulog defines... -D_DEV_CONSLOG >checking for gdbm_open in -lgdbm... (cached) yes >checking for gdbm.h... (cached) yes >creating ./config.status >creating Makefile >creating config/Makefile >creating ulog/Makefile >creating misc/Makefile >creating protocol/Makefile >creating pq/Makefile >creating pqact/Makefile >creating pqcat/Makefile >creating pqmon/Makefile >creating pqutil/Makefile >creating pqcreate/Makefile >creating pqexpire/Makefile >creating pqing/Makefile >creating pqsend/Makefile >creating pqbinstats/Makefile >creating pqbinstats/mailpqstats >creating pqinsert/Makefile >creating pqsurf/Makefile >creating server/Makefile >creating ldmping/Makefile >creating scripts/Makefile >creating scripts/ldmadmin >creating scripts/ldmprods >creating scripts/ldmfail >creating scripts/netcheck >creating scripts/syscheck >creating scripts/ldmcheck >creating notifyme/Makefile >creating send/Makefile >creating feedme/Makefile >creating scour/Makefile >creating config/ldmconfig.h >config/ldmconfig.h is unchanged >/home/ldm/ldm-5.1.2/src> make install >cp: cannot access libldm.a >make: [/home/ldm/ldm-5.1.2/lib/libldm.a] Error 2 (ignored) >make[1]: Entering directory `/home/ldm/ldm-5.1.2/src' > >Making `install' in directory /home/ldm/ldm-5.1.2/src/config > >make[2]: Entering directory `/home/ldm/ldm-5.1.2/src/config' >make[2]: Nothing to be done for `install'. >make[2]: Leaving directory `/home/ldm/ldm-5.1.2/src/config' > >Returning to directory /home/ldm/ldm-5.1.2/src > >make[1]: Leaving directory `/home/ldm/ldm-5.1.2/src' >make[1]: Entering directory `/home/ldm/ldm-5.1.2/src' > >Making `install' in directory /home/ldm/ldm-5.1.2/src/ulog > >make[2]: Entering directory `/home/ldm/ldm-5.1.2/src/ulog' >gcc -g -DHAVE_CONFIG_H -I../config -c -o ulog.o ulog.c >ulog.c: In function `ulog': >ulog.c:481: `__builtin_va_alist' undeclared (first use in this function) >ulog.c:481: (Each undeclared identifier is reported only once >ulog.c:481: for each function it appears in.) >ulog.c: In function `syslog': >ulog.c:517: `__builtin_va_alist' undeclared (first use in this function) >ulog.c: In function `serror': >ulog.c:645: `__builtin_va_alist' undeclared (first use in this function) >ulog.c: In function `uerror': >ulog.c:690: `__builtin_va_alist' undeclared (first use in this function) >ulog.c: In function `unotice': >ulog.c:721: `__builtin_va_alist' undeclared (first use in this function) >ulog.c: In function `uinfo': >ulog.c:752: `__builtin_va_alist' undeclared (first use in this function) >ulog.c: In function `udebug': >ulog.c:786: `__builtin_va_alist' undeclared (first use in this function) >make[2]: *** [ulog.o] Error 1 >make[2]: Leaving directory `/home/ldm/ldm-5.1.2/src/ulog' >make[1]: *** [subdir_target] Error 1 >make[1]: Leaving directory `/home/ldm/ldm-5.1.2/src' >make: *** [ulog/install] Error 2 > > >Dallas > >------------------------------------------ >Dallas Masters >Colorado Center for Astrodynamics Research >University of Colorado, Boulder >(303) 492-4075 >http://ccar.colorado.edu >------------------------------------------ >