compilation problem with abinit-6.4.1

Bug #671775 reported by Iles Nadia

This bug report was converted into a question: question #133050: compilation problem with abinit-6.4.1.

10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ABINIT
Invalid
Undecided
Unassigned

Bug Description

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.

Revision history for this message
Yann Pouillon (pouillon) wrote :

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.

Changed in abinit:
status: New → Invalid
Yann Pouillon (pouillon)
Changed in abinit:
status: Invalid → New
status: New → Invalid
Revision history for this message
Iles Nadia (n-ilesdz) wrote : Re : [Bug 671775] Re: compilation problem with abinit-6.4.1
Download full text (3.7 KiB)

Hello ;
Thank you for your ansewr. I found the folowing errors in  config.log file :
----------------------------------------------------------------------------------------
conftest.c:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'a'
configure:12417: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "ABINIT"
| #define PACKAGE_TARNAME "abinit"
| #define PACKAGE_VERSION "6.4.1"
| #define PACKAGE_STRING "ABINIT 6.4.1"
| #define PACKAGE_BUGREPORT "https://bugs.launchpad.net/abinit/"
| #define PACKAGE_URL ""
| #define PACKAGE "abinit"
| #define VERSION "6.4.1"
| #define ABINIT_VERSION "6.4.1"
| #define ABINIT_VERSION_MAJOR "6"
| #define ABINIT_VERSION_MINOR "4"
| #define ABINIT_VERSION_MICRO "1"
| #define ABINIT_VERSION_BUILD "20101108"
| #define ABINIT_VERSION_BASE "6.4"
| #define HAVE_OS_LINUX 1
| #define CC_GNU 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h.  */
| #ifndef __APPLE_CC__
|            not a universal capable compiler
|          #endif
|          typedef int dummy;
|
configure:12462: gcc -c   conftest.c >&5
configure:12462: $? = 0
configure:12480: gcc -c   conftest.c >&5
conftest.c: In function 'main':
conftest.c:36: error: 'not' undeclared (first use in this function)
conftest.c:36: error: (Each undeclared identifier is reported only once
conftest.c:36: error: for each function it appears in.)
conftest.c:36: error: expected ';' before 'big'
configure:12480: $? = 1
configure: failed program was:
| /* confdefs.h */
--------------------------------------------------------------------------------

--- En date de : Dim 7.11.10, Yann Pouillon <email address hidden> a écrit :

De: Yann Pouillon <email address hidden>
Objet: [Bug 671775] Re: compilation problem with abinit-6.4.1
À: <email address hidden>
Date: Dimanche 7 novembre 2010, 22h03

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.

** Changed in: abinit
       Status: New => Invalid

--
compilation problem with abinit-6.4.1
https://bugs.launchpad.net/bugs/671775
You received this bug notification because you are a direct subscriber
of the bug.

Status in The Abinit Project: Invalid

Bug description:
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"
conf...

Read more...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.