ID: 18097 Updated by: [EMAIL PROTECTED] Reported By: marcos at penosaco dot com dot br -Status: Bogus +Status: Closed Bug Type: Compile Failure Operating System: HP-UX 11.11 PHP Version: 4.3.0-dev New Comment:
This bug has been fixed in CVS. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2002-08-13 22:36:30] [EMAIL PROTECTED] Sorry, but the bug system is not the appropriate forum for asking support questions. Your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php Thank you for your interest in PHP. Okay so marking this closed as it sounds like a gcc bug, and not a PHP bug. ------------------------------------------------------------------------ [2002-07-12 13:20:10] robneville73 at hotmail dot com OK... I think I know what the issue is. Another detail about the OS that I'm assuming is the case with Marcos as well is that he's using the 64-bit version of 11i as I am. The issue with gcc, not php. The problem is that the latest gcc was made for 11.0. gcc has its *own* set of include files that it uses. So when <sys/socket.h> is included, it's not using the OSes /usr/include/sys but something like /usr/local/lib/gccsomething/blah/include/sys. The issue is that this file does not contain typedefs for sbsize_t and bsize_t. If you go to sys/types.h (again gcc's copy) type in typedef int64_t sbsize_t; and then typedef uint64_t bsize_t it should be OK. ------------------------------------------------------------------------ [2002-07-10 16:12:02] robneville73 at hotmail dot com Actually, whatever was done in snapshot 200207100900 fixed the problem...sort of. main.c now compiles, but it seems that everything else that includes php_network.h falls over. (i.e. mysql, basic_functions, and some others). What was done to fix main.c? ------------------------------------------------------------------------ [2002-07-10 16:04:10] marcos at penosaco dot com dot br I'm still having trouble to compile too. I'm having some difficulties to get the error message from the HPUX server (it isn't directly connected to my network and my /dev/fd0 is broken) I will post the error here ASAP Marcos ------------------------------------------------------------------------ [2002-07-10 12:47:08] robneville73 at hotmail dot com That latest snapshot also does not seem to solve the problem, I'm on the same versions that marcos is on. Is this stuff for socket support? Does php really need it or is it only used if I explicitly want to use socket functions? Can I disable it somehow? I tried --disable-sockets to no avail. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/18097 -- Edit this bug report at http://bugs.php.net/?id=18097&edit=1