FAQ

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

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 5 of 12 | next ›
Discussion Overview
groupphp-internals @
categoriesphp
postedFeb 25, '13 at 6:59a
activeFeb 25, '13 at 6:46p
posts12
users3
websitephp.net

People

Translate

site design / logo © 2021 Grokbase