undefined references

Eric Shamay eric.... at gmail.com
Thu Jul 10 00:49:55 CEST 2008


Any ideas on where the following undefined references are coming from
during compilation of the sopt?

I'm using the intel compilers and ATLAS libraries. I haven't seen
these before.

~Eric






/home/eric/cp2k/makefiles/../lib/cl8-intel/sopt/
libcp2k_lib.a(physcon.o): In function `physcon_mp_init_physcon_':
/home/eric/cp2k/makefiles/../src/physcon.F:(.text+0xf02): undefined
reference to `periodic_table_mp_init_periodic_table_'
/home/eric/cp2k/makefiles/../lib/cl8-intel/sopt/
libcp2k_lib.a(qs_collocate_density.o): In function
`qs_collocate_densitycollocate_pgf_product_rspace_mp_collocate_ortho_':
/home/eric/cp2k/makefiles/../src/qs_collocate_density.F:(.text
+0xdd85): undefined reference to `collocate_core_0_'
/home/eric/cp2k/makefiles/../src/qs_collocate_density.F:(.text
+0xdf83): undefined reference to `collocate_core_7_'
/home/eric/cp2k/makefiles/../src/qs_collocate_density.F:(.text
+0xe0a1): undefined reference to `collocate_core_default_'
/home/eric/cp2k/makefiles/../src/qs_collocate_density.F:(.text
+0xe322): undefined reference to `collocate_core_6_'
/home/eric/cp2k/makefiles/../src/qs_collocate_density.F:(.text
+0xe496): undefined reference to `collocate_core_5_'
/home/eric/cp2k/makefiles/../src/qs_collocate_density.F:(.text
+0xe60a): undefined reference to `collocate_core_4_'
/home/eric/cp2k/makefiles/../src/qs_collocate_density.F:(.text
+0xe77e): undefined reference to `collocate_core_3_'
/home/eric/cp2k/makefiles/../src/qs_collocate_density.F:(.text
+0xe8f2): undefined reference to `collocate_core_2_'
/home/eric/cp2k/makefiles/../src/qs_collocate_density.F:(.text
+0xea66): undefined reference to `collocate_core_1_'
/home/eric/cp2k/makefiles/../src/qs_collocate_density.F:(.text
+0xec16): undefined reference to `collocate_core_0_'
/home/eric/cp2k/makefiles/../src/qs_collocate_density.F:(.text
+0xee48): undefined reference to `collocate_core_7_'
/home/eric/cp2k/makefiles/../src/qs_collocate_density.F:(.text
+0xef58): undefined reference to `collocate_core_default_'
/home/eric/cp2k/makefiles/../src/qs_collocate_density.F:(.text
+0xf0f8): undefined reference to `collocate_core_6_'
/home/eric/cp2k/makefiles/../src/qs_collocate_density.F:(.text
+0xf298): undefined reference to `collocate_core_5_'
/home/eric/cp2k/makefiles/../src/qs_collocate_density.F:(.text
+0xf438): undefined reference to `collocate_core_4_'
/home/eric/cp2k/makefiles/../src/qs_collocate_density.F:(.text
+0xf5d8): undefined reference to `collocate_core_3_'
/home/eric/cp2k/makefiles/../src/qs_collocate_density.F:(.text
+0xf778): undefined reference to `collocate_core_2_'
/home/eric/cp2k/makefiles/../src/qs_collocate_density.F:(.text
+0xf918): undefined reference to `collocate_core_1_'
/home/eric/cp2k/makefiles/../lib/cl8-intel/sopt/
libcp2k_lib.a(string_utilities.o): In function
`string_utilities_mp_typo_match_':
/home/eric/cp2k/makefiles/../src/string_utilities.F:(.text+0x6daa):
undefined reference to `glob_matching_mp_string_match_'
/home/eric/cp2k/makefiles/../src/string_utilities.F:(.text+0x6f13):
undefined reference to `glob_matching_mp_string_match_'
/home/eric/cp2k/makefiles/../lib/cl8-intel/sopt/
libcp2k_lib.a(xas_methods.o): In function
`xas_methods_mp_xas_env_init_':
/home/eric/cp2k/makefiles/../src/xas_methods.F:(.text+0xc3d4):
undefined reference to `periodic_table_mp_ptable_'
/home/eric/cp2k/makefiles/../lib/cl8-intel/sopt/
libcp2k_lib.a(atomic_kind_types.o): In function
`atomic_kind_types_mp_read_atomic_kind_':
/home/eric/cp2k/makefiles/../src/atomic_kind_types.F:(.text+0x209b):
undefined reference to `periodic_table_mp_ptable_'
/home/eric/cp2k/makefiles/../src/atomic_kind_types.F:(.text+0x20f5):
undefined reference to `periodic_table_mp_ptable_'
/home/eric/cp2k/makefiles/../src/atomic_kind_types.F:(.text+0x212f):
undefined reference to `periodic_table_mp_ptable_'
/home/eric/cp2k/makefiles/../lib/cl8-intel/sopt/
libcp2k_lib.a(external_potential_types.o): In function
`external_potential_types_mp_set_default_all_potential_':
/home/eric/cp2k/makefiles/../src/external_potential_types.F:(.text
+0xc4c5): undefined reference to `periodic_table_mp_ptable_'
/home/eric/cp2k/makefiles/../lib/cl8-intel/sopt/
libcp2k_lib.a(external_potential_types.o):/home/eric/cp2k/makefiles/../
src/external_potential_types.F:(.text+0xc4f1): more undefined
references to `periodic_table_mp_ptable_' follow
/home/eric/cp2k/makefiles/../lib/cl8-intel/sopt/
libcp2k_lib.a(mm_collocate_potential.o): In function
`mm_collocate_potential_mp_integrate_gf_rspace_nopbc_':
/home/eric/cp2k/makefiles/../src/mm_collocate_potential.F:(.text
+0x1163): undefined reference to `integrate_gf_npbc_'
/home/eric/cp2k/makefiles/../src/mm_collocate_potential.F:(.text
+0x2365): undefined reference to `integrate_gf_npbc_'
/home/eric/cp2k/makefiles/../lib/cl8-intel/sopt/
libcp2k_lib.a(mm_collocate_potential.o): In function
`mm_collocate_potential_mp_collocate_gf_rspace_nopbc_':
/home/eric/cp2k/makefiles/../src/mm_collocate_potential.F:(.text
+0x3bd8): undefined reference to `collocate_gf_npbc_'
/home/eric/cp2k/makefiles/../src/mm_collocate_potential.F:(.text
+0x50d4): undefined reference to `collocate_gf_npbc_'
/home/eric/cp2k/makefiles/../lib/cl8-intel/sopt/
libcp2k_lib.a(qs_epr_hyp.o): In function
`qs_epr_hyp_mp_qs_epr_hyp_calc_':
/home/eric/cp2k/makefiles/../src/qs_epr_hyp.F:(.text+0x3575):
undefined reference to `periodic_table_mp_ptable_'
/home/eric/cp2k/makefiles/../src/qs_epr_hyp.F:(.text+0x36cd):
undefined reference to `periodic_table_mp_ptable_'
/home/eric/cp2k/makefiles/../src/qs_epr_hyp.F:(.text+0x38b3):
undefined reference to `periodic_table_mp_ptable_'
/home/eric/cp2k/makefiles/../src/qs_epr_hyp.F:(.text+0x3c1f):
undefined reference to `periodic_table_mp_ptable_'
/home/eric/cp2k/makefiles/../src/qs_epr_hyp.F:(.text+0x3c52):
undefined reference to `periodic_table_mp_ptable_'
/home/eric/cp2k/makefiles/../lib/cl8-intel/sopt/
libcp2k_lib.a(qs_integrate_potential.o): In function
`qs_integrate_potentialintegrate_pgf_product_rspace_mp_integrate_ortho_':
/home/eric/cp2k/makefiles/../src/qs_integrate_potential.F:(.text
+0xc9d4): undefined reference to `integrate_core_0_'
/home/eric/cp2k/makefiles/../src/qs_integrate_potential.F:(.text
+0xcc19): undefined reference to `integrate_core_7_'
/home/eric/cp2k/makefiles/../src/qs_integrate_potential.F:(.text
+0xcd38): undefined reference to `integrate_core_default_'
/home/eric/cp2k/makefiles/../src/qs_integrate_potential.F:(.text
+0xd054): undefined reference to `integrate_core_6_'
/home/eric/cp2k/makefiles/../src/qs_integrate_potential.F:(.text
+0xd208): undefined reference to `integrate_core_5_'
/home/eric/cp2k/makefiles/../src/qs_integrate_potential.F:(.text
+0xd3bc): undefined reference to `integrate_core_4_'
/home/eric/cp2k/makefiles/../src/qs_integrate_potential.F:(.text
+0xd570): undefined reference to `integrate_core_3_'
/home/eric/cp2k/makefiles/../src/qs_integrate_potential.F:(.text
+0xd724): undefined reference to `integrate_core_2_'
/home/eric/cp2k/makefiles/../src/qs_integrate_potential.F:(.text
+0xd8d8): undefined reference to `integrate_core_1_'
/home/eric/cp2k/makefiles/../lib/cl8-intel/sopt/
libcp2k_lib.a(semi_empirical_parameters.o): In function
`semi_empirical_parameters_mp_mndo_default_parameter_':
/home/eric/cp2k/makefiles/../src/semi_empirical_parameters.F:(.text
+0xa0): undefined reference to `periodic_table_mp_ptable_'
/home/eric/cp2k/makefiles/../src/semi_empirical_parameters.F:(.text
+0xc0): undefined reference to `periodic_table_mp_ptable_'
/home/eric/cp2k/makefiles/../lib/cl8-intel/sopt/
libcp2k_lib.a(semi_empirical_parameters.o): In function
`semi_empirical_parameters_mp_am1_default_parameter_':
/home/eric/cp2k/makefiles/../src/semi_empirical_parameters.F:(.text
+0x48b6): undefined reference to `periodic_table_mp_ptable_'
/home/eric/cp2k/makefiles/../src/semi_empirical_parameters.F:(.text
+0x48e3): undefined reference to `periodic_table_mp_ptable_'
/home/eric/cp2k/makefiles/../lib/cl8-intel/sopt/
libcp2k_lib.a(semi_empirical_parameters.o): In function
`semi_empirical_parameters_mp_rm1_default_parameter_':
/home/eric/cp2k/makefiles/../src/semi_empirical_parameters.F:(.text
+0x6e9b): undefined reference to `periodic_table_mp_ptable_'
/home/eric/cp2k/makefiles/../lib/cl8-intel/sopt/
libcp2k_lib.a(semi_empirical_parameters.o):/home/eric/cp2k/
makefiles/../src/semi_empirical_parameters.F:(.text+0x6ec9): more
undefined references to `periodic_table_mp_ptable_' follow
make[1]: *** [/home/eric/cp2k/makefiles/../exe/cl8-intel/cp2k.sopt]
Error 1
make[1]: Leaving directory `/home/eric/cp2k/obj/cl8-intel/sopt'
make: *** [build] Error 2



More information about the CP2K-user mailing list