[CPMD-list] Re: CPMD-list digest, Vol 1 #442 - 1 msg

Axel Kohlmeyer axel.kohlmeyer at theochem.ruhr-uni-bochum.de
Sun Dec 28 23:18:00 CET 2003


>>> "CK" == Carl Krauthauser <krauthau at CCM.UDel.Edu> writes:

CK> Dear Axel and CPMD users,

hi carl,

CK> I am attempting to make a simple buid on an Athlon machine running
CK> FreeBSD 5.1, using ifc 7.1.011, and gcc 3.2.2.  During the final linking, 
CK> I get the following error, which seems to indicate a missing library or
CK> include file:

CK> rm -f cpmd.x
CK> if [ "." != "." ]; then ln -s ./cpmd.x cpmd.x; fi
CK> ifc -o ./cpmd.x timetag.o cpmd.o softex.o envir.o setcnst.o control.o
CK> control_def.o control_pri.o control_bcast.o control_test.o  header.o
[...]
CK> mm_cpmd_esp_charges_f77.o  mm_cpmd_ext_pot_f77.o vdwin.o vdw.o
CK> sysdepend.o shmemory.o -L/usr1/libraries/atlas-3.5.2/athlon -llapack
CK> -lf77blas -lcblas -latlas -Vaxlib 
CK> sysdepend.o: In function `printmemsize_':
CK> sysdepend.o(.text+0x78): undefined reference to `__stdoutp'
CK> *** Error code 1

CK> Stop in /home/carl/quantum-chemistry/cpmd/CPMD-3.7.1/SOURCE.

CK> Any thoughts as to what I am missing?  Thanks for your help!

the two underscores in the missing symbol indicate, that this is
a reference to some library internals. the name __stdout points
to the stdout.h family of functions from the c-library. since
sysdepend.c is the only c file in cpmd. so there must be a mismatch
between your c and your fortran compiler. most likely, sysdepend.c
was compiled by the freebsd gcc against freebsd c headers. if you
don't have a freebsd-to-linux gcc availiable, you could try using
the intel c/c++ compiler (icc) instead. you probably need to fix
the CFLAGS variable in the makefile to include the proper header
files also.

hope this helps,
     axel kohlmeyer.


CK> Best Regards,
CK> Carl Krauthauser


CK> _______________________________________________
CK> CPMD-list mailing list
CK> CPMD-list at cpmd.org
CK> http://www.cpmd.org/mailman/listinfo/cpmd-list



--

=======================================================================
Axel Kohlmeyer       e-mail: axel.kohlmeyer at theochem.ruhr-uni-bochum.de
Lehrstuhl fuer Theoretische Chemie          Phone: ++49 (0)234/32-26673
Ruhr-Universitaet Bochum - NC 03/53         Fax:   ++49 (0)234/32-14045
D-44780 Bochum  http://www.theochem.ruhr-uni-bochum.de/~axel.kohlmeyer/
=======================================================================
If you make something idiot-proof, the universe creates a better idiot.



More information about the CPMD-list mailing list