From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BY2-obe.outbound.protection.outlook.com (mail-by2nam01on0137.outbound.protection.outlook.com [104.47.34.137]) by dpdk.org (Postfix) with ESMTP id 709FD1559 for ; Sun, 9 Sep 2018 06:49:14 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ksJvlkERrpOwwvf0BIhZAnpaAj0ZCV5RojeMeUtT/kQ=; b=jH9QPpiGEaRSpC+BG2JH1ZqY1dIwCHakba3BbkG8VJVtVoQCtKQN35zTRKxEKNcnUUZl373rZ4eLY3JtT3GkXfOsMEHQD5jOMkfmy7SmgQ+TG1SyCAGreRjOgbMgmP7mYo0AJPK/puxSjxsq2yTMQK586wULd/h1y4T8FPCW0PQ= Received: from MWHPR2101MB0875.namprd21.prod.outlook.com (10.167.238.39) by MWHPR2101MB0873.namprd21.prod.outlook.com (10.167.237.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1143.1; Sun, 9 Sep 2018 04:49:13 +0000 Received: from MWHPR2101MB0875.namprd21.prod.outlook.com ([fe80::2497:a8a8:593a:5c13]) by MWHPR2101MB0875.namprd21.prod.outlook.com ([fe80::2497:a8a8:593a:5c13%2]) with mapi id 15.20.1143.000; Sun, 9 Sep 2018 04:49:13 +0000 From: Petr Houska To: "users@dpdk.org" Thread-Topic: Building app with source in subdirectory ?doesn't work Thread-Index: AdRH9wfx/fHkd3oJSnWeGMxemHIWZg== Date: Sun, 9 Sep 2018 04:49:13 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Enabled=True; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SiteId=72f988bf-86f1-41af-91ab-2d7cd011db47; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Owner=t-pehous@microsoft.com; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SetDate=2018-09-09T04:49:11.2154763Z; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Name=General; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Application=Microsoft Azure Information Protection; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Extended_MSFT_Method=Automatic; Sensitivity=General x-originating-ip: [2001:4898:80e8:8:2bd0:41d3:85da:7fa2] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; MWHPR2101MB0873; 6:Ap8VzKk6UX+asKqgtNMGfi/4Fg5IDiwwZL/wtZyvFuAkz/tuXYtvcuQntD39Fc3R/F11gMjNuOmf+nECF+kWKTB+WxwWoTX+oC9mY7ERER5JUKNGFaMKAwGIjlmB/FsutDirs8F9A4qCnMDyVkzqjuL6xihz70Ke2mc0ge5lIP4n8ebcqFj08TzU0xUihAY3jb34Qy2x2HYO0SuoWkhSvx92rXSogX8aPGeqHdheQVBdbwF100g/BdDFKYAbdBwg7mypkZghPvuiLoIiAia2fa/2FUftYW90ps/N3EmlxuEj5lvcq8pw75j/Ek76pZQHr0v6+SQFmXtSg/KrCpTePlBgzVGQRuVo/fei1eb9WEfNYTB+nWy+EdWpRE1LATUeiYO0E6+yiMsXHlWaudIeml/LySoEcY0Gqj8W3LqYYpZj3bNPlnPebnOXJaRRIjhjgbZC+JfKsgveb8VY5pPW+A==; 5:ij6+pZgQeCl2zLq4R5qF8iORbyyxa8ZkO5NENnrr49AV7rqy11JOkZ1IcAMmKM0y6Q7g8zdCqFntE2FPA+MEdXBj7wNwVKz1a+6BzwsDtohtCfuFBdPUUG/yg2Bh7g7PgseKUrvKqg9PnaivPq/fTglAoBEmTZPA0qP1iyqzXrs=; 7:ie5oJsMW3pITJq1MHI9pK2aPyVQaq0lAvdBgoS+KNxwecFWhNszPMU15vKX60tgXFkVR692UtrdD98ycS3YtJrSIewKHvHEq/iM8CNtnv/dUx0CN3ALlm8NIfjGJOK7jhoGW4mlWZLibDHMLZSwjfkxId4nklLBt4rBDgextkIHQwMeT+m53DFx1IW46PkNQ5urOMsJQ6Iog0vgeEORFR7hmhI0w+UZUdRgClo5DmsnnqNzHTH118xGrRAgI3bNn x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: e53f0e12-7ab9-4db5-5b4d-08d6160f96ef x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989137)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(4618075)(2017052603328)(7193020); SRVR:MWHPR2101MB0873; x-ms-traffictypediagnostic: MWHPR2101MB0873: authentication-results: spf=none (sender IP is ) smtp.mailfrom=t-pehous@microsoft.com; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(28532068793085)(21748063052155); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(10201501046)(93006095)(93001095)(3002001)(3231344)(944501410)(52105095)(2018427008)(6055026)(149027)(150027)(6041310)(20161123564045)(20161123558120)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(201708071742011)(7699050)(76991033); SRVR:MWHPR2101MB0873; BCL:0; PCL:0; RULEID:; SRVR:MWHPR2101MB0873; x-forefront-prvs: 0790FB1F33 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(39860400002)(136003)(376002)(366004)(346002)(396003)(189003)(199004)(1730700003)(97736004)(25786009)(256004)(7696005)(7736002)(99286004)(9686003)(46003)(102836004)(54896002)(6306002)(8990500004)(186003)(22452003)(81166006)(2900100001)(10290500003)(53936002)(33656002)(2501003)(486006)(476003)(9326002)(6506007)(5250100002)(10090500001)(5640700003)(68736007)(5630700001)(74316002)(8936002)(2906002)(86612001)(8676002)(5660300001)(86362001)(316002)(6116002)(55016002)(790700001)(106356001)(478600001)(14454004)(81156014)(2351001)(6916009)(6436002)(105586002); DIR:OUT; SFP:1102; SCL:1; SRVR:MWHPR2101MB0873; H:MWHPR2101MB0875.namprd21.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: gelqYwaHrY0WNrv1VhSptjCVtpwIMxeia1zL2K/svWTLV8DI5oFO5mETC1Ami6iZM649LmwDjOz25eJL3GYUHk5baTrwtCF/b1l4twfcmQntDZfrQcuprFZe3gM+tO/D6+YBRVwNwLLXhDEQtJG5P+UgGzXvBV0XqSlS2hn9vbDfKq/Tj1oDMvHQqK88laVpG4GKCJscBTQsvlI1LPNE+raOJlnuyTbAR5z7LQCUEgr9BSu8TeXTQtIHHA9rwRGNvdHssIV+LABV+bHhcKYe3zN8aWHpBz4kCuNOANhuddp/OH+dLNt3vTlQ3zleBlRZLvp5ewaisrBacgI4kc98jFX6o78nhZqeqibmoNkY2qc= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: e53f0e12-7ab9-4db5-5b4d-08d6160f96ef X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Sep 2018 04:49:13.1572 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR2101MB0873 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] Building app with source in subdirectory ?doesn't work X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Sep 2018 04:49:15 -0000 Hi, I'm having troubles creating a working Makefile for DPDK app that has sourc= e files in subdirectories. Minimal repro I created uses the `helloworld` sample with following changes= : 1. Add `tst` subdirectory to project's root 2. Add empty `tst.c` file to such subdirectory 3. Modify original `Makefile`'s SRC-y variable so that it includes `tst/= tst.c` When doing that the fist invoke of `make` works just fine and build the app= correctly. Subsequent invokes (unless either build directory is cleaned manually or `make clean` is invok= ed), however, don't track changes in files and always fail on `make[1]: Nothing to be done for 'tst.o'.`. I tried debugging the `Makefile` via `make D=3D1` but it doesn't output any= debug information before failing on abovementioned message. Moving `tst.c` to root folder solved the issue. The issue has been observed= with custom Makefiles referencing `app.rte.mk` as well so it's not just helloworld's issue. Petr Houska Azure Intern