[DFTB-Plus-User] Cannot Compile dftb-plus!

gaguilar at inescporto.pt gaguilar at inescporto.pt
Wed Jan 6 11:56:30 CET 2010


Dear Dr. Aradi,
Happy New Year for you too!

The only change was to substitute the line in Makefile.common.

The solution suggested by Dr Houraine does not work for me.


best regards,

Gerardo


Quoting Bálint Aradi <balint.aradi at bccms.uni-bremen.de>:

> 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
>
>
>



----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.


More information about the DFTB-Plus-User mailing list