[prev in list] [next in list] [prev in thread] [next in thread]
List: freeradius-devel
Subject: Re: problem linking auth module to freeradius functions
From: "Alan DeKok" <aland () deployingradius ! com>
Date: 2006-09-26 14:30:36
Message-ID: 20060926143036.4779016CBC () mail ! nitros9 ! org
[Download RAW message or body]
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
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/devel.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic