compilation problem with abinit-6.4.1

Asked by Iles Nadia on 2010-11-06

Hello dear abinit users ;
I tried to compile abinit-6.4.1 on a Core4 duo machine with 8Go of RAM and Linux Centos 5.2. After executing ./configure I had the warning message :

checking stddef.h usability... no
checking stddef.h presence... yes
configure: WARNING: stddef.h: present but cannot be compiled
configure: WARNING: stddef.h: check for missing prerequisite headers?
configure: WARNING: stddef.h: see the Autoconf documentation
configure: WARNING: stddef.h: section "Present But Cannot Be Compiled"
configure: WARNING: stddef.h: proceeding with the compiler's result
configure: WARNING: ## ------------------------------------------------- ##
configure: WARNING: ## Report this to https://bugs.launchpad.net/abinit/ ##

I guess that there is a problem with the compiler, I'm using gfortran. Can you please help me to resolve this problem ?
Advanced Thanks.

Iles Nadia
Laboratoire de Physique des Couches Minces et Matériaux pour l'Electronique
Université d'Oran, Es-Sénia 31100,
 Oran, Algérie.

Question information

Language:
English Edit question
Status:
Answered
For:
ABINIT Edit question
Assignee:
No assignee Edit question
Last query:
2010-11-06
Last reply:
2010-11-07

This question was originally filed as bug #671775.

Yann Pouillon (pouillon) said : #1

Hi,

As stated in the output, this is only a warning. You should be able to compile Abinit anyway.

If you want to get rid of this warning, you should look for "stddef.h" in config.log. There you'll find more precise details on why this is happening.

Don't hesitate to ask your system administrator if you don't know what to do.

Yann Pouillon (pouillon) said : #2

This is actually not a bug in Abinit, but something related to the build environment of the user.

Yann Pouillon (pouillon) said : #3

Further discussion should be carried out on the Abinit forums: http://forum.abinit.org/

Can you help with this problem?

Provide an answer of your own, or ask Iles Nadia for more information if necessary.

To post a message you must log in.