Link failure when using --disable-network

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]<

 



When configured with --disable-network, mplayer fails to link (tested
on MacOS 10.6.2).

Link error is:

Undefined symbols:
  "_closesocket", referenced from:
      _tcp_close in libavformat.a(tcp.o)
      _tcp_open in libavformat.a(tcp.o)
      _tcp_open in libavformat.a(tcp.o)
      _udp_close in libavformat.a(udp.o)
      _udp_open in libavformat.a(udp.o)
  "_ff_socket_nonblock", referenced from:
      _tcp_open in libavformat.a(tcp.o)
      _udp_open in libavformat.a(udp.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [mplayer] Error 1


Disabling libavformat network protocols fixes the build:

./configure --disable-network --disable-protocol=udp
--disable-protocol=tcp --disable-protocol=rtp


Andrew


[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux