This beat is located here: https://fedoraproject.org/wiki/Docs/Beats/Devel/Tools/GCC
ld
will no longer automatically search in the dependencies of linked objects.
A
and B
, it will not compile unless A
and B
are both explicitly linked.
/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
needs to explicitly link libm.
_builtin_stdarg_start
has been completely removed from gcc 4.4.3. _builtin_stdarg_start
will return a undefined reference to _builtin_stdarg_start
because of the depreciation of <stdarg.h>
in gcc 4.x The replacement is _builtin_va_start
.