Public bug reported:

See:
ldd usr/lib/x86_64-linux-gnu/libdpdk.so.0                                       
                                                                                
                        
        linux-vdso.so.1 =>  (0x00007ffc977e3000)                                
                                                                                
                             
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fb7594da000)       
                                                                                
                             
        /lib64/ld-linux-x86-64.so.2 (0x0000557d9e648000)

While a consume of libdpdk can fix that op on his own by providing the
right -l parameters it will fail with errors like this if he doesn't

configure:18780: gcc -o conftest -g -O2 -fstack-protector-strong -Wformat 
-Werror=format-security -I/usr/include/dpdk -Wdate-time -D_FORTIFY_SOURCE=2 
-Wl,-Bsymbolic-functions -Wl,-z,relro -L/usr/lib conftest.c -ldpdk -ldl 
-latomic -lpthread -lrt -lm  -lfuse >&5
/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libdpdk.so: undefined 
reference to `xs_close'
/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libdpdk.so: undefined 
reference to `xs_transaction_start'
/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libdpdk.so: undefined 
reference to `pcap_next'
/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libdpdk.so: undefined 
reference to `pcap_close'
/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libdpdk.so: undefined 
reference to `pcap_open_dead'
/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libdpdk.so: undefined 
reference to `pcap_dump'
/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libdpdk.so: undefined 
reference to `pcap_dump_flush'
/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libdpdk.so: undefined 
reference to `pcap_open_offline'
/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libdpdk.so: undefined 
reference to `xs_get_domain_path'
/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libdpdk.so: undefined 
reference to `pcap_sendpacket'
/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libdpdk.so: undefined 
reference to `xs_rm'
/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libdpdk.so: undefined 
reference to `xs_domain_open'
/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libdpdk.so: undefined 
reference to `pcap_dump_close'
/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libdpdk.so: undefined 
reference to `xs_read'
/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libdpdk.so: undefined 
reference to `pcap_open_live'
/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libdpdk.so: undefined 
reference to `pcap_dump_open'
/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libdpdk.so: undefined 
reference to `xs_write'
collect2: error: ld returned 1 exit status
configure:18780: $? = 1


So eventually the library libdpdk.so.0 should link itself against the libraries 
it uses.

** Affects: dpdk (Ubuntu)
     Importance: Low
         Status: Triaged

** Changed in: dpdk (Ubuntu)
       Status: New => Triaged

** Changed in: dpdk (Ubuntu)
   Importance: Undecided => Low

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to dpdk in Ubuntu.
https://bugs.launchpad.net/bugs/1547517

Title:
  libdpdk should link against the library it uses

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dpdk/+bug/1547517/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to