From:             unix-guy at pacbell dot net
Operating system: HP-UX 11.11
PHP version:      4.3.2RC1
PHP Bug Type:     Compile Failure
Bug description:  Compile exits with during MySQL section on my_tempnam.c

Using the bundled mysql and php4-STABLE-200303131630 with HP's ANSI C
compiler, I get the following error, which exits the compile:

        /bin/sh /users/global/cokm/build/php4-STABLE-200303131630/libtool
--silent --preserve-dup-deps --mode=compile cc
-I/users/global/cokm/build/php4-STABLE-200303131630/ext/mysql/libmysql
-Iext/mysql/
-I/users/global/cokm/build/php4-STABLE-200303131630/ext/mysql/
-DPHP_ATOM_INC -I/users/global/cokm/build/php4-STABLE-200303131630/include
-I/users/global/cokm/build/php4-STABLE-200303131630/main
-I/users/global/cokm/build/php4-STABLE-200303131630
-I/users/global/cokm/build/php4-STABLE-200303131630/Zend
-I/util/bin/libs/HP11.11/zlib-1.1.4/include
-I/util/bin/libs/HP11.11/jpeg-6b/include
-I/util/bin/libs/HP11.11/libpng-1.2.4/include
-I/util/bin/libs/HP11.11/freetype-2.1.2/include
-I/util/bin/libs/HP11.11/freetype-2.1.2/include/freetype2
-I/util/bin/libs/HP11.11/gd-1.8.4/include -I/oracle/v8174p/rdbms/public
-I/oracle/v8174p/rdbms/demo
-I/users/global/cokm/build/php4-STABLE-200303131630/ext/xml/expat 
-I/users/global/cokm/build/php4-STABLE-200303131630/TSRM  -g  -prefer-pic
-c
/users/global/cokm/build/php4-STABLE-200303131630/ext/mysql/libmysql/my_tempnam.c
-o ext/mysql/libmysql/my_tempnam.lo 
cc:
"/users/global/cokm/build/php4-STABLE-200303131630/ext/mysql/libmysql/my_tempnam.c",
line 99: warning 524: Cast (non-lvalue) appears on left-hand side of
assignment.
cc:
"/users/global/cokm/build/php4-STABLE-200303131630/ext/mysql/libmysql/my_tempnam.c",
line 99: error 1549: Modifiable lvalue required for assignment operator.
cc:
"/users/global/cokm/build/php4-STABLE-200303131630/ext/mysql/libmysql/my_tempnam.c",
line 105: warning 524: Cast (non-lvalue) appears on left-hand side of
assignment.
cc:
"/users/global/cokm/build/php4-STABLE-200303131630/ext/mysql/libmysql/my_tempnam.c",
line 105: error 1549: Modifiable lvalue required for assignment operator.
*** Error exit code 1

Stop.


I have looked for other bugs related to this problem and don't see any (I
did see many refering to a security issue), although maybe I've missed
something. 


-- 
Edit bug report at http://bugs.php.net/?id=22754&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=22754&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=22754&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=22754&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=22754&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=22754&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=22754&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=22754&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=22754&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=22754&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=22754&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22754&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=22754&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=22754&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=22754&r=gnused

Reply via email to