[petsc-users] Missing header file in 54f71ec?

Jay J. Billings billingsjj at ornl.gov
Tue Jan 21 13:34:48 CST 2014


It looks like this might have been caused by the change to configure.py 
and petscsys.h in 5affe1d:

https://bitbucket.org/petsc/petsc/commits/5affe1da4b5ff6ba9c99ae0e08ad5ae60b099835

Jay

On 01/21/2014 02:30 PM, Jay J. Billings wrote:
> Everyone,
>
> I just merged master (54f71ec), compiled it and tried to compile against
> it. It fails with:
>
> /home/jay/programs/petsc-latest_mpich-3.0.1/include/petscsys.h: In
> function ‘PetscErrorCode PetscMemcpy(void*, const void*, size_t)’:
> /home/jay/programs/petsc-latest_mpich-3.0.1/include/petscsys.h:1900:
> error: ‘memcpy’ was not declared in this scope
> /home/jay/programs/petsc-latest_mpich-3.0.1/include/petscsys.h: In
> function ‘PetscErrorCode PetscMemzero(void*, size_t)’:
> /home/jay/programs/petsc-latest_mpich-3.0.1/include/petscsys.h:1949:
> error: ‘memset’ was not declared in this scope
>
> It worked with my build from Friday. I have stdlib and memory on my
> machine, a RHEL6 x86_64 box with gcc-4.4.7. I can probably fix it
> locally by adding the include and circumventing the macros, but I
> thought you guys might want to look into it.
>
> Jay
>

-- 
Jay Jay Billings
Oak Ridge National Laboratory
Twitter Handle: @jayjaybillings



More information about the petsc-users mailing list