From andre@ignavus.net Fri Nov 17 08:10:34 2017 Received: from mail-io0-f169.google.com ([209.85.223.169]) by stoneboat.default.lvansomeren.uk0.bigv.io with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1eFbjI-0006s3-Kq for yaffs@stoneboat.aleph1.co.uk; Fri, 17 Nov 2017 08:10:34 +0000 Received: by mail-io0-f169.google.com with SMTP id q101so7952584ioi.1 for ; Fri, 17 Nov 2017 00:10:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ignavus-net.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=x4PWVQYvstcIz42BEaUb4CtFGoIgv7qk/PwxdG+KEPA=; b=1vl5t7PcKL7iFjEM2MD9KFFBaARbBWqCqPTINX9lE4Rgt8y1Bsji9sQ3VxiRBM7+Ei wTwqGJwk5P6hZF/ayaWkkZbDTfjlkCphFJmaTLrnQl/58fDmg7dv/BmASMEz7qoRNyhi 9kXqAlE3O39DiuF0KP6XEMtCh6Tiz0Naaq7dtgSRiHk764KQ8QfRrKWODB+OdmMB6CfX V6R/sYji1BVmCjQOGuvoteN0fXDUklcpOTB6vdBrbKgaVDYcKAV6IgPUeGVg388hABk8 OGSfZ0GvcOzbw+ZTs558uufE6yW3t0UvtXyCiOdB3rrbYkHgS1U/5k/SBh2wRuj1VoXa b8FQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=x4PWVQYvstcIz42BEaUb4CtFGoIgv7qk/PwxdG+KEPA=; b=MgjDi/+6WNiHXaJW40VApsgn8kjUSJlQsRy8h1dgmCqUwIRY114SPUmcsQJBBQDYl5 CDUHaPE8Yqebau7rVbcCiUarN6XusyDt0TKTI0VdXurqvn3nuPiH+xWw5NZ2L4WS88U2 sFhAqJuJZ5kjchvFi1LWjyKTuOxGjDA5cU9Eg9f0RWJb8n94P5IAKyCz68CBqEvDWmsn vNDaJkA4tzGF4484MgxfwDdqUoXqL9smVqs1p2hn/sJx/Y1unnRH0+tKowcbrTQ2TpmB zNeA6f+Ww/Rsvcs6dwVutmXLQcQZSMKofEfks1YZ4a57jd/ABAQbW4BDBTALtMe1shfZ FnMA== X-Gm-Message-State: AJaThX4W4RcyODFd4QQtvMKvcHGMAHMECFxkalzVx3l/uxoX9DOGUb94 DhTOHJkQQcYhKYpTBsb5wU0Q6TdF692gSJkynW0KBA== X-Google-Smtp-Source: AGs4zMZNdPL+DhKiKmnP7zjmg53drbqJvXs87gbiT14KiuEWORRUpBiRw97YQqkoemTh1sPXOROTvE4fUbl+zwlhHJ0= X-Received: by 10.107.170.42 with SMTP id t42mr1749109ioe.228.1510906225199; Fri, 17 Nov 2017 00:10:25 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Andre Renaud Date: Fri, 17 Nov 2017 08:10:14 +0000 Message-ID: To: Abhishek Joshi Cc: yaffs@stoneboat.aleph1.co.uk Content-Type: multipart/alternative; boundary="001a114152e4d7a84a055e294475" X-Spam_score: -3.2 X-Spam_score_int: -31 X-Spam_bar: --- X-Spam_report: Spam detection software, running on the system "stoneboat.default.lvansomeren.uk0.bigv.io", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi Abhishek, It looks like readlink_copy is no longer exported (it was prior to 4.7). I would guess you'd need to do something similar to this, ie: use the i_op->readlink function instead. https://marc.info/?l=linux-xfs&m=142981614925048&w=2 [...] Content analysis details: (-3.2 points, 4.9 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: amazonaws.com] -2.8 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.223.169 listed in wl.mailspike.net] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [209.85.223.169 listed in list.dnswl.org] 0.0 HTML_IMAGE_ONLY_32 BODY: HTML: images with 2800-3200 bytes of words -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.0 HTML_MESSAGE BODY: HTML included in message 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.0 T_REMOTE_IMAGE Message contains an external image 1.5 AWL AWL: Adjusted score from AWL reputation of From: address X-SA-Exim-Connect-IP: 209.85.223.169 X-SA-Exim-Mail-From: andre@ignavus.net X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on stoneboat.default.lvansomeren.uk0.bigv.io X-Spam-Level: X-Spam-Status: No, score=-3.2 required=4.9 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,HTML_IMAGE_ONLY_32,HTML_MESSAGE,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,T_REMOTE_IMAGE,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.1 X-SA-Exim-Version: 4.2.1 (built Tue, 02 Aug 2016 21:08:31 +0000) X-SA-Exim-Scanned: Yes (on stoneboat.default.lvansomeren.uk0.bigv.io) Subject: Re: [Yaffs] Issue with yaffs2 compilation on linux X-BeenThere: yaffs@stoneboat.aleph1.co.uk X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussion of YAFFS NAND flash filesystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Nov 2017 08:10:34 -0000 --001a114152e4d7a84a055e294475 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Abhishek, It looks like readlink_copy is no longer exported (it was prior to 4.7). I would guess you'd need to do something similar to this, ie: use the i_op->readlink function instead. https://marc.info/?l=3Dlinux-xfs&m=3D142981614925048&w=3D2 Regards, Andre On Fri, 17 Nov 2017 at 20:54 Abhishek Joshi wrote: > Hi, > With linux kernel version 4.10.0-38-generic, when I compile yaffs2 as an > out of tree module, I get the following warning: > > *WARNING: "readlink_copy" > [/home/abjoshi/workspace/cse523/yaffs2/yaffs2multi.ko] undefined!* > I did a bit of digging and found that '*readlink_copy'* is used in > yaffs_readlink when the kernel version is greater than 3.15 and is in fac= t, > not exported which explains the warning, I think. > I believe I am missing something here, module obviously cannot have > undefined symbols. Is this a kernel version problem? Any help is greatly > appreciated. > > My compilation steps: > - git clone > - make > > > -- > Thanks and Regards, > Abhishek Joshi > > > > =E2=80=8C > Sent with Mailtrack > > _______________________________________________ > yaffs mailing list > yaffs@stoneboat.aleph1.co.uk > http://stoneboat.aleph1.co.uk/cgi-bin/mailman/listinfo/yaffs > --001a114152e4d7a84a055e294475 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Abhishek,
It looks like readlink_copy is no l= onger exported (it was prior to 4.7).

I would guess you&= #39;d need to do something similar to this, ie: use the i_op->readlink f= unction instead.

Regards,
= Andre

On Fri, 17= Nov 2017 at 20:54 Abhishek Joshi <abjoshi@cs.stonybrook.edu> wrote:
3D""Hi,
With linux kernel version 4.10.0-38-generic, when I com= pile yaffs2 as an out of tree module, I get the following warning:

WARNING: "readlink_copy" [/home/abjoshi/works= pace/cse523/yaffs2/yaffs2multi.ko] undefined!
I did a bit of = digging and found that 'readlink_copy'=C2=A0is used in yaffs= _readlink when the kernel version is greater than 3.15 and is in fact, not = exported which explains the warning, I think.
I believe I am miss= ing something here, module obviously cannot have undefined symbols. Is this= a kernel version problem? Any help is greatly appreciated.

<= /div>
My compilation steps:
=C2=A0- git clone
=C2= =A0- make


--
Thanks and Re= gards,
Abhishek Joshi



=E2=80=8C
Sent with Mailtrack =20 =20
_______________________________________________
yaffs mailing list
yaffs@sto= neboat.aleph1.co.uk
http://stoneboat.aleph1.co.uk/cgi-bin/ma= ilman/listinfo/yaffs
--001a114152e4d7a84a055e294475--