FYI: OpenBSM 1.0 alpha 4 tarball up for download

Martin Fong martin.fong at sri.com
Fri Feb 24 14:23:51 PST 2006


Robert Watson wrote,

 >  This is an FYI that the OpenBSM 1.0a4 tarball is now available for
 >  download on the OpenBSM web page:
 >
 >       http://www.OpenBSM.org/

I've downloaded a copy but have encountered the following compilation
problems while building on Mac OS X 10.4.5:

- Various Makefiles have incorrectly defined CFLAGS+ options;
   specifically, there are embedded spaces after '-L':

     ./bin/audit/Makefile
     5c5
     < CFLAGS+=      -I- -I ../.. -I ../../libbsm -L ../../libbsm -I.
     ---
     > CFLAGS+=      -I- -I ../.. -I ../../libbsm -L../../libbsm -I.

     ./bin/auditd/Makefile
     5c5
     < CFLAGS+=      -I- -I ../.. -I ../../libbsm -L ../../libbsm -I.
     ---
     > CFLAGS+=      -I- -I ../.. -I ../../libbsm -L../../libbsm -I.

     ./bin/auditreduce/Makefile
     5c5
     < CFLAGS+=      -I- -I ../.. -I ../../libbsm -L ../../libbsm -I.
     ---
     > CFLAGS+=      -I- -I ../.. -I ../../libbsm -L../../libbsm -I.

     ./bin/praudit/Makefile
     5c5
     < CFLAGS+=      -I- -I ../.. -I ../../libbsm -L ../../libbsm -I.
     ---
     > CFLAGS+=      -I- -I ../.. -I ../../libbsm -L../../libbsm -I.

     ./tools/Makefile
     5c5
     < CFLAGS+=      -I- -I .. -I ../libbsm -L ../libbsm -I.
     ---
     > CFLAGS+=      -I- -I .. -I ../libbsm -L../libbsm -I.

- While building libbsm, I got the following error:

     bsdmake
        :
        :
     building shared library libbsm.1.dylib
     /usr/bin/libtool: for architecture: cputype (16777234) cpusubtype
     (0) file: -lSystem is not an object file (not allowed in a
     library)
     *** Error code 1

     Stop in projects/trustedbsd/openbsm/libbsm.

   Is this due to a development environment requirement other than
   using bsdmake?

- While building bin/auditd, I got the following:

     cc -O -pipe -I- -I../.. -I../../libbsm -L../../libbsm -I. -c auditd.c
     auditd.c: In function `main':
     auditd.c:798: error: `LOG_SECURITY' undeclared (first use in this 
function)
     auditd.c:798: error: (Each undeclared identifier is reported only once
     auditd.c:798: error: for each function it appears in.)
     *** Error code 1

   Where is LOG_SECURITY defined?

- While building bin/audit, I got the following:

     make: don't know how to make audit.1. Stop

   (N.b., audit/Makefile only declares audit.8 and not audit.1.)

      I look forward to your suggestions,

      ...Martin Fong


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5201 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.freebsd.org/pipermail/trustedbsd-audit/attachments/20060224/0c10773c/smime.bin


More information about the trustedbsd-audit mailing list