Hi,

On 11/19/2011 12:06 AM, Martin Storsjö wrote:
> On Fri, 18 Nov 2011, Måns Rullgård wrote:
>
>>> From ba07b4888a5195ccb1161ae4edd5d64a5c4ffd00 Mon Sep 17 00:00:00 2001
>>> From: John Stebbins <[email protected]>
>>> Date: Fri, 18 Nov 2011 13:39:18 -0800
>>> Subject: [PATCH] Fix httpproxy protocol dependencies
>>>
>>> Building with --disable-network failed with undefined reference.
>>> ---
>>>  configure |    1 +
>>>  1 files changed, 1 insertions(+), 0 deletions(-)
>>>
>>> diff --git a/configure b/configure
>>> index 6e4259f..352150b 100755
>>> --- a/configure
>>> +++ b/configure
>>> @@ -1484,6 +1484,7 @@ http_protocol_deps="network"
>>>  http_protocol_select="tcp_protocol"
>>>  https_protocol_select="tls_protocol"
>>>  mmsh_protocol_select="http_protocol"
>>> +httpproxy_protocol_select="http_protocol"
>>>  mmst_protocol_deps="network"
>>>  rtmp_protocol_select="tcp_protocol"
>>>  rtp_protocol_select="udp_protocol"
>>> -- 
>>
>> OK
>
> This shouldn't be needed actually, if I would have added the object files 
> properly in the Makefile. John, does the
> patch I just posted fix your issue, too?
>

With only the Makefile patch:

In file included from libavformat/http.c:26:0:
libavformat/network.h:42:24: fatal error: sys/socket.h: No such file or 
directory
compilation terminated.
make: *** [libavformat/http.o] Error 1


Remember, I am using --disable-network.  So all network protocols should be 
disabled somehow.

-- 
John      GnuPG fingerprint: D0EC B3DB C372 D1F1 0B01  83F0 49F1 D7B2 60D4 D0F7


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to