[PHP-DEV] Compilation Errors: Win32 From: Matthew Beers (mbeers <email protected>)
Date: 08/03/00

Hello,

I grabbed the snapshot from snaps.php.net from this morning (August 3,
8:45). When I tried to compile the bcmath extension (as part of the
php4dllts project), it fails. The problem it seems, is that it cannot
find a typedef for bc_num, so does not recognize it as a valid identifier:

D:\projects\php\php4-200008030845\ext\bcmath\bcmath.c(73) : error C2065: 'bc_num' : undeclared identifier

Where should that identifier be defined?

I ran grep bc_num against the entire source tree (*.c, *.h) and found
no definition for it. I also had this problem with compiling pl2 and I
fixed it by undef WITH_BCMATH.

Another error I ran into is the number.h and number.c files were not
included as part of the snapshot (and indeed aren't in the cvs tree, I
checked), but are still needed by php4dllts project. I resolved this
by copying those two files from the pl2 source on the website, but I
am concerned about versioning.

Is there something I am doing wrong, am I not including the right
directories or am I missing files?

My platform is Win2k pro, VC++6.

Thank you,
Matthew Beers

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>