Re: pf_ring make error
Alfredo Cardigliano <[email protected]> Wed, 27 Feb 2019 15:28:57 +0100
| Newsgroups | gmane.linux.ntop.general |
|---|---|
| Message-ID | <[email protected]> |
--===============7962276054385785473== Content-Type: multipart/alternative; boundary="Apple-Mail=_F5940774-D2E3-4622-BE5C-0D759AD97593" --Apple-Mail=_F5940774-D2E3-4622-BE5C-0D759AD97593 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hi Daniel this is due to a change in latest kernel versions, we are working for = fixing this, please check this issue = https://github.com/ntop/PF_RING/issues/454 = <https://github.com/ntop/PF_RING/issues/454> Best Regards Alfredo > On 26 Feb 2019, at 11:08, Daniel Herakovic <[email protected]> = wrote: >=20 > Hello, >=20 > While installation of pf_ring for use with ntop on clear linux with = kernel 4.20.11-702.native, the output gives me an error I don't know how = to resolve. I'd appreciate any assistance, and or at least a direction = to where I can find a solution myself. Thanks. >=20 > my kernel version is: >=20 > daniel@clr-341cdbff56104f85bf18c532c007d6f7 ~/PF_RING $ uname -r > 4.20.11-702.native >=20 > I cloned the git repo to my local disk: >=20 > daniel@clr-341cdbff56104f85bf18c532c007d6f7 ~/PF_RING $ ls > ChangeLog doc drivers kernel LICENSE Makefile package README = README.FIRST README.md tools userland >=20 > the kernel headers are in the folder: >=20 > daniel@clr-341cdbff56104f85bf18c532c007d6f7 ~/PF_RING $ ls = /usr/lib/modules/4.20.11-702.native/build/ > arch certs Documentation firmware include ipc Kconfig lib = mm native samples security System.map usr > block crypto drivers fs init Kbuild kernel = Makefile Module.symvers net scripts sound tools virt >=20 > running make gives me the following errors: >=20 > daniel@clr-341cdbff56104f85bf18c532c007d6f7 ~/PF_RING $ make > cd kernel; make > make[1]: Entering directory '/home/daniel/PF_RING/kernel' > make -C /lib/modules/4.20.11-702.native/build = SUBDIRS=3D/home/daniel/PF_RING/kernel = EXTRA_CFLAGS=3D'-I/home/daniel/PF_RING/kernel = -DGIT_REV=3D"\"dev:41fb9de222b7c6b480c308426438237fc29ad794\"" -no-pie = -fno-pie' modules > make[2]: Entering directory = '/usr/lib/modules/4.20.11-702.native/build' > CC [M] /home/daniel/PF_RING/kernel/pf_ring.o > In file included from /home/daniel/PF_RING/kernel/pf_ring.c:131: > /home/daniel/PF_RING/kernel/pf_ring.c: In function = =E2=80=98ring_notifier=E2=80=99: > /home/daniel/PF_RING/kernel/linux/pf_ring.h:41:20: error: =E2=80=98struc= t net_device=E2=80=99 has no member named =E2=80=98ax25_ptr=E2=80=99; = did you mean =E2=80=98dsa_ptr=E2=80=99? > #define pfring_ptr ax25_ptr > ^~~~~~~~ > /home/daniel/PF_RING/kernel/pf_ring.c:8175:39: note: in expansion of = macro =E2=80=98pfring_ptr=E2=80=99 > hook =3D (struct pfring_hooks *) dev->pfring_ptr; > ^~~~~~~~~~ > /home/daniel/PF_RING/kernel/linux/pf_ring.h:41:20: error: =E2=80=98struc= t net_device=E2=80=99 has no member named =E2=80=98ax25_ptr=E2=80=99; = did you mean =E2=80=98dsa_ptr=E2=80=99? > #define pfring_ptr ax25_ptr > ^~~~~~~~ > /home/daniel/PF_RING/kernel/pf_ring.c:173:69: note: in expansion of = macro =E2=80=98pfring_ptr=E2=80=99 > printk("[PF_RING][DEBUG] %s:%d " fmt, __FUNCTION__, __LINE__, ## = __VA_ARGS__); } > = ^~~~~~~~~~~ > /home/daniel/PF_RING/kernel/pf_ring.c:8189:7: note: in expansion of = macro =E2=80=98debug_printk=E2=80=99 > debug_printk(2, "%s: [REGISTER][ifindex: %u pfring_ptr=3D%p = hook=3D%p]\n", dev->name, dev->ifindex, dev->pfring_ptr, &ring_hooks); > ^~~~~~~~~~~~ > /home/daniel/PF_RING/kernel/linux/pf_ring.h:41:20: error: =E2=80=98struc= t net_device=E2=80=99 has no member named =E2=80=98ax25_ptr=E2=80=99; = did you mean =E2=80=98dsa_ptr=E2=80=99? > #define pfring_ptr ax25_ptr > ^~~~~~~~ > /home/daniel/PF_RING/kernel/pf_ring.c:8202:7: note: in expansion of = macro =E2=80=98pfring_ptr=E2=80=99 > dev->pfring_ptr =3D &ring_hooks; > ^~~~~~~~~~ > /home/daniel/PF_RING/kernel/linux/pf_ring.h:41:20: error: =E2=80=98struc= t net_device=E2=80=99 has no member named =E2=80=98ax25_ptr=E2=80=99; = did you mean =E2=80=98dsa_ptr=E2=80=99? > #define pfring_ptr ax25_ptr > ^~~~~~~~ > /home/daniel/PF_RING/kernel/pf_ring.c:173:69: note: in expansion of = macro =E2=80=98pfring_ptr=E2=80=99 > printk("[PF_RING][DEBUG] %s:%d " fmt, __FUNCTION__, __LINE__, ## = __VA_ARGS__); } > = ^~~~~~~~~~~ > /home/daniel/PF_RING/kernel/pf_ring.c:8210:7: note: in expansion of = macro =E2=80=98debug_printk=E2=80=99 > debug_printk(2, "%s: [UNREGISTER][ifindex: %u = pfring_ptr=3D%p]\n", dev->name, dev->ifindex, dev->pfring_ptr); > ^~~~~~~~~~~~ > /home/daniel/PF_RING/kernel/linux/pf_ring.h:41:20: error: =E2=80=98struc= t net_device=E2=80=99 has no member named =E2=80=98ax25_ptr=E2=80=99; = did you mean =E2=80=98dsa_ptr=E2=80=99? > #define pfring_ptr ax25_ptr > ^~~~~~~~ > /home/daniel/PF_RING/kernel/pf_ring.c:8212:43: note: in expansion of = macro =E2=80=98pfring_ptr=E2=80=99 > hook =3D (struct pfring_hooks *) dev->pfring_ptr; > ^~~~~~~~~~ > /home/daniel/PF_RING/kernel/linux/pf_ring.h:41:20: error: =E2=80=98struc= t net_device=E2=80=99 has no member named =E2=80=98ax25_ptr=E2=80=99; = did you mean =E2=80=98dsa_ptr=E2=80=99? > #define pfring_ptr ax25_ptr > ^~~~~~~~ > /home/daniel/PF_RING/kernel/pf_ring.c:8215:7: note: in expansion of = macro =E2=80=98pfring_ptr=E2=80=99 > dev->pfring_ptr =3D NULL; > ^~~~~~~~~~ > /home/daniel/PF_RING/kernel/pf_ring.c: In function =E2=80=98ring_exit=E2= =80=99: > /home/daniel/PF_RING/kernel/linux/pf_ring.h:41:20: error: =E2=80=98struc= t net_device=E2=80=99 has no member named =E2=80=98ax25_ptr=E2=80=99; = did you mean =E2=80=98dsa_ptr=E2=80=99? > #define pfring_ptr ax25_ptr > ^~~~~~~~ > /home/daniel/PF_RING/kernel/pf_ring.c:8348:50: note: in expansion of = macro =E2=80=98pfring_ptr=E2=80=99 > hook =3D (struct pfring_hooks *) dev_ptr->dev->pfring_ptr; > ^~~~~~~~~~ > /home/daniel/PF_RING/kernel/linux/pf_ring.h:41:20: error: =E2=80=98struc= t net_device=E2=80=99 has no member named =E2=80=98ax25_ptr=E2=80=99; = did you mean =E2=80=98dsa_ptr=E2=80=99? > #define pfring_ptr ax25_ptr > ^~~~~~~~ > /home/daniel/PF_RING/kernel/pf_ring.c:8362:23: note: in expansion of = macro =E2=80=98pfring_ptr=E2=80=99 > dev_ptr->dev->pfring_ptr =3D NULL; /* Unhook PF_RING */ > ^~~~~~~~~~ > make[3]: *** [scripts/Makefile.build:298: = /home/daniel/PF_RING/kernel/pf_ring.o] Error 1 > make[2]: *** [Makefile:1562: _module_/home/daniel/PF_RING/kernel] = Error 2 > make[2]: Leaving directory '/usr/lib/modules/4.20.11-702.native/build' > make[1]: *** [Makefile:64: all] Error 2 > make[1]: Leaving directory '/home/daniel/PF_RING/kernel' > make: *** [Makefile:2: all] Error 2 >=20 >=20 >=20 > _______________________________________________ > Ntop mailing list > [email protected] <mailto:[email protected]> > http://listgateway.unipi.it/mailman/listinfo/ntop = <http://listgateway.unipi.it/mailman/listinfo/ntop> --Apple-Mail=_F5940774-D2E3-4622-BE5C-0D759AD97593 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 <html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; = charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; = -webkit-nbsp-mode: space; line-break: after-white-space;" class=3D"">Hi = Daniel<div class=3D"">this is due to a change in latest kernel versions, = we are working for fixing this, please check this issue <a = href=3D"https://github.com/ntop/PF_RING/issues/454" = class=3D"">https://github.com/ntop/PF_RING/issues/454</a></div><div = class=3D""><br class=3D""></div><div class=3D"">Best Regards</div><div = class=3D"">Alfredo<br class=3D""><div><br class=3D""><blockquote = type=3D"cite" class=3D""><div class=3D"">On 26 Feb 2019, at 11:08, = Daniel Herakovic <<a href=3D"mailto:[email protected]" = class=3D"">[email protected]</a>> wrote:</div><br = class=3D"Apple-interchange-newline"><div class=3D""><div = style=3D"caret-color: rgb(0, 0, 0); font-style: normal; = font-variant-caps: normal; font-weight: normal; letter-spacing: normal; = text-align: start; text-indent: 0px; text-transform: none; white-space: = normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; = text-decoration: none; font-family: Calibri, Helvetica, sans-serif; = font-size: 12pt;" class=3D"">Hello,</div><div style=3D"caret-color: = rgb(0, 0, 0); font-style: normal; font-variant-caps: normal; = font-weight: normal; letter-spacing: normal; text-align: start; = text-indent: 0px; text-transform: none; white-space: normal; = word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: = none; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;" = class=3D""><br class=3D""></div><div style=3D"caret-color: rgb(0, 0, 0); = font-style: normal; font-variant-caps: normal; font-weight: normal; = letter-spacing: normal; text-align: start; text-indent: 0px; = text-transform: none; white-space: normal; word-spacing: 0px; = -webkit-text-stroke-width: 0px; text-decoration: none; font-family: = Calibri, Helvetica, sans-serif; font-size: 12pt;" class=3D"">While = installation of pf_ring for use with ntop on clear linux with kernel = 4.20.11-702.native, the output gives me an error I don't know how to = resolve. I'd appreciate any assistance, and or at least a direction to = where I can find a solution myself. Thanks.<br class=3D""></div><div = style=3D"caret-color: rgb(0, 0, 0); font-style: normal; = font-variant-caps: normal; font-weight: normal; letter-spacing: normal; = text-align: start; text-indent: 0px; text-transform: none; white-space: = normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; = text-decoration: none; font-family: Calibri, Helvetica, sans-serif; = font-size: 12pt;" class=3D""><br class=3D""></div><div = style=3D"caret-color: rgb(0, 0, 0); font-style: normal; = font-variant-caps: normal; font-weight: normal; letter-spacing: normal; = text-align: start; text-indent: 0px; text-transform: none; white-space: = normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; = text-decoration: none; font-family: Calibri, Helvetica, sans-serif; = font-size: 12pt;" class=3D""><b class=3D"">my kernel version = is:</b></div><div style=3D"caret-color: rgb(0, 0, 0); font-style: = normal; font-variant-caps: normal; font-weight: normal; letter-spacing: = normal; text-align: start; text-indent: 0px; text-transform: none; = white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; = text-decoration: none; font-family: Calibri, Helvetica, sans-serif; = font-size: 12pt;" class=3D""><br class=3D""></div><div = style=3D"caret-color: rgb(0, 0, 0); font-style: normal; = font-variant-caps: normal; font-weight: normal; letter-spacing: normal; = text-align: start; text-indent: 0px; text-transform: none; white-space: = normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; = text-decoration: none; font-family: Calibri, Helvetica, sans-serif; = font-size: 12pt;" class=3D""><span style=3D"font-family: Consolas, = Courier, monospace;" = class=3D"">daniel@clr-341cdbff56104f85bf18c532c007d6f7 ~/PF_RING $ uname = -r</span><span class=3D""><br class=3D""></span><span = style=3D"font-family: Consolas, Courier, monospace;" = class=3D"">4.20.11-702.native</span></div><div style=3D"caret-color: = rgb(0, 0, 0); font-style: normal; font-variant-caps: normal; = font-weight: normal; letter-spacing: normal; text-align: start; = text-indent: 0px; text-transform: none; white-space: normal; = word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: = none; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;" = class=3D""><span class=3D""><br class=3D""></span></div><div = style=3D"caret-color: rgb(0, 0, 0); font-style: normal; = font-variant-caps: normal; font-weight: normal; letter-spacing: normal; = text-align: start; text-indent: 0px; text-transform: none; white-space: = normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; = text-decoration: none; font-family: Calibri, Helvetica, sans-serif; = font-size: 12pt;" class=3D""><b class=3D""><span class=3D"">I cloned the = git repo to my local disk:</span></b></div><div style=3D"caret-color: = rgb(0, 0, 0); font-style: normal; font-variant-caps: normal; = font-weight: normal; letter-spacing: normal; text-align: start; = text-indent: 0px; text-transform: none; white-space: normal; = word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: = none; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;" = class=3D""><span class=3D""><br class=3D""></span></div><div = style=3D"caret-color: rgb(0, 0, 0); font-style: normal; = font-variant-caps: normal; font-weight: normal; letter-spacing: normal; = text-align: start; text-indent: 0px; text-transform: none; white-space: = normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; = text-decoration: none; font-family: Calibri, Helvetica, sans-serif; = font-size: 12pt;" class=3D""><span class=3D""><span style=3D"font-family: = Consolas, Courier, monospace;" = class=3D"">daniel@clr-341cdbff56104f85bf18c532c007d6f7 ~/PF_RING $ = ls</span><span class=3D""><br class=3D""></span><span = style=3D"font-family: Consolas, Courier, monospace;" class=3D"">ChangeLog = doc drivers kernel LICENSE Makefile = package README README.FIRST README.md = tools userland</span></span></div><div style=3D"caret-color: = rgb(0, 0, 0); font-style: normal; font-variant-caps: normal; = font-weight: normal; letter-spacing: normal; text-align: start; = text-indent: 0px; text-transform: none; white-space: normal; = word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: = none; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;" = class=3D""><span class=3D""><span class=3D""><br = class=3D""></span></span></div><div style=3D"caret-color: rgb(0, 0, 0); = font-style: normal; font-variant-caps: normal; font-weight: normal; = letter-spacing: normal; text-align: start; text-indent: 0px; = text-transform: none; white-space: normal; word-spacing: 0px; = -webkit-text-stroke-width: 0px; text-decoration: none; font-family: = Calibri, Helvetica, sans-serif; font-size: 12pt;" class=3D""><b = class=3D""><span class=3D""><span class=3D"">the kernel headers are in = the folder:</span></span></b></div><div style=3D"caret-color: rgb(0, 0, = 0); font-style: normal; font-variant-caps: normal; font-weight: normal; = letter-spacing: normal; text-align: start; text-indent: 0px; = text-transform: none; white-space: normal; word-spacing: 0px; = -webkit-text-stroke-width: 0px; text-decoration: none; font-family: = Calibri, Helvetica, sans-serif; font-size: 12pt;" class=3D""><span = class=3D""><span class=3D""><br class=3D""></span></span></div><div = style=3D"caret-color: rgb(0, 0, 0); font-style: normal; = font-variant-caps: normal; font-weight: normal; letter-spacing: normal; = text-align: start; text-indent: 0px; text-transform: none; white-space: = normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; = text-decoration: none; font-family: Calibri, Helvetica, sans-serif; = font-size: 12pt;" class=3D""><span class=3D""><span class=3D""><span = class=3D""><span class=3D""><div class=3D""><span style=3D"font-family: = Consolas, Courier, monospace;" = class=3D"">daniel@clr-341cdbff56104f85bf18c532c007d6f7 ~/PF_RING $ ls = /usr/lib/modules/4.20.11-702.native/build/</span><br class=3D""></div><div= class=3D""><span style=3D"font-family: Consolas, Courier, monospace;" = class=3D"">arch certs Documentation firmware = include ipc Kconfig lib = mm native = samples security System.map usr</span><br = class=3D""></div><div class=3D""><span style=3D"font-family: Consolas, = Courier, monospace;" class=3D"">block crypto drivers = fs init = Kbuild kernel Makefile Module.symvers net = scripts sound tools = virt</span></div></span></span></span></span></div><div = style=3D"caret-color: rgb(0, 0, 0); font-style: normal; = font-variant-caps: normal; font-weight: normal; letter-spacing: normal; = text-align: start; text-indent: 0px; text-transform: none; white-space: = normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; = text-decoration: none; font-family: Calibri, Helvetica, sans-serif; = font-size: 12pt;" class=3D""><span class=3D""><span class=3D""><br = class=3D""></span></span></div><div style=3D"caret-color: rgb(0, 0, 0); = font-style: normal; font-variant-caps: normal; font-weight: normal; = letter-spacing: normal; text-align: start; text-indent: 0px; = text-transform: none; white-space: normal; word-spacing: 0px; = -webkit-text-stroke-width: 0px; text-decoration: none; font-family: = Calibri, Helvetica, sans-serif; font-size: 12pt;" class=3D""><b = class=3D""><span class=3D""><span class=3D"">running make gives me the = following errors:</span></span></b></div><div style=3D"caret-color: = rgb(0, 0, 0); font-style: normal; font-variant-caps: normal; = font-weight: normal; letter-spacing: normal; text-align: start; = text-indent: 0px; text-transform: none; white-space: normal; = word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: = none; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;" = class=3D""><span class=3D""><span class=3D""><br = class=3D""></span></span></div><div style=3D"caret-color: rgb(0, 0, 0); = font-style: normal; font-variant-caps: normal; font-weight: normal; = letter-spacing: normal; text-align: start; text-indent: 0px; = text-transform: none; white-space: normal; word-spacing: 0px; = -webkit-text-stroke-width: 0px; text-decoration: none; font-family: = Calibri, Helvetica, sans-serif; font-size: 12pt;" class=3D""><span = class=3D""><span class=3D""><span style=3D"font-family: Consolas, = Courier, monospace;" = class=3D"">daniel@clr-341cdbff56104f85bf18c532c007d6f7 ~/PF_RING $ = make</span><span class=3D""><br class=3D""></span><div class=3D""><span = style=3D"font-family: Consolas, Courier, monospace;" class=3D"">cd = kernel; make</span><br class=3D""></div><div class=3D""><span = style=3D"font-family: Consolas, Courier, monospace;" class=3D"">make[1]: = Entering directory '/home/daniel/PF_RING/kernel'</span><br = class=3D""></div><div class=3D""><span style=3D"font-family: Consolas, = Courier, monospace;" class=3D"">make -C = /lib/modules/4.20.11-702.native/build = SUBDIRS=3D/home/daniel/PF_RING/kernel = EXTRA_CFLAGS=3D'-I/home/daniel/PF_RING/kernel = -DGIT_REV=3D"\"dev:41fb9de222b7c6b480c308426438237fc29ad794\"" -no-pie = -fno-pie' modules</span><br class=3D""></div><div class=3D""><span = style=3D"font-family: Consolas, Courier, monospace;" class=3D"">make[2]: = Entering directory '/usr/lib/modules/4.20.11-702.native/build'</span><br = class=3D""></div><div class=3D""><span style=3D"font-family: Consolas, = Courier, monospace;" class=3D""> CC [M] = /home/daniel/PF_RING/kernel/pf_ring.o</span><br = class=3D""></div><div class=3D""><span style=3D"font-family: Consolas, = Courier, monospace;" class=3D"">In file included from = /home/daniel/PF_RING/kernel/pf_ring.c:131:</span><br class=3D""></div><div= class=3D""><span style=3D"font-family: Consolas, Courier, monospace;" = class=3D"">/home/daniel/PF_RING/kernel/pf_ring.c: In function = =E2=80=98ring_notifier=E2=80=99:</span><br class=3D""></div><div = class=3D""><span style=3D"font-family: Consolas, Courier, monospace;" = class=3D"">/home/daniel/PF_RING/kernel/linux/pf_ring.h:41:20: error: = =E2=80=98struct net_device=E2=80=99 has no member named =E2=80=98ax25_ptr=E2= =80=99; did you mean =E2=80=98dsa_ptr=E2=80=99?</span><br = class=3D""></div><div class=3D""><span style=3D"font-family: Consolas, = Courier, monospace;" class=3D""> #define pfring_ptr = ax25_ptr</span><br class=3D""></div><div class=3D""><span = style=3D"font-family: Consolas, Courier, monospace;" class=3D""> = = ^~~~~~~~</span><br class=3D""></div><div class=3D""><span = style=3D"font-family: Consolas, Courier, monospace;" = class=3D"">/home/daniel/PF_RING/kernel/pf_ring.c:8175:39: note: in = expansion of macro =E2=80=98pfring_ptr=E2=80=99</span><br = class=3D""></div><div class=3D""><span style=3D"font-family: Consolas, = Courier, monospace;" class=3D""> hook =3D (struct = pfring_hooks *) dev->pfring_ptr;</span><br class=3D""></div><div = class=3D""><span style=3D"font-family: Consolas, Courier, monospace;" = class=3D""> = = ^~~~~~~~~~</span><br class=3D""></div><div class=3D""><span = style=3D"font-family: Consolas, Courier, monospace;" = class=3D"">/home/daniel/PF_RING/kernel/linux/pf_ring.h:41:20: error: = =E2=80=98struct net_device=E2=80=99 has no member named =E2=80=98ax25_ptr=E2= =80=99; did you mean =E2=80=98dsa_ptr=E2=80=99?</span><br = class=3D""></div><div class=3D""><span style=3D"font-family: Consolas, = Courier, monospace;" class=3D""> #define pfring_ptr = ax25_ptr</span><br class=3D""></div><div class=3D""><span = style=3D"font-family: Consolas, Courier, monospace;" class=3D""> = = ^~~~~~~~</span><br class=3D""></div><div class=3D""><span = style=3D"font-family: Consolas, Courier, monospace;" = class=3D"">/home/daniel/PF_RING/kernel/pf_ring.c:173:69: note: in = expansion of macro =E2=80=98pfring_ptr=E2=80=99</span><br = class=3D""></div><div class=3D""><span style=3D"font-family: Consolas, = Courier, monospace;" class=3D""> printk("[PF_RING][DEBUG] = %s:%d " fmt, __FUNCTION__, __LINE__, ## __VA_ARGS__); }</span><br = class=3D""></div><div class=3D""><span style=3D"font-family: Consolas, = Courier, monospace;" class=3D""> = = = = ^~~~~~~~~~~</span><br class=3D""></div><div class=3D""><span = style=3D"font-family: Consolas, Courier, monospace;" = class=3D"">/home/daniel/PF_RING/kernel/pf_ring.c:8189:7: note: in = expansion of macro =E2=80=98debug_printk=E2=80=99</span><br = class=3D""></div><div class=3D""><span style=3D"font-family: Consolas, = Courier, monospace;" class=3D""> = debug_printk(2, "%s: [REGISTER][ifindex: %u pfring_ptr=3D%p = hook=3D%p]\n", dev->name, dev->ifindex, dev->pfring_ptr, = &ring_hooks);</span><br class=3D""></div><div class=3D""><span = style=3D"font-family: Consolas, Courier, monospace;" class=3D""> = ^~~~~~~~~~~~</span><br class=3D""></div><div = class=3D""><span style=3D"font-family: Consolas, Courier, monospace;" = class=3D"">/home/daniel/PF_RING/kernel/linux/pf_ring.h:41:20: error: = =E2=80=98struct net_device=E2=80=99 has no member named =E2=80=98ax25_ptr=E2= =80=99; did you mean =E2=80=98dsa_ptr=E2=80=99?</span><br = class=3D""></div><div class=3D""><span style=3D"font-family: Consolas, = Courier, monospace;" class=3D""> #define pfring_ptr = ax25_ptr</span><br class=3D""></div><div class=3D""><span = style=3D"font-family: Consolas, Courier, monospace;" class=3D""> = = ^~~~~~~~</span><br class=3D""></div><div class=3D""><span = style=3D"font-family: Consolas, Courier, monospace;" = class=3D"">/home/daniel/PF_RING/kernel/pf_ring.c:8202:7: note: in = expansion of macro =E2=80=98pfring_ptr=E2=80=99</span><br = class=3D""></div><div class=3D""><span style=3D"font-family: Consolas, = Courier, monospace;" class=3D""> dev->pfring_ptr =3D = &ring_hooks;</span><br class=3D""></div><div class=3D""><span = style=3D"font-family: Consolas, Courier, monospace;" class=3D""> = ^~~~~~~~~~</span><br class=3D""></div><div = class=3D""><span style=3D"font-family: Consolas, Courier, monospace;" = class=3D"">/home/daniel/PF_RING/kernel/linux/pf_ring.h:41:20: error: = =E2=80=98struct net_device=E2=80=99 has no member named =E2=80=98ax25_ptr=E2= =80=99; did you mean =E2=80=98dsa_ptr=E2=80=99?</span><br = class=3D""></div><div class=3D""><span style=3D"font-family: Consolas, = Courier, monospace;" class=3D""> #define pfring_ptr = ax25_ptr</span><br class=3D""></div><div class=3D""><span = style=3D"font-family: Consolas, Courier, monospace;" class=3D""> = = ^~~~~~~~</span><br class=3D""></div><div class=3D""><span = style=3D"font-family: Consolas, Courier, monospace;" = class=3D"">/home/daniel/PF_RING/kernel/pf_ring.c:173:69: note: in = expansion of macro =E2=80=98pfring_ptr=E2=80=99</span><br = class=3D""></div><div class=3D""><span style=3D"font-family: Consolas, = Courier, monospace;" class=3D""> printk("[PF_RING][DEBUG] = %s:%d " fmt, __FUNCTION__, __LINE__, ## __VA_ARGS__); }</span><br = class=3D""></div><div class=3D""><span style=3D"font-family: Consolas, = Courier, monospace;" class=3D""> = = = = ^~~~~~~~~~~</span><br class=3D""></div><div class=3D""><span = style=3D"font-family: Consolas, Courier, monospace;" = class=3D"">/home/daniel/PF_RING/kernel/pf_ring.c:8210:7: note: in = expansion of macro =E2=80=98debug_printk=E2=80=99</span><br = class=3D""></div><div class=3D""><span style=3D"font-family: Consolas, = Courier, monospace;" class=3D""> = debug_printk(2, "%s: [UNREGISTER][ifindex: %u pfring_ptr=3D%p]\n", = dev->name, dev->ifindex, dev->pfring_ptr);</span><br = class=3D""></div><div class=3D""><span style=3D"font-family: Consolas, = Courier, monospace;" class=3D""> = ^~~~~~~~~~~~</span><br class=3D""></div><div class=3D""><span = style=3D"font-family: Consolas, Courier, monospace;" = class=3D"">/home/daniel/PF_RING/kernel/linux/pf_ring.h:41:20: error: = =E2=80=98struct net_device=E2=80=99 has no member named =E2=80=98ax25_ptr=E2= =80=99; did you mean =E2=80=98dsa_ptr=E2=80=99?</span><br = class=3D""></div><div class=3D""><span style=3D"font-family: Consolas, = Courier, monospace;" class=3D""> #define pfring_ptr = ax25_ptr</span><br class=3D""></div><div class=3D""><span = style=3D"font-family: Consolas, Courier, monospace;" class=3D""> = = ^~~~~~~~</span><br class=3D""></div><div class=3D""><span = style=3D"font-family: Consolas, Courier, monospace;" = class=3D"">/home/daniel/PF_RING/kernel/pf_ring.c:8212:43: note: in = expansion of macro =E2=80=98pfring_ptr=E2=80=99</span><br = class=3D""></div><div class=3D""><span style=3D"font-family: Consolas, = Courier, monospace;" class=3D""> hook =3D = (struct pfring_hooks *) dev->pfring_ptr;</span><br = class=3D""></div><div class=3D""><span style=3D"font-family: Consolas, = Courier, monospace;" class=3D""> = = ^~~~~~~~~~</span><br = class=3D""></div><div class=3D""><span style=3D"font-family: Consolas, = Courier, monospace;" = class=3D"">/home/daniel/PF_RING/kernel/linux/pf_ring.h:41:20: error: = =E2=80=98struct net_device=E2=80=99 has no member named =E2=80=98ax25_ptr=E2= =80=99; did you mean =E2=80=98dsa_ptr=E2=80=99?</span><br = class=3D""></div><div class=3D""><span style=3D"font-family: Consolas, = Courier, monospace;" class=3D""> #define pfring_ptr = ax25_ptr</span><br class=3D""></div><div class=3D""><span = style=3D"font-family: Consolas, Courier, monospace;" class=3D""> = = ^~~~~~~~</span><br class=3D""></div><div class=3D""><span = style=3D"font-family: Consolas, Courier, monospace;" = class=3D"">/home/daniel/PF_RING/kernel/pf_ring.c:8215:7: note: in = expansion of macro =E2=80=98pfring_ptr=E2=80=99</span><br = class=3D""></div><div class=3D""><span style=3D"font-family: Consolas, = Courier, monospace;" class=3D""> dev->pfring_ptr =3D = NULL;</span><br class=3D""></div><div class=3D""><span = style=3D"font-family: Consolas, Courier, monospace;" class=3D""> = ^~~~~~~~~~</span><br class=3D""></div><div = class=3D""><span style=3D"font-family: Consolas, Courier, monospace;" = class=3D"">/home/daniel/PF_RING/kernel/pf_ring.c: In function = =E2=80=98ring_exit=E2=80=99:</span><br class=3D""></div><div = class=3D""><span style=3D"font-family: Consolas, Courier, monospace;" = class=3D"">/home/daniel/PF_RING/kernel/linux/pf_ring.h:41:20: error: = =E2=80=98struct net_device=E2=80=99 has no member named =E2=80=98ax25_ptr=E2= =80=99; did you mean =E2=80=98dsa_ptr=E2=80=99?</span><br = class=3D""></div><div class=3D""><span style=3D"font-family: Consolas, = Courier, monospace;" class=3D""> #define pfring_ptr = ax25_ptr</span><br class=3D""></div><div class=3D""><span = style=3D"font-family: Consolas, Courier, monospace;" class=3D""> = = ^~~~~~~~</span><br class=3D""></div><div class=3D""><span = style=3D"font-family: Consolas, Courier, monospace;" = class=3D"">/home/daniel/PF_RING/kernel/pf_ring.c:8348:50: note: in = expansion of macro =E2=80=98pfring_ptr=E2=80=99</span><br = class=3D""></div><div class=3D""><span style=3D"font-family: Consolas, = Courier, monospace;" class=3D""> hook =3D (struct = pfring_hooks *) dev_ptr->dev->pfring_ptr;</span><br = class=3D""></div><div class=3D""><span style=3D"font-family: Consolas, = Courier, monospace;" class=3D""> = = = ^~~~~~~~~~</span><br class=3D""></div><div class=3D""><span = style=3D"font-family: Consolas, Courier, monospace;" = class=3D"">/home/daniel/PF_RING/kernel/linux/pf_ring.h:41:20: error: = =E2=80=98struct net_device=E2=80=99 has no member named =E2=80=98ax25_ptr=E2= =80=99; did you mean =E2=80=98dsa_ptr=E2=80=99?</span><br = class=3D""></div><div class=3D""><span style=3D"font-family: Consolas, = Courier, monospace;" class=3D""> #define pfring_ptr = ax25_ptr</span><br class=3D""></div><div class=3D""><span = style=3D"font-family: Consolas, Courier, monospace;" class=3D""> = = ^~~~~~~~</span><br class=3D""></div><div class=3D""><span = style=3D"font-family: Consolas, Courier, monospace;" = class=3D"">/home/daniel/PF_RING/kernel/pf_ring.c:8362:23: note: in = expansion of macro =E2=80=98pfring_ptr=E2=80=99</span><br = class=3D""></div><div class=3D""><span style=3D"font-family: Consolas, = Courier, monospace;" class=3D""> = dev_ptr->dev->pfring_ptr =3D NULL; /* Unhook PF_RING = */</span><br class=3D""></div><div class=3D""><span style=3D"font-family: = Consolas, Courier, monospace;" class=3D""> = = ^~~~~~~~~~</span><br class=3D""></div><div class=3D""><span = style=3D"font-family: Consolas, Courier, monospace;" class=3D"">make[3]: = *** [scripts/Makefile.build:298: /home/daniel/PF_RING/kernel/pf_ring.o] = Error 1</span><br class=3D""></div><div class=3D""><span = style=3D"font-family: Consolas, Courier, monospace;" class=3D"">make[2]: = *** [Makefile:1562: _module_/home/daniel/PF_RING/kernel] Error = 2</span><br class=3D""></div><div class=3D""><span style=3D"font-family: = Consolas, Courier, monospace;" class=3D"">make[2]: Leaving directory = '/usr/lib/modules/4.20.11-702.native/build'</span><br = class=3D""></div><div class=3D""><span style=3D"font-family: Consolas, = Courier, monospace;" class=3D"">make[1]: *** [Makefile:64: all] Error = 2</span><br class=3D""></div><div class=3D""><span style=3D"font-family: = Consolas, Courier, monospace;" class=3D"">make[1]: Leaving directory = '/home/daniel/PF_RING/kernel'</span><br class=3D""></div><div = class=3D""><span style=3D"font-family: Consolas, Courier, monospace;" = class=3D"">make: *** [Makefile:2: all] Error 2</span><br = class=3D""></div><div class=3D""><br class=3D""></div><span = class=3D""></span><br class=3D""></span></span></div><div = style=3D"caret-color: rgb(0, 0, 0); font-style: normal; = font-variant-caps: normal; font-weight: normal; letter-spacing: normal; = text-align: start; text-indent: 0px; text-transform: none; white-space: = normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; = text-decoration: none; font-family: Calibri, Helvetica, sans-serif; = font-size: 12pt;" class=3D""><span class=3D""><span = class=3D""></span></span><br class=3D""></div><span style=3D"caret-color: = rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: = normal; font-variant-caps: normal; font-weight: normal; letter-spacing: = normal; text-align: start; text-indent: 0px; text-transform: none; = white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; = text-decoration: none; float: none; display: inline !important;" = class=3D"">_______________________________________________</span><br = style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: = 12px; font-style: normal; font-variant-caps: normal; font-weight: = normal; letter-spacing: normal; text-align: start; text-indent: 0px; = text-transform: none; white-space: normal; word-spacing: 0px; = -webkit-text-stroke-width: 0px; text-decoration: none;" class=3D""><span = style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: = 12px; font-style: normal; font-variant-caps: normal; font-weight: = normal; letter-spacing: normal; text-align: start; text-indent: 0px; = text-transform: none; white-space: normal; word-spacing: 0px; = -webkit-text-stroke-width: 0px; text-decoration: none; float: none; = display: inline !important;" class=3D"">Ntop mailing list</span><br = style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: = 12px; font-style: normal; font-variant-caps: normal; font-weight: = normal; letter-spacing: normal; text-align: start; text-indent: 0px; = text-transform: none; white-space: normal; word-spacing: 0px; = -webkit-text-stroke-width: 0px; text-decoration: none;" class=3D""><a = href=3D"mailto:[email protected]" style=3D"font-family: = Helvetica; font-size: 12px; font-style: normal; font-variant-caps: = normal; font-weight: normal; letter-spacing: normal; orphans: auto; = text-align: start; text-indent: 0px; text-transform: none; white-space: = normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; = -webkit-text-stroke-width: 0px;" = class=3D"">[email protected]</a><br style=3D"caret-color: rgb(0, = 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; = font-variant-caps: normal; font-weight: normal; letter-spacing: normal; = text-align: start; text-indent: 0px; text-transform: none; white-space: = normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; = text-decoration: none;" class=3D""><a = href=3D"http://listgateway.unipi.it/mailman/listinfo/ntop" = style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; = font-variant-caps: normal; font-weight: normal; letter-spacing: normal; = orphans: auto; text-align: start; text-indent: 0px; text-transform: = none; white-space: normal; widows: auto; word-spacing: 0px; = -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" = class=3D"">http://listgateway.unipi.it/mailman/listinfo/ntop</a></div></bl= ockquote></div><br class=3D""></div></body></html>= --Apple-Mail=_F5940774-D2E3-4622-BE5C-0D759AD97593-- --===============7962276054385785473== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Ntop mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop --===============7962276054385785473==--