[dpdk-dev] Compile error with CONFIG_RTE_BUILD_COMBINE_LIBS=y
Qiu, Michael
michael.qiu at intel.com
Tue Dec 8 08:08:21 CET 2015
Hi, Thomas
I see you recently merged one commit:
commit 8f1c704fb0f1b867471fc692ed2c0fc5610831e2
Author: Thomas Monjalon <thomas.monjalon at 6wind.com>
Date: Tue Dec 8 01:50:17 2015 +0100
mk: fix external library build when combine is enabled
The object files are copied to prepare the internal combined library.
It must be disabled when building an external library.
It has been seen because the directory was missing:
examples/ethtool/lib/x86_64-native-linuxapp-gcc/build/lib:
No such file or directory
Signed-off-by: Thomas Monjalon <thomas.monjalon at 6wind.com>
It lead compile error when open CONFIG_RTE_BUILD_COMBINE_LIBS.
See below:
make -j install T=x86_64-native-linuxapp-gcc
...
CC pipeline_acl.o
[1491/1853]
CC parameters.o
CC macfwd-retry.o
CC testpmd.o
CC macswap.o
CC macfwd.o
CC rxonly.o
CC flowgen.o
CC txonly.o
CC csumonly.o
CC icmpecho.o
CC mempool_anon.o
LD cmdline_test
CC test.o
CC commands.o
CC test_pci.o
CC test_prefetch.o
CC test_byteorder.o
CC test_per_lcore.o
CC test_atomic.o
cmdline_test.o: In function `main':
cmdline_test.c:(.text.startup+0xc): undefined reference to
`cmdline_stdin_new'
cmdline_test.c:(.text.startup+0x1c): undefined reference to
`cmdline_interact'
cmdline_test.c:(.text.startup+0x24): undefined reference to
`cmdline_stdin_exit'
commands.o: In function `cmd_quit_parsed':
commands.c:(.text+0x4): undefined reference to `cmdline_quit'
commands.o: In function `cmd_single_parsed':
commands.c:(.text+0x1b): undefined reference to `cmdline_printf'
commands.o: In function `cmd_single_long_parsed':
commands.c:(.text+0x2b): undefined reference to `cmdline_printf'
commands.o: In function `cmd_autocomplete_1_parsed':
commands.c:(.text+0x3b): undefined reference to `cmdline_printf'
commands.o: In function `cmd_autocomplete_2_parsed':
commands.c:(.text+0x4b): undefined reference to `cmdline_printf'
commands.o: In function `cmd_num_parsed':
commands.c:(.text+0x60): undefined reference to `cmdline_printf'
commands.o:commands.c:(.text+0x7b): more undefined references to
`cmdline_printf' follow
commands.o: In function `cmd_clear_history_parsed':
commands.c:(.text+0xb5): undefined reference to `rdline_clear_history'
commands.o:(.data+0x90): undefined reference to `cmdline_token_string_ops'
commands.o:(.data+0xe0): undefined reference to `cmdline_token_string_ops'
commands.o:(.data+0x130): undefined reference to `cmdline_token_string_ops'
commands.o:(.data+0x150): undefined reference to `cmdline_token_string_ops'
commands.o:(.data+0x1a0): undefined reference to `cmdline_token_string_ops'
commands.o:(.data+0x1c0): more undefined references to
`cmdline_token_string_ops' follow
commands.o:(.data+0x210): undefined reference to `cmdline_token_num_ops'
commands.o:(.data+0x260): undefined reference to `cmdline_token_string_ops'
commands.o:(.data+0x2b0): undefined reference to `cmdline_token_string_ops'
commands.o:(.data+0x300): undefined reference to `cmdline_token_string_ops'
commands.o:(.data+0x350): undefined reference to `cmdline_token_string_ops'
commands.o:(.data+0x3a0): undefined reference to `cmdline_token_string_ops'
....
Thanks,
Michael
More information about the dev
mailing list