I am trying debug dpdk on LS1046ardb through remote debug from code warrior IDE. When i try include the dpdk libraries, I get the following error.
c:/freescale/cw4net_v2019.01/cw_armv8/cross_tools/gcc-linaro-aarch64-linux-gnu-4.9.3/bin/../lib/gcc/aarch64-linux-gnu/4.9.3/../../../../aarch64-linux-gnu/bin/ld.exe: cannot find -lC:/Freescale/dpdk/lib_a/librte_eal.a
Kindly help.
you can do remote debugging with gdb
Run the GDB server on Target. (if not available - you can get it with sudo apt-get install gdbserver for ubuntu rootfs)
./gdbserver 192.168.3.104:7000 ./l3fwd -c 0x4 -n 1 --log-level=8 --log-level=dpaa,8 -- -p 0x1 --config="(0,0,2)" -P
Run the following on host
/opt/gcc-linaro-7.2.1-2017.11-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-gdb examples/l3fwd/build/l3fwd
target remote 192.168.3.176:7000
run -c 0x4 -n 1 --log-level=8 --log-level=dpaa,8 -- -p 0x1 --config="(0,0,2)" -P
yes. gdbserver wait for connectio from the build machine
build machine(gdb) connects to Target (kit).