[klibc] multiple definition of `_start' when using -ld with klcc
H. Peter Anvin
hpa at zytor.com
Wed Jul 1 14:30:11 PDT 2009
Jon Ringle wrote:
> I actually encountered this problem while trying to build udev-141 with klcc cross compiler targeting armeb. The problem came about when udev configure ran the following test from configure.ac:
> AC_CHECK_LIB(c, inotify_init,
> [AC_DEFINE([HAVE_INOTIFY], 1, [inotify available])],
> [AC_MSG_WARN([inotify support disabled])])
It should use AC_CHECK_FUNC(), not AC_CHECK_LIB() for this!
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.
More information about the klibc