Hi,--I started a question on Stackoverflow asking how to add a custom module. It can be found here: http://stackoverflow.com/questions/19275869/adding-a-module-in-nxweb. I will copy the question here but it would still be cool if any of you nxweb veterans could head over to SO and post an answer.The question is this:I want to give nxweb a try. So I successfully got it installed. Unfortunately the documentation is non-existant. After digging around in the code and the INSTALL notes I figured that I had to place my
C
file in the modules subdirectory and recompile the main executable via:gcc -O2 -g main.c modules/*.c -o mynxweb `pkg-config --cflags --libs nxweb`
As this didn't work out I found some code in the
main.c
which seems to handle the registration of modules. So I added:NXWEB_HANDLER_SETUP(my_click, "/click", click, .priority=1000);
and recompiled. It compiles just fine. But I can't find a
click.o
(my source file is calledclick.c
) in thesrc/bin
directory. The info messages don't mention my module either. So I'm at a loss as to what I am missing.Thanks for you help!
You received this message because you are subscribed to the Google Groups "nxweb" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nxweb+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.