kky <mingyur@inventati.org> wrote:
Hi, I'm developing an auth module based on eap outside of the FreeRADIUS environment and I'm having some problems linking freeRadius functions to my module ! ... /usr/lib/crt1.o(.text+0x18): In function `_start': ../sysdeps/i386/elf/start.S:115: undefined reference to `main'
That's the problem. You're not compiling it as a module. You're compiling it as a stand-alone program. To create a module, just put it into the source tree along with the other modules. Create a minimal Makefile, based on the Makefiles for the other modules. The build system will pick it up and compile it. Alan DeKok. -- http://deployingradius.com - The web site of the book http://deployingradius.com/blog/ - The blog