Re: ANN: Lush 2.0 beta release

Raymond Martin <[email protected]> Mon, 19 Oct 2009 11:48:32 -0400
Newsgroups gmane.lisp.lush.devel
Message-ID <[email protected]>
On October 19, 2009 03:24:24 am Aleksej Saushev wrote:
> Ralf Juengling <[email protected]> writes:
> > Folks, a first Lush 2.0 beta release is out.
> 
> fpu.c:42:18: error: fenv.h: No such file or directory
> fpu.c:58: error: expected '=', ',', ';', 'asm' or '__attribute__' before
>  'standard_fenv' fpu.c: In function 'ywith_fpu_env':
> fpu.c:143: error: 'fenv_t' undeclared (first use in this function)
> fpu.c:143: error: (Each undeclared identifier is reported only once
> fpu.c:143: error: for each function it appears in.)
> fpu.c:143: error: expected ';' before 'current_fenv'
> fpu.c:145: warning: implicit declaration of function 'fegetenv'
> fpu.c:145: error: 'saved_fenv' undeclared (first use in this function)
> fpu.c:147: error: 'standard_fenv' undeclared (first use in this function)
> fpu.c:152: warning: implicit declaration of function 'fesetenv'
> fpu.c: In function 'parse_excepts':
> fpu.c:175: error: 'FE_INVALID' undeclared (first use in this function)
> fpu.c:179: error: 'FE_DIVBYZERO' undeclared (first use in this function)
> fpu.c:183: error: 'FE_OVERFLOW' undeclared (first use in this function)
> fpu.c:187: error: 'FE_UNDERFLOW' undeclared (first use in this function)
> fpu.c:191: error: 'FE_INEXACT' undeclared (first use in this function)
> fpu.c:195: error: 'FE_ALL_EXCEPT' undeclared (first use in this function)
> fpu.c: In function 'unparse_excepts':
> fpu.c:209: error: 'FE_INEXACT' undeclared (first use in this function)
> fpu.c:212: error: 'FE_UNDERFLOW' undeclared (first use in this function)
> fpu.c:215: error: 'FE_OVERFLOW' undeclared (first use in this function)
> fpu.c:218: error: 'FE_DIVBYZERO' undeclared (first use in this function)
> fpu.c:221: error: 'FE_INVALID' undeclared (first use in this function)
> fpu.c: In function 'xfpu_test':
> fpu.c:291: warning: implicit declaration of function 'fetestexcept'
> fpu.c: In function 'xfpu_clear':
> fpu.c:299: warning: implicit declaration of function 'feclearexcept'
> fpu.c: In function 'xfpu_round':
> fpu.c:359: error: 'FE_TOWARDZERO' undeclared (first use in this function)
> fpu.c:363: error: 'FE_TONEAREST' undeclared (first use in this function)
> fpu.c:367: error: 'FE_UPWARD' undeclared (first use in this function)
> fpu.c:371: error: 'FE_DOWNWARD' undeclared (first use in this function)
> fpu.c:378: warning: implicit declaration of function 'fesetround'
> fpu.c: In function 'sprint_excepts':
> fpu.c:389: error: 'FE_DIVBYZERO' undeclared (first use in this function)
> fpu.c:392: error: 'FE_INVALID' undeclared (first use in this function)
> fpu.c:395: error: 'FE_INEXACT' undeclared (first use in this function)
> fpu.c:398: error: 'FE_OVERFLOW' undeclared (first use in this function)
> fpu.c:401: error: 'FE_UNDERFLOW' undeclared (first use in this function)
> fpu.c: In function 'xfpu_info':
> fpu.c:449: warning: implicit declaration of function 'fegetround'
> fpu.c:450: error: 'FE_TOWARDZERO' undeclared (first use in this function)
> fpu.c:451: error: 'FE_TONEAREST' undeclared (first use in this function)
> fpu.c:452: error: 'FE_UPWARD' undeclared (first use in this function)
> fpu.c:453: error: 'FE_DOWNWARD' undeclared (first use in this function)
> fpu.c:460: error: 'FE_ALL_EXCEPT' undeclared (first use in this function)
> fpu.c: In function 'fpu_reset':
> fpu.c:484: error: 'standard_fenv' undeclared (first use in this function)
> fpu.c: In function 'init_nan':
> fpu.c:500: error: 'FE_DFL_ENV' undeclared (first use in this function)
> fpu.c:501: error: 'FE_ALL_EXCEPT' undeclared (first use in this function)
> fpu.c:503: error: 'FE_OVERFLOW' undeclared (first use in this function)
> fpu.c:504: error: 'standard_fenv' undeclared (first use in this function)
> gmake[1]: *** [fpu.o] Error 1
> 
> uname -mrs
> NetBSD 5.99.20 i386
> 
> grep -rF FE_DIVBYZERO /usr/include
> /usr/include/x86/ieeefp.h:#define	FE_DIVBYZERO	0x04	/* divide-by-zero
>  exception */ /usr/include/x86/ieeefp.h:#define FP_X_DZ		FE_DIVBYZERO	/*
>  divide-by-zero exception */
> 

Get fenv.h on your system first where the build can find it. All the errors seen
can be a result of that alone.

Raymond


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference