Re: Build failed on raspberry.

new topic     » goto parent     » topic index » view thread      » older message » newer message
Thomas said...

When i try to build any version version of euphoria for raspberry i get this error.

Translating eui.ex to create 
rm -f /home/pi/build/jsmn/intobj/{*.c,*.o} 
(cd /home/pi/build/jsmn/intobj;/home/pi/build/6267/bin/eui -i /home/pi/build/euphoria/include   /home/pi/build/euphoria/source/euc.ex  -nobuild -i /home/pi/build/euphoria/include -gcc    \ 
	-arch ARM -c "/home/pi/build/jsmn/eu.cfg" \ 
	-c /home/pi/build/euphoria/source/eu.cfg /home/pi/build/euphoria/source/eui.ex ) 
/home/pi/build/euphoria/include/std/mathcons.e:20 
<0607>:: The number specified here is too small. 
    PI        = 3.14159_26535_89793_23846, 
Euphoria Interpreter v4.1.0 development 32-bit Linux, Using System Memory Revision Date: 2014-10-01 12:14:09, Id: 6257:e9a250c9e114

I'm stumped as to why this could be happening.

Try editing line 115 of euphoria/include/std/fenv.e from

public function test(object e_p) 
	fexcept_t ee 
	if integer(e_p) then 
		ee = {e_p} 
	else 
		ee = e_p 
	end if 
	if fetestexcept = -1 then 
		return 0 
	end if 
	integer ce = c_func(fetestexcept, {e_to_c(ee)}) 
	sequence ans = c_to_e(ce) 
	if integer(e_p) then 
		return ce 
	end if 
	return ans 
end function 

to

public function test(object e_p) 
	fexcept_t ee 
	if integer(e_p) then 
		ee = {e_p} 
	else 
		ee = e_p 
	end if 
	if fetestexcept = -1 or 1 then 
		return 0 
	end if 
	integer ce = c_func(fetestexcept, {e_to_c(ee)}) 
	sequence ans = c_to_e(ce) 
	if integer(e_p) then 
		return ce 
	end if 
	return ans 
end function 

That should at least get your build past this error.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu