ld
ne cherchera plus automatiquement dans les dépendances des objects liés.
A
et B
, il ne compilera plus à moins que A
et B
soient explicitement liés.
/usr/bin/ld: gpx-parser.o: undefined reference to symbol 'acos@@GLIBC_2.0' /usr/bin/ld: note: 'acos@@GLIBC_2.0' is defined in DSO /lib/libm.so.6 so try adding it to the linker command line
.o
spécifié doit explicitement être liée à libm.