> use nm: > > nm Modules/berry_phase.o | grep -i ln_ > nm clib/indici.o | grep -i ln_ > > when they are the same, you have won. BTW: the module > berry_phase is actually never used, so you might try > "touch Modules/berry_phase.o"
Dear Paolo, ...my system seems to be very nasty. I used this cp.h: /* Copyright (C) 2002 FPMD group This file is distributed under the terms of the GNU General Public License. See the file `License' in the root directory of the present distribution, or http://www.gnu.org/copyleft/gpl.txt . */ # define LN_ALLOC ln_alloc_ # define LN_DEALLOC ln_dealloc_ # define LN_SET ln_set_ # define LN_ACTIVATE ln_activate_ # define LN_IND ln_ind_ I recompiled (after a make clean, as usual), and again I got errors: tail -n 13 log.nm Undefined first referenced symbol in file ln_set_ ../Modules/berry_phase.o ln_dealloc_ ../Modules/berry_phase.o ln_activate_ ../Modules/berry_phase.o ln_alloc_ ../Modules/berry_phase.o ln_ind_ ../Modules/berry_phase.o ld: fatal: Symbol referencing errors. No output written to memory.x Then I checked /Modules/berry_phase.o and /clib/indici.o franklin-1 [261] nm ./Modules/berry_phase.o | grep -i ln_ [48] | 3936| 12|FUNC |GLOB |0 |2 |berry_phase.ln_closeup_ [58] | 3968| 184|FUNC |GLOB |0 |2 |berry_phase.ln_setup_ [62] | 0| 0|FUNC |GLOB |0 |UNDEF |ln_activate_ [61] | 0| 0|FUNC |GLOB |0 |UNDEF |ln_alloc_ [60] | 0| 0|FUNC |GLOB |0 |UNDEF |ln_dealloc_ [59] | 0| 0|FUNC |GLOB |0 |UNDEF |ln_ind_ [63] | 0| 0|FUNC |GLOB |0 |UNDEF |ln_set_ franklin-1 [262] nm ./clib/indici.o | grep -i ln_ [10] | 24| 4|OBJT |LOCL |0 |3 |LN_SIZE [34] | 1568| 56|FUNC |GLOB |0 |2 |ln_activate_ [28] | 1248| 88|FUNC |GLOB |0 |2 |ln_alloc_ [30] | 1344| 48|FUNC |GLOB |0 |2 |ln_dealloc_ [35] | 1632| 128|FUNC |GLOB |0 |2 |ln_ind_ [32] | 1408| 152|FUNC |GLOB |0 |2 |ln_set_ They look the same. Nevertheless, the compilation fails. After this unsuccesful attempt I tried: touch /Modules/berry_phase.o make all but nothing changed Any idea? Stefano
