[vlc-devel] OpenBSD build fix
Joris van Rooij
jorrizza at jrrzz.net
Tue Apr 21 19:16:39 CEST 2009
Rémi Denis-Courmont writes:
>> AC_CHECK_HEADERS([net/if.h], [], [],
>> [
>>+ #include <stdlib.h>
>> #include <sys/socket.h>
>> ])
>> if test "${SYS}" != "mingw32" -a "${SYS}" != "mingwce"; then
>
> <stdlib.h> looks odd. <sys/types.h> perhaps?
That will do too. I have just used stdlib because it usually covers the
dependencies.
>>-#include <sys/soundcard.h>
>>+#ifdef HAVE_SYS_SOUNDCARD_H
>>+# include <sys/soundcard.h>
>>+#endif
>>+#ifdef HAVE_MACHINE_SOUNDCARD_H
>>+# include <machine/soundcard.h>
>>+#endif
>>+#ifdef HAVE_SOUNDCARD_H
>>+# include <soundcard.h>
>>+#endif
>
> Hmm, I thought machine/ was for internal headers?
Yes, that's one thing I wasn't sure about. I thought these headers were
architecture dependant. Some BSDs do have the only OSS-compatible header in
machine/, but I could be wrong here. I haven't verified it. OpenBSD doesn't
have it's soundcard.h in sys/ but, like NetBSD, supplies a deprecated
OSS-compatible file in soundcard.h.
>>diff --git a/po/Makefile.in.in b/po/Makefile.in.in
>>index fecf500..19f5a07 100644
>>--- a/po/Makefile.in.in
>>+++ b/po/Makefile.in.in
>
> This file is automatically generated, you cannot patch it.
There's a problem somewhere. Somehow /bin/sh is calling itself, resulting in
a show stopping error during make install.
Thanks so far.
Greetings,
Joris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20090421/5bd09597/attachment.sig>
More information about the vlc-devel
mailing list