Thank you for helping me get cake to compile on LEDE.
The issue I have now is getting tc-adv to compile.
I use this MakeFile:
https://github.com/antoinedeschenes/openwrt-sqm/tree/master/net/tc-adv
I use these commands to compile it:
make package/feeds/sqm/tc-adv/clean -j 1 V=s
make package/feeds/sqm/tc-adv/prepare
USE_SOURCE_DIR=/home/n0man/Desktop/denat/ -j 1 V=s
make package/feeds/sqm/tc-adv/compile -j 1 V=s
These are the errors I get:
namespace.c: In function 'bind_etc':
namespace.c:18:22: error: 'MAXPATHLEN' undeclared (first
use in this function)
char etc_netns_path[MAXPATHLEN];
^
namespace.c:18:22: note: each undeclared identifier is
reported only once for each function it appears in
namespace.c:20:7: warning: unused variable 'etc_name'
[-Wunused-variable]
char etc_name[MAXPATHLEN];
^
namespace.c:19:7: warning: unused variable 'netns_name'
[-Wunused-variable]
char netns_name[MAXPATHLEN];
^
namespace.c:18:7: warning: unused variable 'etc_netns_path'
[-Wunused-variable]
char etc_netns_path[MAXPATHLEN];
^
namespace.c: In function 'netns_switch':
namespace.c:46:16: error: 'MAXPATHLEN' undeclared (first
use in this function)
char net_path[MAXPATHLEN];
^
namespace.c:46:7: warning: unused variable 'net_path'
[-Wunused-variable]
char net_path[MAXPATHLEN];
^
namespace.c: In function 'netns_get_fd':
namespace.c:90:15: error: 'MAXPATHLEN' undeclared (first
use in this function)
char pathbuf[MAXPATHLEN];
^
namespace.c:90:7: warning: unused variable 'pathbuf'
[-Wunused-variable]
char pathbuf[MAXPATHLEN];
^
<builtin>: recipe for target 'namespace.o' failed
make[4]: *** [namespace.o] Error 1
make[4]: Leaving directory '/home/n0man/Desktop/denat/lib'
Any help would be appreciated.
Thank you,
Noah Causin
Easy fix. See the added DEPENDS line in the attached patch for the package Makefile :-)
I'm guessing you've updated the git checkout hash to point at a suitable place.
Cheers,
Kevin
On 27/09/16 02:52, Noah Causin wrote:
I've been trying to compile this on LEDE, but I get this error:
Package kmod-sched-cake is missing dependencies for the following
libraries:
nf_conntrack.ko
_______________________________________________ Cake mailing list Cake@lists.bufferbloat.net https://lists.bufferbloat.net/listinfo/cake