problems compiling mysqli (on win32)
| From: | M. Sokolewicz | Date: | Sat, 19 Feb 2005 16:48:48 +0000 |
| Subject: | problems compiling mysqli (on win32) | ||
| Groups: | php.general php.internals | ||
| Request: | Send a blank email to php-general+get-209067@lists.php.net to get a copy of this message | ||
whenever I try compiling PHP, the mysqli extension gives me trouble. I've gotten this all from HEAD just a couple of hours ago (again, it didn't work before either). I'm using MSVC 7.1 (.NET). Here's the error I'm getting:
ext\mysqli\php_mysqli.h(50) : error C2061: syntax error : identifier 'MYSQL_STMT'
ext\mysqli\php_mysqli.h(54) : error C2059: syntax error : '}'
ext\mysqli\php_mysqli.h(93) : error C2065: 'LOCAL_INFILE_ERROR_LEN' : undeclared identifier
ext\mysqli\php_mysqli.h(93) : error C2057: expected constant expression
ext\mysqli\php_mysqli.h(94) : error C2229: struct '__unnamed' has an illegal zero-sized array
ext\mysqli\php_mysqli.h(127) : error C2143: syntax error : missing ')' before '*'
ext\mysqli\php_mysqli.h(127) : error C2143: syntax error : missing '{' before '*'
ext\mysqli\php_mysqli.h(127) : error C2059: syntax error : ')'
Since I'm no good at C, I really have no idea what the problem here is... So, is this a problem with my compiler being stupid? or is this a real live problem in HEAD?
hope somebody can help me with this,
- M. Sokolewicz