[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAJfuBxweY7sG2KZDPHsrOP6iu8sQxw8EvCKA1QtGnDFKA92zag@mail.gmail.com>
Date: Tue, 29 May 2012 19:11:14 -0600
From: Jim Cromie <jim.cromie@...il.com>
To: shawn <shawnlandden@...il.com>
Cc: Jason Baron <jbaron@...hat.com>,
linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: include/linux/dynamic_debug.h:111:2: error: implicit declaration of function ‘strstr’
hi Shawn,
On Tue, May 29, 2012 at 5:31 PM, shawn <shawnlandden@...il.com> wrote:
> SHIPPED arch/arm/boot/compressed/lib1funcs.S
> In file included from include/linux/kernel.h:23:0,
> from
> arch/arm/boot/compressed/../../../../lib/xz/xz_private.h:15,
> from
> arch/arm/boot/compressed/../../../../lib/decompress_unxz.c:145,
> from arch/arm/boot/compressed/decompress.c:50:
> include/linux/dynamic_debug.h: In function
> ‘ddebug_dyndbg_module_param_cb’:
> include/linux/dynamic_debug.h:111:2: error: implicit declaration of
> function ‘strstr’ [-Werror=implicit-function-declaration]
>
> git blame shows b48420c1d3019ce8d84fb8e58f4ca86b8e3655b8 as introducing
> this call
>
> --
> -Shawn Landden
>
that symbol should have been provided by line 100
98 #else
99
100 #include <linux/string.h>
101 #include <linux/errno.h>
...
108 static inline int ddebug_dyndbg_module_param_cb(char *param, char *val,
109 const char *modname)
110 {
111 if (strstr(param, "dyndbg")) {
which has:
74 #ifndef __HAVE_ARCH_STRSTR
75 extern char * strstr(const char *, const char *);
76 #endif
does your arch have __HAVE_ARCH_STRSTR ?
if so, is strstr exported under different conditions ??
Can you send me
arch/arm/boot/compressed/decompress.i ?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists