[dpdk-dev] [DISCUSSION] : ERROR while compiling dpdk-1.7 on ubuntu14.04

Wiles, Keith keith.wiles at intel.com
Fri Jan 16 22:07:13 CET 2015


On 1/16/15, 7:43 AM, "Srinivasreddy R" <srinivasreddy4390 at gmail.com> wrote:

>sorry typo i am using Ubuntu 14.04.1 LTS .
>
>On Fri, Jan 16, 2015 at 7:06 PM, Srinivasreddy R <
>srinivasreddy4390 at gmail.com> wrote:
>
>> hi,
>> Getting error while compiling dpdk on ubuntu10.04.
>>
>>
>> export RTE_SDK=$(pwd)
>> export RTE_TARGET="x86_64-ivshmem-linuxapp-gcc"
>>
>> make CONFIG_RTE_BUILD_COMBINE_LIBS=y CONFIG_RTE_BUILD_SHARED_LIB=y
>>install
>> T="$RTE_TARGET"

Check to make sure you are linking in the math lib -lm you can add a V=1
to the command line and see the linker lines.



>>
>>
>> == Build app/test-acl
>>   CC main.o
>>   LD testacl
>> /home/DPDK/dpdk-1.7.1/x86_64-ivshmem-linuxapp-gcc/lib/libintel_dpdk.so:
>> undefined reference to `log2'
>> /home/DPDK/dpdk-1.7.1/x86_64-ivshmem-linuxapp-gcc/lib/libintel_dpdk.so:
>> undefined reference to `ceil'
>> /home/DPDK/dpdk-1.7.1/x86_64-ivshmem-linuxapp-gcc/lib/libintel_dpdk.so:
>> undefined reference to `pow'
>> /home/DPDK/dpdk-1.7.1/x86_64-ivshmem-linuxapp-gcc/lib/libintel_dpdk.so:
>> undefined reference to `round'
>> collect2: error: ld returned 1 exit status
>> make[5]: *** [testacl] Error 1
>> make[4]: *** [test-acl] Error 2
>> make[3]: *** [app] Error 2
>> make[2]: *** [all] Error 2
>> make[1]: *** [x86_64-ivshmem-linuxapp-gcc_install] Error 2
>> make: *** [install] Error 2
>>
>> Following installation procedure at link :
>>
>> 
>>https://github.com/01org/dpdk-ovs/blob/development/docs/01_Installation.m
>>d#dpdk
>>
>> --------
>> thanks
>> srinivas.
>>



More information about the dev mailing list