Re: Compilation Errors: Win32

From: Date: Fri, 04 Aug 2000 03:20:52 +0000
Subject: Re: Compilation Errors: Win32
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-27603@lists.php.net to get a copy of this message
Please read README.BCMATH On Thu, 3 Aug 2000, Matthew Beers wrote the following to php-dev@lists.php.net : > 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 > > > >

« previous php.dev (#27603) next »