On Mon, 2013-02-25 at 09:08 -0500, Dennis Clarke wrote:
> > So my guess would be that there is some mix between 32 and 64 bit
> mode,
> > try compiling with setting CFLAGS="-m64" (or CFLAGS="-m32") for
> > configure.
> 
> Everything here is -m64 and -xtarget=ultraT2 so not sure where else to
> look. 

How did you compile curl? - Do you have the following in curlbuild.h or
is that some configure created stuff?

        
        /* ===================================== */
        /*    Sun Studio Compilers               */
        /* ===================================== */
        
        #elif defined(__SUNPRO_C) || defined(__SUNPRO_CC)
        #include <stdint.h>
        #include <sys/types.h>
        #include <sys/socket.h>
        
        #  define CURL_TYPEOF_CURL_OFF_T off_t
        #  define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
        #  define CURL_SIZEOF_CURL_SOCKLEN_T 4
        #  if defined(__amd64) || defined(__sparcv9)
        #     define CURL_SIZEOF_CURL_OFF_T 8
        #     define CURL_SIZEOF_LONG 8
        [...]
        #  else
        #     define CURL_SIZEOF_LONG 4
        [...]
        #  endif

Without looking deeper this looks fine ...

johannes


-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to