From patchwork Thu Jan 7 01:14:31 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rosen Penev X-Patchwork-Id: 1423110 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.openwrt.org (client-ip=205.233.59.134; helo=merlin.infradead.org; envelope-from=openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=merlin.20170209 header.b=ZNGSkSnN; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=YcQ1piRV; dkim-atps=neutral Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4DB7fM5hqLz9sVS for ; Thu, 7 Jan 2021 12:18:35 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe :List-Id:MIME-Version:Message-Id:Date:Subject:To:From:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Owner; bh=1UkWdG0KWr0FfCdK+vDNRNDLA0ExGrGcOc0ICwAohGY=; b=ZNGSkSnNvd/tVv6whG/EeeyJCr tc+SeK7x1xUKpfZr1+ZGv4Y0HLsuu2fDPjUeq7Pl33h/YCJqeTsQNaVKsP6uLJEJNZhDO1cLgDHIs Vs8N5e1BKttDpzLe228HDLgUJSHGb3ySpXHcbyfsAiRKhHAfxFTrJvzFQQpIyfkx0yI9OyiFzDDHI sYrBdL+T+wU+KmOO1ju8bMSaRF+fmOYvTtKUwXSQ986l2VBrMJQ1Gn4VWDeSeaz+NdIu1cHK5Mp5S E5ofqvghWwhh4NLF7Sp6Be2bQSQY8MjwVgo8DHO3pJetDazHFpQ40NVsHyWghsxiVKsiwHyuZeDvF at+fbBgg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kxJsv-0002xI-Fw; Thu, 07 Jan 2021 01:14:41 +0000 Received: from mail-pj1-x102e.google.com ([2607:f8b0:4864:20::102e]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kxJsr-0002wv-6J for openwrt-devel@lists.openwrt.org; Thu, 07 Jan 2021 01:14:38 +0000 Received: by mail-pj1-x102e.google.com with SMTP id z12so444222pjn.1 for ; Wed, 06 Jan 2021 17:14:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=3LJOUY0Zw9s88Bw7VRlp+tWJgOaxoANIiNOsgcranAQ=; b=YcQ1piRVL6YUlFZ1Yr6n57685B1m1xA5PKmL8KNljlmbw4M+Q0r9H4MeABpCF/ogOB rsj7JZpKFcVCJ1OIV5kLTuhb7sxDLVC1KcI+Bfu38/5qLx7wHjLJMt8OOG8xPVSefTAq QBJDh6/nfp9mD1vLUI8EeL2Q0nqbNwitc4E0ybUhue2d51+B9OjO3cqZcVFa1V5+rJX3 FC4eV+cLuyEhouN/MllBAT6FGIvvZofATVoV6wqoxLjCFckGcDV09pugLzIMipLtdP+P UaNWSaOwTK6f01GExvhFs/ZQS9sgoXIB2BsyEQRrLJICfHnoi/OH5EP77WFTQWl9jRHG ltAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=3LJOUY0Zw9s88Bw7VRlp+tWJgOaxoANIiNOsgcranAQ=; b=BKqIxmgLpNseW6lcy1wXQPC1a3tfsiCaylBpNXX1NtSI45RKatLGslh5x/iL2fTPho qA6l22UFCZj5/wT3T6Is4gNTxXHbamO7Uc+tI6SpRzZMKHkPaj+YuvEJoczwRxKuplaE bLgWqMlKAXA5wSs+mnJ2xXiz4biohznV0g1DF6skQYI4dv1vaJqEQRue+elFELHab5RL IZvfCgINwySyAkjeIsW1K0IVdd8I/iJKDq16JDMK++xXahEZB7YLlcrvTkryDlFMO+Rv NLJFoqiMP7LkCGP8hkwvuPCc3D9Jw981sAf0/38RIklk6/K8CwmVDbuP6Vat2d3ZzQba 3Zuw== X-Gm-Message-State: AOAM5339eQf/lWWqwF0LN51Cv+raCIwtIGMiiIIAez73zTG71pp4kSU5 4uAFsQP8Tcla8DOUUfavp/WUTWNEnfUQCg== X-Google-Smtp-Source: ABdhPJxmy4quohUvlCET6bA9qOK2oirbJBcgTHxsFoyb0TojMuulkqJiHTK5gdVGyHXgCld1Oa+8kg== X-Received: by 2002:a17:90a:c8d:: with SMTP id v13mr6828470pja.75.1609982073381; Wed, 06 Jan 2021 17:14:33 -0800 (PST) Received: from mangix-trapnet.lan ([2001:470:1f05:79e::a89]) by smtp.gmail.com with ESMTPSA id t1sm207904pju.43.2021.01.06.17.14.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Jan 2021 17:14:32 -0800 (PST) From: Rosen Penev To: openwrt-devel@lists.openwrt.org Subject: [PATCH] link libvalidate to uci Date: Wed, 6 Jan 2021 17:14:31 -0800 Message-Id: <20210107011431.1412261-1-rosenp@gmail.com> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210106_201437_277337_06012195 X-CRM114-Status: UNSURE ( 9.95 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [rosenp[at]gmail.com] -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:102e listed in] [list.dnswl.org] X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "openwrt-devel" Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org Fixes ldd error: Error relocating /lib/libvalidate.so: uci_free_context: symbol not found Error relocating /lib/libvalidate.so: uci_lookup_ptr: symbol not found Error relocating /lib/libvalidate.so: uci_alloc_context: symbol not found Signed-off-by: Rosen Penev --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 62de1d4..f25fc93 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -43,6 +43,7 @@ INSTALL(TARGETS lsbloader ) ADD_LIBRARY(validate SHARED validate/validate.c) +TARGET_LINK_LIBRARIES(validate uci) INSTALL(TARGETS validate LIBRARY DESTINATION lib )