FYI: OpenBSM 1.0 alpha 4 tarball up for download

Martin Fong martin.fong at sri.com
Mon Feb 27 09:10:55 PST 2006


Robert,

 > On Fri, 24 Feb 2006, Martin Fong wrote:
 >
 >>    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?
 >
 > BTW, Google suggests that this is a product of an old Xcode install
 > on a recent Tiger, and that an upgrade to a recent Xcode should
 > help....  [It] would be great if you could give it a try.

I've installed the latest Xcode 2.2 distribution
(xcode_2.2_8m654_018213974.dmg) on my Mac OS X 10.4.5 machine and,
ignoring linting issues (e.g., signedness differences on arguments), I
now have the following compilation error:

     % bsdmake
     ===> bsm (all)
     ===> libbsm (all)
       [Snip.]

     cc -O -pipe -I- -I.. -Wall  -c bsm_wrappers.c
     cc1: note: obsolete option -I- used, please use -iquote instead
     In file included from /usr/include/sys/ucred.h:64,
                      from /usr/include/sys/sysctl.h:71,
                      from bsm_wrappers.c:38:
     ../bsm/audit.h:248: error: parse error before 'TAILQ_ENTRY'
     ../bsm/audit.h:255: error: parse error before 'TAILQ_HEAD'
     ../bsm/audit.h:258: error: parse error before 'au_rec_q'
     In file included from /usr/include/sys/sysctl.h:71,
                      from bsm_wrappers.c:38:
     /usr/include/sys/ucred.h:75: error: parse error before 'TAILQ_ENTRY'
     /usr/include/sys/ucred.h:88: error: parse error before '}' token
     *** Error code 1

     Stop in /projects/trustedbsd/openbsm/libbsm.
     *** Error code 1

     Stop in /projects/trustedbsd/openbsm.

(BTW, I've put a log of the build in
ftp://ftp.csl.sri.com/pub/emerald/.macbsm/.rwatson as build3.log.)

      Thanks!

      ...Martin
-------------- 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/20060227/6c0b10a7/smime.bin


More information about the trustedbsd-audit mailing list