[DFTB-Plus-User] Cannot Compile dftb-plus!
Bálint Aradi
balint.aradi at bccms.uni-bremen.de
Wed Jan 6 10:11:25 CET 2010
Dear Gerardo,
Happy New Year!
> The solution pointed by Ben Houraine doesn't work.
> After googling I knew that gcc 4.x does not support f2c (or g2c),
> then I found another solution in
> http://lists.boost.org/boost-build/2006/05/13901.php
>
> so, I have modified
>
> the line (in Makefile.common)
> $(LN) $(LNOPT) -o $@ $^ -g $(O_LIBS) $(L_LIBS)
>
> by this one
> $(LN) $(LNOPT) -o $@ -Wl,--start-group $^ -Wl,--end-group -g
> $(O_LIBS) $(L_LIBS)
>
> that works for me and libgfortran is not needed,
Thanks for the contribution! Just to understand correctly the change
you made: Did you only change the line with the --start-group and
--end-group or did you also set the -DEXTERNAL flag as suggested by Ben
(but not linking the libgfortran library)?
Thanks.
Best regards
Bálint
--
Dr. Bálint Aradi
Bremen Center for Computational Materials Science, University of Bremen
http://www.bccms.uni-bremen.de/en/~b_aradi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.zfn.uni-bremen.de/pipermail/dftb-plus-user/attachments/20100106/71c6bebb/attachment.sig>
More information about the DFTB-Plus-User
mailing list