[Pw_forum] Linux ia32 build error - MAIL_ not defined

Alexander McPhail haskell.vivian.mcphail at gmail.com
Mon Apr 9 16:27:11 CEST 2007


When compliling with Debian g95, get the following error:

make[1]: Entering directory `/usr/local/src/espresso-3.2/pwtools'
test -n "" && ( cd .. ; make -w  || exit 1) || :
g95  -o dist.x \
                dist.o ../Modules/basic_algebra_routines.o
../Modules/cell_base.o ../Modules/constants.o ../Modules/control_flags.o
../Modules/io_global.o ../Modules/io_files.o ../Modules/ions_base.o
../Modules/fft_types.o ../Modules/fft_scalar.o ../Modules/kind.o
../Modules/mp.o ../Modules/mp_global.o ../Modules/parallel_include.o
../Modules/parameters.o ../Modules/parser.o ../Modules/path_formats.o
../Modules/printout_base.o ../Modules/random_numbers.o ../Modules/recvec.o
../Modules/splinelib.o ../Modules/timestep.o ../Modules/uspp.o ../PW/libpw.a
../flib/ptools.a ../flib/flib.a ../clib/clib.a ../iotk/src/libiotk.a
-llapack -lf77blas -latlas -lfftw  -lmpi
/usr/lib/g95/bin/../lib/gcc-lib/i686-pc-linux-gnu/4.0.3//libf95.a(main.o):
In function `main':
(.text+0x29): undefined reference to `MAIN_'
make[1]: *** [dist.x] Error 1
make[1]: Leaving directory `/usr/local/src/espresso-3.2/pwtools'
make: *** [tools] Error 2

Is this a problem with "dist.x" or with my fortran95 compiler?

Thanks,

Vivian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/attachments/20070410/fd42aa8d/attachment.htm 


More information about the Pw_forum mailing list