Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation fails on FreeBSD: error: use of undeclared identifier 'F_SETPIPE_SZ' #144

Closed
yurivict opened this issue Apr 25, 2021 · 5 comments
Labels
Milestone

Comments

@yurivict
Copy link

It fails on FreeBSD 12.2:

/disk-samsung/freebsd-ports/multimedia/lms/work/lms-3.25.0/src/libs/utils/impl/ChildProcess.cpp:74:22: error: use of undeclared identifier 'F_SETPIPE_SZ'
                if (fcntl(pipe[0], F_SETPIPE_SZ, pipeSize) == -1)
                                   ^
/disk-samsung/freebsd-ports/multimedia/lms/work/lms-3.25.0/src/libs/utils/impl/ChildProcess.cpp:77:22: error: use of undeclared identifier 'F_SETPIPE_SZ'
                if (fcntl(pipe[1], F_SETPIPE_SZ, pipeSize) == -1)
                                   ^
2 errors generated.

I searched for this symbol in the ports tree and didn't find a match, which means that nobody patched such problem in any other port,

@yurivict yurivict changed the title Compilation fails on BSD: error: use of undeclared identifier 'F_SETPIPE_SZ' Compilation fails on FreeBSD: error: use of undeclared identifier 'F_SETPIPE_SZ' Apr 25, 2021
@epoupon
Copy link
Owner

epoupon commented Apr 25, 2021

Hmm this is actually just a hint to prevent the child transcode process from writing too many data ahead the network client. Could you please try to just comment these lines and tell me how transcoding performs?

@yurivict
Copy link
Author

I commented them out in the port.

Trying to get it to run.

@epoupon
Copy link
Owner

epoupon commented Apr 25, 2021

Ok it should work fine

@epoupon epoupon added the bug label Apr 25, 2021
@epoupon epoupon added this to the v3.25.1 milestone Apr 25, 2021
@yurivict
Copy link
Author

It works, thanks.

I created the FreeBSD port: https://cgit.freebsd.org/ports/tree/multimedia/lms/

I will let you know if I'd get any user complaints.

Thank you for your help!

@epoupon
Copy link
Owner

epoupon commented Apr 25, 2021

Thanks for creating this port!
Feel free to report issues 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants