[osiris] Re: static compile of osirisd

Dave dave at terriblelies.net
Wed Apr 4 21:58:12 EDT 2007


John wrote:
> Can the scan agent be statically compiled so it can
> just be dropped into any system?  I found this
> article,
> http://www.linuxsecurity.com/content/view/101884/49/
> and they said to use export CFLAGS="-static $CFLAGS"
> before configure.  This gives me a bunch of undefined
> reference errors.  Thank you for any help. 

I was able to compile a static build of osirisd by issuing the commands 
as follows:

$ CFLAGS="-static" ./configure
$ make agent

If you are still receiving undefined reference errors, please try 
compiling first without setting the CFLAGS="-static" to make sure it 
builds normally.  You may be missing other necessary libraries or headers.

If all else fails, post the last few lines of the compile showing the error.

Thanks!
-dave




More information about the osiris mailing list