<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Thank you for helping me get cake to compile on LEDE.<br>
<br>
The issue I have now is getting tc-adv to compile.<br>
<br>
I use this MakeFile:<br>
<a
href="https://github.com/antoinedeschenes/openwrt-sqm/tree/master/net/tc-adv">https://github.com/antoinedeschenes/openwrt-sqm/tree/master/net/tc-adv</a><br>
<br>
I use these commands to compile it:<br>
<br>
make package/feeds/sqm/tc-adv/clean -j 1 V=s<br>
make package/feeds/sqm/tc-adv/prepare
USE_SOURCE_DIR=/home/n0man/Desktop/denat/ -j 1 V=s<br>
make package/feeds/sqm/tc-adv/compile -j 1 V=s<br>
<br>
These are the errors I get:<br>
<br>
<b>namespace.c: In function 'bind_etc':</b><b><br>
</b><b>namespace.c:18:22: error: 'MAXPATHLEN' undeclared (first
use in this function)</b><b><br>
</b><b> char etc_netns_path[MAXPATHLEN];</b><b><br>
</b><b> ^</b><b><br>
</b><b>namespace.c:18:22: note: each undeclared identifier is
reported only once for each function it appears in</b><b><br>
</b><b>namespace.c:20:7: warning: unused variable 'etc_name'
[-Wunused-variable]</b><b><br>
</b><b> char etc_name[MAXPATHLEN];</b><b><br>
</b><b> ^</b><b><br>
</b><b>namespace.c:19:7: warning: unused variable 'netns_name'
[-Wunused-variable]</b><b><br>
</b><b> char netns_name[MAXPATHLEN];</b><b><br>
</b><b> ^</b><b><br>
</b><b>namespace.c:18:7: warning: unused variable 'etc_netns_path'
[-Wunused-variable]</b><b><br>
</b><b> char etc_netns_path[MAXPATHLEN];</b><b><br>
</b><b> ^</b><b><br>
</b><b>namespace.c: In function 'netns_switch':</b><b><br>
</b><b>namespace.c:46:16: error: 'MAXPATHLEN' undeclared (first
use in this function)</b><b><br>
</b><b> char net_path[MAXPATHLEN];</b><b><br>
</b><b> ^</b><b><br>
</b><b>namespace.c:46:7: warning: unused variable 'net_path'
[-Wunused-variable]</b><b><br>
</b><b> char net_path[MAXPATHLEN];</b><b><br>
</b><b> ^</b><b><br>
</b><b>namespace.c: In function 'netns_get_fd':</b><b><br>
</b><b>namespace.c:90:15: error: 'MAXPATHLEN' undeclared (first
use in this function)</b><b><br>
</b><b> char pathbuf[MAXPATHLEN];</b><b><br>
</b><b> ^</b><b><br>
</b><b>namespace.c:90:7: warning: unused variable 'pathbuf'
[-Wunused-variable]</b><b><br>
</b><b> char pathbuf[MAXPATHLEN];</b><b><br>
</b><b> ^</b><b><br>
</b><b><builtin>: recipe for target 'namespace.o' failed</b><b><br>
</b><b>make[4]: *** [namespace.o] Error 1</b><b><br>
</b><b>make[4]: Leaving directory '/home/n0man/Desktop/denat/lib'</b></p>
<p>Any help would be appreciated.</p>
<p>Thank you,</p>
<p>Noah Causin<br>
</p>
<div class="moz-cite-prefix">On 9/26/2016 10:32 PM, Kevin
Darbyshire-Bryant wrote:<br>
</div>
<blockquote
cite="mid:43fa53d7-6180-09fe-9581-29d7dedba3d9@darbyshire-bryant.me.uk"
type="cite">Easy fix. See the added DEPENDS line in the attached
patch for the package Makefile :-)
<br>
<br>
I'm guessing you've updated the git checkout hash to point at a
suitable place.
<br>
<br>
Cheers,
<br>
<br>
Kevin
<br>
<br>
<br>
<br>
On 27/09/16 02:52, Noah Causin wrote:
<br>
<blockquote type="cite">I've been trying to compile this on LEDE,
but I get this error:
<br>
<br>
Package kmod-sched-cake is missing dependencies for the
following
<br>
libraries:
<br>
nf_conntrack.ko
<br>
<br>
<br>
</blockquote>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Cake mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Cake@lists.bufferbloat.net">Cake@lists.bufferbloat.net</a>
<a class="moz-txt-link-freetext" href="https://lists.bufferbloat.net/listinfo/cake">https://lists.bufferbloat.net/listinfo/cake</a>
</pre>
</blockquote>
<br>
</body>
</html>