From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 08CEDA0544; Mon, 10 Oct 2022 11:30:23 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A30DA40146; Mon, 10 Oct 2022 11:30:22 +0200 (CEST) Received: from mail-pl1-f171.google.com (mail-pl1-f171.google.com [209.85.214.171]) by mails.dpdk.org (Postfix) with ESMTP id 68C6040041 for ; Mon, 10 Oct 2022 11:30:21 +0200 (CEST) Received: by mail-pl1-f171.google.com with SMTP id x6so9852357pll.11 for ; Mon, 10 Oct 2022 02:30:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-language:content-transfer-encoding:in-reply-to:mime-version :user-agent:date:message-id:from:references:cc:to:subject:from:to:cc :subject:date:message-id:reply-to; bh=rLsgytQfhymKwJdw/OwGdaxJCutRYpwx/NAwAz8fZuM=; b=vmBbiyHrQbyLByKBHG8pNKwsE5cSVSQ/WGI1dEfFIVC3eg4sco8rAraX0UbZk5YKsY nkw19SfKvruR0tcN3kSf1KSUjutnMOz/lRjrubyz3ycaZUnJ9gVNQ9dwAgAX/sL322w8 vdGAJZ2qU0IyNz7lf5+2xbAQV4qVBNqe8mJQTv0o/P9PC0tgPsKxb7mm2EpIvvztf763 Upefg/vjrzZyArgLSdfe0bTDw2JiV1rO/h/Bt2vu1ZR/pn/PLXwGDzJsGW/Z2kHx0rmy YFOfWFlGOrD5/2hqh2go6nBJFshQuAWM3aiScuEx0jGTKxnoU9AVXgK6T58oMleM1CDB 9Y6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-language:content-transfer-encoding:in-reply-to:mime-version :user-agent:date:message-id:from:references:cc:to:subject :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=rLsgytQfhymKwJdw/OwGdaxJCutRYpwx/NAwAz8fZuM=; b=j9dfPmbti9MpW97Bud4xquFk3pTTgRidJy68KYZLf81s66Epdr9htpWiDDezguXu6M pQFq+/JsMRbBu97qgqV8N5TheOVcl+j0DPTnpMakyUdfp+TJiq/APn9q1WCsz0iZtQdF 2Cf6e+723l1bUJyMRHRjGwgbbxzXe5N+d8+TV17pw3P3LOuOCBm1cCzGhS5c4q6M3wBs USAma4T+mhk+cchkrM5Ocz0osle0DMj9HXPuLHDvzYqijf2JM/URtYLiia3EBEM7lsZj OhuS5GG6Pd8e61FcDXt6vz6LdWjTp3lTCNhUwBu5wzTEka638ccrjuhMRPCuyN1sM+fQ jnbQ== X-Gm-Message-State: ACrzQf1pvLANsBhlquY2Qum+cxqjVuA3eJA3T677WV+hbdx2In4NYXyn SF1WyvLh2fFd1JYZN4ZouLa8iQ== X-Google-Smtp-Source: AMsMyM53nav8oI00qwNnwjbONpRt58VZ7LosLAQBfytomLwQCF76hEZHX5HUxNppb/Gg/enEWqD13w== X-Received: by 2002:a17:902:7c8a:b0:17b:6eaa:5da3 with SMTP id y10-20020a1709027c8a00b0017b6eaa5da3mr7043394pll.33.1665394220607; Mon, 10 Oct 2022 02:30:20 -0700 (PDT) Received: from [100.64.100.6] ([194.5.48.100]) by smtp.gmail.com with ESMTPSA id z10-20020a630a4a000000b004388ba7e5a9sm6018904pgk.49.2022.10.10.02.30.17 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 10 Oct 2022 02:30:20 -0700 (PDT) Subject: Re: [EXT] [PATCH resend v3 0/6] crypto/uadk: introduce uadk crypto driver To: Akhil Goyal , Declan Doherty , Fan Zhang , Ashish Gupta , Ray Kinsella Cc: "dev@dpdk.org" , "acc@openeuler.org" References: <20221008083747.6559-1-zhangfei.gao@linaro.org> From: Zhangfei Gao Message-ID: <2eb1b59a-a259-677b-cc20-f00c6260fe54@linaro.org> Date: Mon, 10 Oct 2022 17:30:15 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On 2022/10/10 下午3:55, Akhil Goyal wrote: > Hi Zhangfei, > > I see below compilation error after executing the steps mentioned in UADK README. It would be better if you could add compilation steps for UADK in uadk.rst as well. Sure Will add something like this Build & Install UADK on ARM -------------------- ```     git clone https://github.com/Linaro/uadk.git     cd uadk     ./cleanup.sh     ./autogen.sh     ./conf.sh     make     sudo make install ``` * If get error:"cannot find -lnuma", please install the libnuma-dev > > gakhil@cavium-SR1-T640:/home/gakhil/up/uadk$ make > make all-recursive > make[1]: Entering directory '/home/gakhil/up/uadk' > Making all in . > make[2]: Entering directory '/home/gakhil/up/uadk' > depbase=`echo wd.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ > /bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wall -Werror -fno-strict-aliasing -I./include -DUADK_VERSION_NUMBER="\"UADK version: 2.3.37\"" -DUADK_RELEASED_TIME="\"Released Jun 11, 2022\"" -g -O2 -MT wd.lo -MD -MP -MF $depbase.Tpo -c -o wd.lo wd.c &&\ > mv -f $depbase.Tpo $depbase.Plo > libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wall -Werror -fno-strict-aliasing -I./include "-DUADK_VERSION_NUMBER=\"UADK version: 2.3.37\"" "-DUADK_RELEASED_TIME=\"Released Jun 11, 2022\"" -g -O2 -MT wd.lo -MD -MP -MF .deps/wd.Tpo -c wd.c -fPIC -DPIC -o .libs/wd.o > depbase=`echo wd_mempool.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ > /bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wall -Werror -fno-strict-aliasing -I./include -DUADK_VERSION_NUMBER="\"UADK version: 2.3.37\"" -DUADK_RELEASED_TIME="\"Released Jun 11, 2022\"" -g -O2 -MT wd_mempool.lo -MD -MP -MF $depbase.Tpo -c -o wd_mempool.lo wd_mempool.c &&\ > mv -f $depbase.Tpo $depbase.Plo > libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wall -Werror -fno-strict-aliasing -I./include "-DUADK_VERSION_NUMBER=\"UADK version: 2.3.37\"" "-DUADK_RELEASED_TIME=\"Released Jun 11, 2022\"" -g -O2 -MT wd_mempool.lo -MD -MP -MF .deps/wd_mempool.Tpo -c wd_mempool.c -fPIC -DPIC -o .libs/wd_mempool.o > depbase=`echo v1/wd.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ > /bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wall -Werror -fno-strict-aliasing -I./include -DUADK_VERSION_NUMBER="\"UADK version: 2.3.37\"" -DUADK_RELEASED_TIME="\"Released Jun 11, 2022\"" -g -O2 -MT v1/wd.lo -MD -MP -MF $depbase.Tpo -c -o v1/wd.lo v1/wd.c &&\ > mv -f $depbase.Tpo $depbase.Plo > libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wall -Werror -fno-strict-aliasing -I./include "-DUADK_VERSION_NUMBER=\"UADK version: 2.3.37\"" "-DUADK_RELEASED_TIME=\"Released Jun 11, 2022\"" -g -O2 -MT v1/wd.lo -MD -MP -MF v1/.deps/wd.Tpo -c v1/wd.c -fPIC -DPIC -o v1/.libs/wd.o > In file included from v1/wd.c:30: > ./v1/wd_util.h:354:2: error: #error "no platform mb, define one before compiling" > 354 | #error "no platform mb, define one before compiling" > | ^~~~~ > make[2]: *** [Makefile:788: v1/wd.lo] Error 1 > make[2]: Leaving directory '/home/gakhil/up/uadk' > make[1]: *** [Makefile:859: all-recursive] Error 1 > make[1]: Leaving directory '/home/gakhil/up/uadk' > make: *** [Makefile:565: all] Error 2 By the way, what platform are you using. I can not reproduce this error. Thanks