From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-it0-x244.google.com (mail-it0-x244.google.com [IPv6:2607:f8b0:4001:c0b::244]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.bufferbloat.net (Postfix) with ESMTPS id 22BAB3B29F for ; Tue, 27 Sep 2016 10:53:00 -0400 (EDT) Received: by mail-it0-x244.google.com with SMTP id n143so1037775ita.3 for ; Tue, 27 Sep 2016 07:53:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to; bh=1X0coWQgoKP0u8+4hHEX+rJcLwdLsAhL12R9t05yh/8=; b=k9914kWPKF1+mod60zZfuadNfxhtRKxLw8hmySFiRj43kTm/4EG5cBVENw2E9jnQvE lFq6VTr67Wk0KO4LIO3B3EEUBoQB6dXbM6vr66c9wFN4grfdEsjDTL8VaWSUPi6XLL1C vCoUUwE/3us3zuhX4svjFEzcGr1mx4NoLE2lSjBq2wVAP76v7x9H1Ma0K7qSqz9uPW48 QdB2zXym1701COwArzr8xvzvgtKoOWa4FTTvq2VGS36lE4CLZ0pUoO2HiW4dMWMOVghQ ustRZPs/v+kjUBlt3068WkvzDLuIWFBjSJ0KbjrukVPReRE0zFvHo1vUGD671GpCCJgS yQ/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to; bh=1X0coWQgoKP0u8+4hHEX+rJcLwdLsAhL12R9t05yh/8=; b=au798rh8wEIobR527bXIgVnvsbWJcoYqQNqFZ/8KQxfXalfMdZSNqWEK0GaP6CCcTc PyJ/ijqosFdoShsJwM2RzNXNmrCbhq8fjSLdusKeSQSGj4wk3FpR76s73h2YiZ8R0Q2V FklOEDrISO7+bEtJ7aEsC5Q+lzDTvcwF19Gfjp0GMPoP6Ur0i4/TswwMUnb3hWEjHZQj IzcuKo1cN+K7brrjCP/wnYCqRa0Z4Y5pQMGOVAqmvEW22v8v+Qc4eNkuUFeZLxUv9KC0 8kyWleei9GJY+k6LZkUqOuH8fkXR1Qy8ArWF0d64kPALAK4HRUrrI1IUQd/ujGamuXzw 4v1g== X-Gm-Message-State: AA6/9RlnHDpphv57Rs5wyTRhOaEmlmTI+sg3fuYzkl7dPhF3wrPRU5GLq3IQPzneshI/eg== X-Received: by 10.36.101.210 with SMTP id u201mr4900159itb.81.1474987979418; Tue, 27 Sep 2016 07:52:59 -0700 (PDT) Received: from ?IPv6:2601:404:381:db8e:a011:d63b:707b:b2a? ([2601:404:381:db8e:a011:d63b:707b:b2a]) by smtp.gmail.com with ESMTPSA id w76sm1068829ita.20.2016.09.27.07.52.58 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 27 Sep 2016 07:52:58 -0700 (PDT) To: cake@lists.bufferbloat.net References: <3a99770e-6350-471f-72b6-b209d7d77d75@darbyshire-bryant.me.uk> <83b95479-c1f5-3589-912c-abe427805449@gmail.com> <43fa53d7-6180-09fe-9581-29d7dedba3d9@darbyshire-bryant.me.uk> From: Noah Causin Message-ID: Date: Tue, 27 Sep 2016 10:52:55 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: <43fa53d7-6180-09fe-9581-29d7dedba3d9@darbyshire-bryant.me.uk> Content-Type: multipart/alternative; boundary="------------160EEE807FCD3EC69471FCA3" Subject: Re: [Cake] de-natting & host fairness X-BeenThere: cake@lists.bufferbloat.net X-Mailman-Version: 2.1.20 Precedence: list List-Id: Cake - FQ_codel the next generation List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Sep 2016 14:53:00 -0000 This is a multi-part message in MIME format. --------------160EEE807FCD3EC69471FCA3 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit 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];** ** ^** **: 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 On 9/26/2016 10:32 PM, Kevin Darbyshire-Bryant wrote: > 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 --------------160EEE807FCD3EC69471FCA3 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit

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

On 9/26/2016 10:32 PM, Kevin Darbyshire-Bryant wrote:
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

--------------160EEE807FCD3EC69471FCA3--