[x265] [PATCH] Fix *BSD build

Mahesh Pittala mahesh at multicorewareinc.com
Mon Nov 21 10:35:10 UTC 2022


Hello Brad Smith,

Apologies for the delay and thanks for your patience.
We are looking into the issue now.

Thanks,
Mahesh

On Sat, Nov 19, 2022 at 3:17 AM Brad Smith <brad at comstyle.com> wrote:

> ping.
>
> On 10/22/2022 7:30 PM, Brad Smith wrote:
> > On 10/5/2022 4:28 PM, Brad Smith wrote:
> >
> >> ping.
> >>
> >> Can the tree please be fixed so it builds?
> >
> >
> > The tree is still broken and does not build.
> >
> >
> >> On 9/24/2022 1:33 AM, Brad Smith wrote:
> >>> Fix *BSD build
> >>>
> >>> Ever since 747a079f70096c6718cbf288a30fb3b7c88a55c9 the build
> >>> has been broken.
> >>>
> >>> [ 63%] Building CXX object common/CMakeFiles/common.dir/ringmem.cpp.o
> >>> /home/brad/tmp/x265_git/source/common/ringmem.cpp:163:27: error: use
> >>> of undeclared identifier 'S_IRUSR'
> >>> mode_t mode = S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH |
> >>> S_IWOTH;
> >>> ^
> >>> /home/brad/tmp/x265_git/source/common/ringmem.cpp:163:37: error: use
> >>> of undeclared identifier 'S_IWUSR'
> >>> mode_t mode = S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH |
> >>> S_IWOTH;
> >>> ^
> >>> /home/brad/tmp/x265_git/source/common/ringmem.cpp:163:47: error: use
> >>> of undeclared identifier 'S_IRGRP'
> >>> mode_t mode = S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH |
> >>> S_IWOTH;
> >>> ^
> >>> /home/brad/tmp/x265_git/source/common/ringmem.cpp:163:57: error: use
> >>> of undeclared identifier 'S_IWGRP'
> >>> mode_t mode = S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH |
> >>> S_IWOTH;
> >>> ^
> >>> /home/brad/tmp/x265_git/source/common/ringmem.cpp:163:67: error: use
> >>> of undeclared identifier 'S_IROTH'
> >>> mode_t mode = S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH |
> >>> S_IWOTH;
> >>> ^
> >>> /home/brad/tmp/x265_git/source/common/ringmem.cpp:163:77: error: use
> >>> of undeclared identifier 'S_IWOTH'
> >>> mode_t mode = S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH |
> >>> S_IWOTH;
> >>> ^
> >>> 6 errors generated.
> >>>
> >>> ---
> >>>   source/common/threading.h | 1 +
> >>>   1 file changed, 1 insertion(+)
> >>>
> >>> diff --git a/source/common/threading.h b/source/common/threading.h
> >>> index 8a5c39cf0..98271b899 100644
> >>> --- a/source/common/threading.h
> >>> +++ b/source/common/threading.h
> >>> @@ -37,6 +37,7 @@
> >>>   #include <semaphore.h>
> >>>   #include <errno.h>
> >>>   #include <fcntl.h>
> >>> +#include <sys/stat.h>
> >>>   #endif
> >>>     #if MACOS
> >> _______________________________________________
> >> x265-devel mailing list
> >> x265-devel at videolan.org
> >> https://mailman.videolan.org/listinfo/x265-devel
> > _______________________________________________
> > x265-devel mailing list
> > x265-devel at videolan.org
> > https://mailman.videolan.org/listinfo/x265-devel
> _______________________________________________
> x265-devel mailing list
> x265-devel at videolan.org
> https://mailman.videolan.org/listinfo/x265-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20221121/ed98912c/attachment.htm>


More information about the x265-devel mailing list