1 Jun 2005 16:25
build problem on solaris
Gerald John M. Manipon <Geraldjohn.M.Manipon <at> jpl.nasa.gov>
2005-06-01 14:25:47 GMT
2005-06-01 14:25:47 GMT
Hello, I compiled python 2.4.1 on a solaris 2.8 box using gcc 3.2.3. When I try to build Numeric 24.0b2, I get this error: building 'RNG.RNG' extension /usr/local/bin/gcc -fno-strict-aliasing -DNDEBUG -O -fPIC -IInclude -IPackages/FFT/Include -IPackages/RNG/Include -I/export/00/gmanipon/sciflo/include/python2.4 -c Packages/RNG/Src/ranf.c -o build/temp.solaris-2.8-sun4u-2.4/Packages/RNG/Src/ranf.o Packages/RNG/Src/ranf.c: In function `Mixranf': Packages/RNG/Src/ranf.c:153: conflicting types for `gettimeofday' /usr/include/sys/time.h:390: previous declaration of `gettimeofday' Packages/RNG/Src/ranf.c:153: warning: extern declaration of `gettimeofday' doesn't match global one error: command '/usr/local/bin/gcc' failed with exit status 1 Has anyone encountered this problem? Any help is greatly appreciated. Gerald ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
Thanks,
Sebastian Haase
On Wednesday 01 June 2005 15:37, Adrian E. Feiguin wrote:
> Hi,
>
> As I've been discussing withTodd, scigraphica crashes after switching to
> a newer version of numarray. I checked that it does not crash with
> Numeric, or numarray-1.1.1, so I figured that at some point something
> was broken. It seems that at some point between numarray-1.1.1 and 1.2.3
> some change broke the API. What I mean is that my libraries simply fail
> to load numarray. I did diff between headers, and the only relevant
> change that I noticed between 1.1.1 and 1.2.3 that I guess could be
> related to this problem is in libnumeric.h:
>
> 132c132
> < static int PyArray_Converter (PyObject *, PyObject **);
> ---
RSS Feed