[Integrit-users] Re: Mac OS X - build failure with -lcrt0.o
Brought to you by:
ecashin
|
From: Ed L C. <ec...@ug...> - 2003-03-30 06:42:50
|
Amul <am...@cc...> writes: > Ed, > You are more than welcome to post to the mailing list. I read the > comment about you posting to the list. I was just being lazy and > skipped the joining the mailing list. :) I noticed that you're in > Athens, GA. Are you going to school there? I've been told by the > locals that Athens is a college town. Yes, I was a sysadmin at UGA for a while, and I decided to get into academic research, so I'm in the C.S. Masters program now. > I'm compiling integrit 3.02.00-stable from September 6, 2002 on > sourceforge.net. I remember doing some work getting integrit to build cleanly on Mac OS X, and I think that the CVS version may contain a fix for the problem you were seeing in the md5 code preprocessing. I'm not sure, though, and I can't find a note to that effect in the CVS log. Using the CVS version is pretty easy, so you could see if it works better. There are instructions here: http://sourceforge.net/cvs/?group_id=15369 > I tried your recommendation of removing the -static > compilation flag. And it works. :) Correct me if I'm wrong, but > without static, I can't take the binary off this machine and to > another Mac and run it. Right? I'll look into how MOSX is handling > the static command. The static option makes the linker try to produce a statically-linked binary executable. The alternative is an executable that is linked with ld.so, and at runtime ld.so will try to dynamically find and load libc. So you could take the binary off the build machine and run it on another Mac, especially if the shared libraries are the same on both. That's how most pre-compiled software is. The statically-compiled integrit is traditionally preferred because of the small chance that an intruder could modify the system's libraries (and presumably not the kernel or integrit), in which case you'd be better off with an integrit that didn't rely on the poisoned libraries. -- --Ed L Cashin | PGP public key: ec...@ug... | http://noserose.net/e/pgp/ |