--- In Angelik Escobar <>
wrote:
>
> Hello.
> I have a ARM-TS250 card with Debian sarge already
> installed in a flash memory.
>
> I need to install php, apache and graphic libraries,
> becouse I want to execute jpgraph in my system. but
> I'm having errors in the compilation of my php 4.4-6.
> about Zend, the options that I'm using to configure it
> are:
>
>
> the error output is:
>
> /WEB/php4-STABLE-200710251430/include
> -I/opt/fuentes/WEB/php4-STABLE-200710251430/main
> -I/opt/fuentes/WEB/php4-STABLE-200710251430
> -I/usr/local/ssl/include -I/usr/local/include
> -I/usr/local/include/libxml2
> -I/usr/local/include/freetype2
> -I/usr/local/imap-2004g/c-client
> -I/opt/fuentes/WEB/php4-STABLE-200710251430/ext/mbstring/mbregex
> -I/opt/fuentes/WEB/php4-STABLE-200710251430/ext/mbstring/libmbfl
> -I/opt/fuentes/WEB/php4-STABLE-200710251430/ext/mbstring/libmbfl/mbfl
> -I/opt/fuentes/WEB/php4-STABLE-200710251430/ext/xml/expat
> -I/opt/fuentes/WEB/php4-STABLE-200710251430/TSRM
> -I/opt/fuentes/WEB/php4-STABLE-200710251430/Zend -g
> -O2 -c
> /opt/fuentes/WEB/php4-STABLE-200710251430/Zend/zend_strtod.c
> -o Zend/zend_strtod.lo
> /opt/fuentes/WEB/php4-STABLE-200710251430/Zend/zend_strtod.c:240:
> error: syntax error before "one"
> /opt/fuentes/WEB/php4-STABLE-200710251430/Zend/zend_strtod.c:241:
ISTR something like this.
The various strto? blobs of source code are variously broken on ARM
platforms. Most of them date back to something someone at Apple
hacked up and has been floating around half-fixed for a bunch of years.
If you go into that file, you'll find a whole bunch of
#ifdef xxxx
some definition for particular hardware
#endif
I suspect you can just delete the #ifdef clause that's causing the
problem altogether without a problem but you have to read the code.
If not, you can most likely replace the whole file with a
int myint;
sscanf(string,"%d",&myint);
return myint;
at a cost of a slight performance penalty.
--Yan
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|