All of lore.kernel.org
 help / color / mirror / Atom feed
* Compile error with CONFIG_RTE_BUILD_COMBINE_LIBS=y
@ 2015-12-08  7:08 Qiu, Michael
  2015-12-08  9:25 ` Qiu, Michael
  0 siblings, 1 reply; 2+ messages in thread
From: Qiu, Michael @ 2015-12-08  7:08 UTC (permalink / raw)
  To: thomas.monjalon; +Cc: dev

Hi, Thomas

I see you recently merged one commit:

commit 8f1c704fb0f1b867471fc692ed2c0fc5610831e2
Author: Thomas Monjalon <thomas.monjalon@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@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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Compile error with CONFIG_RTE_BUILD_COMBINE_LIBS=y
  2015-12-08  7:08 Compile error with CONFIG_RTE_BUILD_COMBINE_LIBS=y Qiu, Michael
@ 2015-12-08  9:25 ` Qiu, Michael
  0 siblings, 0 replies; 2+ messages in thread
From: Qiu, Michael @ 2015-12-08  9:25 UTC (permalink / raw)
  To: thomas.monjalon; +Cc: dev

My mistake. please ignore this issue.

Thanks,
Michael

On 2015/12/8 15:08, Qiu, Michael wrote:
> Hi, Thomas
>
> I see you recently merged one commit:
>
> commit 8f1c704fb0f1b867471fc692ed2c0fc5610831e2
> Author: Thomas Monjalon <thomas.monjalon@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@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
>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-12-08  9:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-08  7:08 Compile error with CONFIG_RTE_BUILD_COMBINE_LIBS=y Qiu, Michael
2015-12-08  9:25 ` Qiu, Michael

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.