audit
Robert Watson
robert at cyrus.watson.org
Thu Apr 8 20:19:15 GMT 1999
On Thu, 8 Apr 1999, Ilmar S. Habibulin wrote:
> I just don't understand what i have to do to make subj work - maybe i
> should patch libc? I've got error message:
>
> /usr/lib/libposix1e.a(posix_aud.o): In function `aud_get_id':
> /usr/tmp/audit/libposix1e/posix_aud.c(.text+0x1306): undefined reference to `aud_get_id_sc'
> /usr/lib/libposix1e.a(posix_aud.o): In function `aud_switch':
> /usr/tmp/audit/libposix1e/posix_aud.c:3030: undefined reference to `aud_switch_sc'
> /usr/lib/libposix1e.a(posix_aud.o): In function `aud_write':
> /usr/tmp/audit/libposix1e/posix_aud.c(.text+0x2daf): undefined reference to `aud_write_sc'
>
> Robert, do you sure you include all needed changes in distribution?
I add three new syscalls. On FreeBSD, this requires you to recompile
libc, as libc contains wrappers to invoke the syscalls for you based on a
C prototype. However, before you can rebuild libc, the appropriate
syscall changes have to have been made to the
{/usr/include/sys,/usr/src/sys/sys} include files. I may have forgotten
to include a make step to regenerate the include files. You can do this
by doing
cd /usr/src/sys/kern
make init_sysent.c
and then copying the appropriate include files from /usr/src/sys/sys to
/usr/include/sys; offhand I'm not sure what the make variant is to copy
them for you, unfortunately. The problem you're experiencing when linking
is that these wrappers don't exist in libc.
Let me know if you have further problems and I'll see what I can do.
Robert N Watson
robert at fledge.watson.org http://www.watson.org/~robert/
PGP key fingerprint: 03 01 DD 8E 15 67 48 73 25 6D 10 FC EC 68 C1 1C
Carnegie Mellon University http://www.cmu.edu/
TIS Labs at Network Associates, Inc. http://www.tis.com/
Safeport Network Services http://www.safeport.com/
To Unsubscribe: send mail to majordomo at cyrus.watson.org
with "unsubscribe posix1e" in the body of the message
More information about the posix1e
mailing list