[Intel-gfx] [intelddx][strlcpy | strlcat | clock_gettime] clang-3.8: error: linker command failed with exit code 1
Chris Wilson
chris at chris-wilson.co.uk
Thu Mar 24 11:01:01 UTC 2016
On Thu, Mar 24, 2016 at 11:44:45AM +0100, Sedat Dilek wrote:
> [ Please see attached files (build-script, full logs etc.) ]
>
> With my selfmade llvm-toolchain v3.8.0 I see these errors/warnings...
> conftest.c:(.text+0x12): undefined reference to `strlcpy'
> clang-3.8: error: linker command failed with exit code 1 (use -v to
> see invocation)
We don't even use strlcat! Try:
diff --git a/configure.ac b/configure.ac
index c18ad96..b121515 100644
--- a/configure.ac
+++ b/configure.ac
@@ -62,9 +62,6 @@ AC_DISABLE_STATIC
AC_PROG_LIBTOOL
AC_SYS_LARGEFILE
-# Check for common libc routines redefined by os.h
-AC_CHECK_FUNCS([strlcpy strlcat strndup], [], [])
-
# Platform specific settings
case $host_os in
*linux*)
--
Chris Wilson, Intel Open Source Technology Centre
More information about the Intel-gfx
mailing list