-
Notifications
You must be signed in to change notification settings - Fork 221
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
socket2 doesn't compile on ubuntu #527
Comments
Can you share the command you're using to build socket2? Because the functions are very much defined: Lines 741 to 760 in 3a93893
|
sorry I guess I didn't make my self clear , okayb first issue I'm using orao vrf which has socket2 as a depencies, if I follow the correct error stack it starts from here error: Socket2 doesn't support the compile target error[E0432]: unresolved imports |
I still need the command you're running, e.g. P.S. Can you put the output in between "```" (three backticks) on a separate line, that would make it more readable on GitHub. |
okay sorry , |
I still don't know what OS you're targeting... can you enable some kind of debug/verbose logging? At some point anchor build should call cargo or rustc, I'll like to know what kind of flags are passed. Specifically |
I don't what anchor or solana are, so I don't know how they are using socket2. I think it would best if you open a ticket with the anchor project, maybe they can help you better. |
when I try to compile I get this error
error[E0425]: cannot find function
set_msghdr_controlin module
sys--> src/lib.rs:714:14 | 714 | sys::set_msghdr_control(&mut self.inner, buf.as_mut_ptr().cast(), buf.len()); | ^^^^^^^^^^^^^^^^^^ not found in
sys`error[E0425]: cannot find function
msghdr_flags
in modulesys
--> src/lib.rs:720:14
|
720 | sys::msghdr_flags(&self.inner)
| ^^^^^^^^^^^^ not found in
sys
error[E0425]: cannot find function
msghdr_control_len
in modulesys
--> src/lib.rs:729:14
|
729 | sys::msghdr_control_len(&self.inner)
| ^^^^^^^^^^^^^^^^^^ not found in `sys``
The text was updated successfully, but these errors were encountered: