Date: Tue, 27 May 1997 20:15:29 -0400 From: "Donald J. Maddox" <root@cola112.scsn.net> To: Satoshi Asami <asami@FreeBSD.ORG> Cc: joerg@FreeBSD.ORG, ports@FreeBSD.ORG Subject: Re: acm broken in -current? Message-ID: <19970527201529.08649@cola112.scsn.net> In-Reply-To: <199705272211.PAA15176@silvia.HIP.Berkeley.EDU>; from Satoshi Asami on Tue, May 27, 1997 at 03:11:59PM -0700 References: <199705272211.PAA15176@silvia.HIP.Berkeley.EDU>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, May 27, 1997 at 03:11:59PM -0700, Satoshi Asami wrote: > This one is weird.... > > Satoshi > ------- > ===> Configuring for acm-4.7 > checking for ranlib > checking how to run the C preprocessor > checking for ANSI C header files > checking for stdlib.h > checking for malloc.h > checking for unistd.h > checking for elf.h > checking for return type of signal handlers > checking for X include and library files with xmkmf > checking for -laudio > checking for AuCloseServer > checking for ACloseAudio > checking for -lnsl > checking for -lsocket > checking for -ldnet_stub > checking for -lbsd > checking for -lm > checking for strdup > checking for gettimeofday > checking for setsid > checking for rand > checking for random > Hmm. Your system does not support either random() or rand(). > ACM needs one of the random number generators to operate. > *** Error code 1 Well, I can tell you that it's failing because: 1) The configure script looks for elf.h (we have it), and decides we are SVR4. 2) The configure script adds '-lelf' to the list of libraries to link with (we don't have it). 3) When the configure script tries to compile the test file that determines whether or not we have rand{om}, it fails because ld cannot find -lelf. I have no idea what the right fix is. Strangely, I find that if I execute 'configure' with `sh -x configure`, it succeeds(!)... What do you make of that? -- Donald J. Maddox (dmaddox@scsn.net)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19970527201529.08649>