[gpaw-users] compilation help

Marcin Dulak Marcin.Dulak at fysik.dtu.dk
Mon Apr 22 16:43:55 CEST 2013


Hi,

first, in the customize.py, try to use:

include_dirs +=

You are missing some includes.
Does that help?

Marcin

On 04/20/2013 09:39 PM, Glen Jenness wrote:
> Hey GPAW users!
>
> I recently tried compiling GPAW, but I keep getting this error:
>
> /usr/lib64/python2.4/config/libpython2.4.a(posixmodule.o): In function 
> `posix_tmpnam':
> (.text+0x725): warning: the use of `tmpnam_r' is dangerous, better use 
> `mkstemp'
> /usr/lib64/python2.4/config/libpython2.4.a(posixmodule.o): In function 
> `posix_tempnam':
> (.text+0x808): warning: the use of `tempnam' is dangerous, better use 
> `mkstemp'
> /tmp/ipo_iccjqCeKV.o: warning: memset used with constant zero length 
> parameter; this could be due to transposed parameters
> /tmp/ipo_iccjqCeKV.o: In function `overlap':
> /home/gjenness/programs/gpaw-0.9.0.8965/c/lcao.c:92: undefined 
> reference to `__builtin_object_size'
> /home/gjenness/programs/gpaw-0.9.0.8965/c/lcao.c:92: undefined 
> reference to `__builtin_object_size'
> /home/gjenness/programs/gpaw-0.9.0.8965/c/lcao.c:92: undefined 
> reference to `__builtin___memcpy_chk'
> /home/gjenness/programs/gpaw-0.9.0.8965/c/lcao.c:92: undefined 
> reference to `__builtin_object_size'
> /home/gjenness/programs/gpaw-0.9.0.8965/c/lcao.c:92: undefined 
> reference to `__builtin___memcpy_chk'
> /home/gjenness/programs/gpaw-0.9.0.8965/c/lcao.c:138: undefined 
> reference to `__builtin_object_size'
> /home/gjenness/programs/gpaw-0.9.0.8965/c/lcao.c:138: undefined 
> reference to `__builtin_object_size'
> /home/gjenness/programs/gpaw-0.9.0.8965/c/lcao.c:138: undefined 
> reference to `__builtin___memcpy_chk'
> /home/gjenness/programs/gpaw-0.9.0.8965/c/lcao.c:138: undefined 
> reference to `__builtin_object_size'
> /home/gjenness/programs/gpaw-0.9.0.8965/c/lcao.c:138: undefined 
> reference to `__builtin___memcpy_chk'
> /home/gjenness/programs/gpaw-0.9.0.8965/c/lcao.c:146: undefined 
> reference to `__builtin_object_size'
> /home/gjenness/programs/gpaw-0.9.0.8965/c/lcao.c:146: undefined 
> reference to `__builtin_object_size'
> /home/gjenness/programs/gpaw-0.9.0.8965/c/lcao.c:146: undefined 
> reference to `__builtin___memcpy_chk'
> /home/gjenness/programs/gpaw-0.9.0.8965/c/lcao.c:146: undefined 
> reference to `__builtin_object_size'
> /home/gjenness/programs/gpaw-0.9.0.8965/c/lcao.c:146: undefined 
> reference to `__builtin___memcpy_chk'
> /tmp/ipo_iccjqCeKV.o: In function `bmgs_cut':
> /
>
> It continues on (I'm including my full build.log file and 
> customize.py), but I can't figure out how to correct it.  I am using 
> python2.4
>
> Any help would be appreciated :)
>
> Thanks!
> Glen
>
> -- 
> Dr. Glen Jenness
> Schmidt Group/Morgan Group
> Department of Chemistry/Materials Science and Engineering (MSAE)
> University of Wisconsin - Madison
>
>
> _______________________________________________
> gpaw-users mailing list
> gpaw-users at listserv.fysik.dtu.dk
> https://listserv.fysik.dtu.dk/mailman/listinfo/gpaw-users


-- 
***********************************
  
Marcin Dulak
Technical University of Denmark
Department of Physics
Building 307, Room 229
DK-2800 Kongens Lyngby
Denmark
Tel.: (+45) 4525 3157
Fax.: (+45) 4593 2399
email: Marcin.Dulak at fysik.dtu.dk

***********************************

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserv.fysik.dtu.dk/pipermail/gpaw-users/attachments/20130422/7e5373e0/attachment.html 


More information about the gpaw-users mailing list