On 2015/05/28 3:13 AM, Bryan Williams wrote:
> I have gcc on the box. I also installed the C compiler for Solaris (cc),
> but I couldn't seem to find an option to switch it so that it uses cc
> rather than gcc.
Maybe you can do this with an environment variable?
export CC=/usr/bin/cc
It does look like there is a problem with scrambled environments. The
redefinition warning looks potentially troublesome; and the error looks
like a conflict between two versions of the standard C library.
From "man swab" on Solaris:
NAME
swab - swap bytes
SYNOPSIS
#include <stdlib.h>
void swab(const char *src, char *dest, ssize_t nbytes);
XPG4, SUS, SUSv2, SUSv3
#include <unistd.h>
void swab(const void *restrict src, void *restrict dest,
ssize_t nbytes);
I think you want the second version, consistently, but something is also
hitting the first version.
Maybe "XPG4" or one of the other 4 options needs to be defined when each
library is compiled with /usr/bin/cc? I think the stdlib declaration is
old; the unistd version is more modern.
That's all very vague, I know. Obviously, I don't actually know how to
solve the problem.
Eric
------------------------------------------------------------------------------
_______________________________________________
Matplotlib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users