Commit b191c7a
abacus_fixer
fix(Makefile): resolve multiple definitions and missing YukawaScreening link
- Remove 4 duplicate objects (dftu_nao_fs_k/for_r/fs_r/str_r.o) from
OBJS_HAMILT_LCAO; they are already listed in OBJS_DFTU and both
lists merge into OBJS_ABACUS, causing "multiple definition" linker errors.
- Add missing yukawa_screening.o to OBJS_SRCPW so YukawaScreening::*
symbols resolve; it is already present in CMakeLists.txt module_pwdft.
Verified with `make -n` (dry-run): dftu_nao_fs_k.o appears exactly once
in the final link line; yukawa_screening.o is compiled from
source_pw/module_pwdft/yukawa_screening.cpp.1 parent 2bab74c commit b191c7a
1 file changed
Lines changed: 1 addition & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
406 | 406 | | |
407 | 407 | | |
408 | 408 | | |
409 | | - | |
410 | | - | |
411 | | - | |
412 | | - | |
413 | 409 | | |
414 | 410 | | |
415 | 411 | | |
| |||
815 | 811 | | |
816 | 812 | | |
817 | 813 | | |
| 814 | + | |
818 | 815 | | |
819 | 816 | | |
820 | 817 | | |
| |||
0 commit comments