-
Notifications
You must be signed in to change notification settings - Fork 1
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
'NN_ALLOC_PAGEALIGN' undeclared (first use in this function) #3
Comments
Hello @salmr0 , yes, this requires a particular feature in nanomsg not yet included. I was hoping for my PR on nanomsg to be merged by now (nanomsg/nanomsg#620), but apparently it didn't got the attention required. You can try my fork of nanomsg here: https://github.com/wavesoft/nanomsg/tree/pull-pagealign (the branch |
Also, perhaps have a look on the |
hi, Thanks for the update. I tried the pull-pagealign branch and got a bit further. Now its failing at the link stage with this message: CCLD nanocat |
Hello @salmr0 , try to add this to the beginning of extern void* nn_chunk_reset(void *p, size_t size);
extern void *nn_chunk_deref ( void *p); These were supposed to be private to nanomsg, yet accessible by the linker. (They are defined here https://github.com/wavesoft/nanomsg/blob/pull-nn_allocmsg_ptr/src/utils/chunk.c#L360) |
I think I see the problem. I am working with the The chunk.c file on that branch does not have nn_chunk_reset or nn_chunk_deref defined The chunk.c file you pointed me to is from the Do you have a set of patches from |
Damn. You are right, I stopped working on this project the moment nanomsg decided to swich to CMake and I didn't have time to complete the migration. You could try the other way around, and use this commit from the That's the last one of my changes before I merged the CMake changes from nanomsg upstream. Sorry for all this trouble 😞 |
hum. Patch fails there as well trying to get applied to src/core/global.c. Thanks for trying to help. If you find a combination that works let me know and I would be happy to try it out. |
Hi,
I understand that this is still under active development and I just wanted to give this a try and possibly help test. I am hoping you can point me to the right versions of things so that I can get a build.
I am working with a fresh clone of https://github.com/wavesoft/nanomsg/ to which I apply patch-nanomsg.sh script succesfully.
After running config with the OFI options I get this error message(see attached file):
err.txt
I can get by the
src/transports/ofi/sofi.c:158:18: error: array type has incomplete element type
error fixed by adding the
#include <sys/uio.h>
header file to sofi.cHowever I can not find where
NN_ALLOC_PAGEALIGN
is defined to fix that error message.Any pointers would help. Thanks
The text was updated successfully, but these errors were encountered: