jakobj/nest-simulator

multiple definition of `nest::names::theta'

Closed this issue · 4 comments

At the tip of Jakob's 5g branch, build of NEST on an x86 box gives:

[100%] Linking CXX executable nest
../topology/libtopology.a(topology_names.cpp.o):(.data+0x8): multiple definition of `nest::names::theta'
../nestkernel/libnestkernel.a(nest_names.cpp.o):(.data+0x124): first defined here
make[2]: *** [nest/nest] Error 1
make[1]: *** [nest/CMakeFiles/nest.dir/all] Error 2
make: *** [all] Error 2

@jakobj could you cherry-pick commit ikitayama@11d5c5c

I created #80 to fix this, including tidying up in the header file.

@ikitayama Thanks for detecting this. Our test system currently does not link statically and can therefore miss duplicate names.

Fixed by #80 and closing