ID:               17103
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Open
 Bug Type:         Compile Failure
 Operating System: Sparc Solaris 2.7
 PHP Version:      4.2.0
 New Comment:

I resolved this by installing mysql, and pointing to the proper path


Previous Comments:
------------------------------------------------------------------------

[2002-05-08 16:59:10] [EMAIL PROTECTED]

obviously "foo" is being used for the earlier "/dhome/btisja"

------------------------------------------------------------------------

[2002-05-08 16:56:24] [EMAIL PROTECTED]


# make
Making all in ctype
Making all in mysql
Making all in libmysql
gcc -I. -I/dhome/btisja/php-4.2.0/ext/mysql/libmysql
-I/dhome/btisja/php-4.2.0/main -I/dhome/btisja/php-4.2.0
-I/dhome/btisja/php-4.2.0/Zend
-I/dhome/btisja/php-4.2.0/ext/mysql/libmysql
-I/dhome/btisja/php-4.2.0/ext/xml/expat  -D_POSIX_PTHREAD_SEMANTICS
-I/dhome/btisja/php-4.2.0/TSRM -g -O2  -c libmysql.c && touch
libmysql.lo
In file included from libmysql.c:5:
global.h:136:22: operator 'EOL' has no left operand
In file included from libmysql.c:5:
global.h:256: warning: redefinition of `uint'
/opt/gcc304/lib/gcc-lib/sparc-sun-solaris2.7/3.0.4/include/sys/types.h:500:
warning: `uint' previously declared here
global.h:257: warning: redefinition of `ushort'
/opt/gcc304/lib/gcc-lib/sparc-sun-solaris2.7/3.0.4/include/sys/types.h:499:
warning: `ushort' previously declared here
global.h:258: warning: redefinition of `ulong'
/opt/gcc304/lib/gcc-lib/sparc-sun-solaris2.7/3.0.4/include/sys/types.h:501:
warning: `ulong' previously declared here
In file included from libmysql.c:5:
global.h:498:22: operator 'EOL' has no left operand
In file included from libmysql.c:5:
global.h:590: warning: redefinition of `ulong'
global.h:258: warning: `ulong' previously declared here
In file included from libmysql.c:12:
m_string.h:205:36: operator '==' has no right operand
libmysql.c: In function `net_field_length_ll':
libmysql.c:397: warning: left shift count >= width of type
*** Error code 1
make: Fatal error: Command failed for target `libmysql.lo'
Current working directory /foo/php-4.2.0/ext/mysql/libmysql
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /foo/php-4.2.0/ext/mysql/libmysql
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /foo/php-4.2.0/ext/mysql
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=17103&edit=1

Reply via email to