ID:               22574
 Updated by:       [EMAIL PROTECTED]
 Reported By:      john345 at earthlink dot net
-Status:           Open
+Status:           Feedback
 Bug Type:         Compile Failure
 Operating System: SCO OpenServer 5.0.6
 PHP Version:      4.3.2-dev
 New Comment:

Can not fix this as I do not have access to any machine with SCO. Try
find out what lib contains these functions..



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

[2003-06-04 07:31:12] john345 at earthlink dot net

Any new developments on this front?

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

[2003-05-09 13:03:45] john345 at earthlink dot net

Same error during make.

Undefined                       first referenced
 symbol                             in file
freeaddrinfo                        main/network.lo
getaddrinfo                         main/network.lo
sapi/cli/php: fatal error: Symbol referencing errors. No output written
to sapi/cli/php
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1

Yes, the system has freeaddrinfo and getaddrinfo. Here is part of the
man page entry:

  getaddrinfo(SLIB)
  *****************

 
____________________________________________________________________________
  getaddrinfo -- nodename-to-address translation in
protocol-independent
  manner

  freeaddrinfo- nodename-to-address translation in protocol-independent
manner

  gai_strerror- nodename-to-address translation in protocol-independent
manner

  Syntax
  ======

     cc ... -lsocket

     #include <sys/socket.h>
     #include <netdb.h>

     int
     getaddrinfo(const char *nodename, const char *servname,
             const struct addrinfo *hints, struct addrinfo **res);
     void
     freeaddrinfo(struct addrinfo *ai);

     char *
     gai_strerror(int ecode);


  Description
  ===========

     The getaddrinfo() function is defined for protocol-independent
nodename-
     to-address translation.  It performs functionality of
gethostbyname(SLIB)
     and getservbyname(SLIB),  in more sophisticated manner.

     The addrinfo structure is defined as a result of including the
<netdb.h>
     header:
...

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

[2003-05-01 19:43:51] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip

You might have got the one with broken configure.
Also, does your libsocket.* contain these missing functions?


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

[2003-04-16 12:12:29] john345 at earthlink dot net

Still get same two unsatisfied symbols, freeaddrinfo and getaddrinfo,
but this time it is reported that they are first referenced in
main/network.o.

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

[2003-04-11 19:18:33] [EMAIL PROTECTED]

Please leave as Feedback until you can provide requested information.
Thank you.

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

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/22574

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

Reply via email to