[rsbac] Problem with compiling rsbac-admin-v1.21

Patrique Wolfrum Patrique.Wolfrum at vwl.uni-freiburg.de
Sun Jul 20 16:07:21 MEST 2003


in order to test the cooperation of rsbac and nfs (used here as an nfs-server), we (I and my team-colleagues at the local univesity) tried to install rsbac on a fresh install of Suse Linux 8.2 (installed via FTP). To circumvent problems with the Suse-kernel, we used an 2.4.21 premodified kernel (linux-2.4.21-rsbac-v1.2.1-bf5 )from the rsbac-site.
(Here a little side-question: Has someone tried successfully to patch a Suse-kernel ?)

The compiling of the kernel went flawlessly, although Suse Linux seems to miss some special functions of its kernel during the boot (several error-messages of unsupported devices and problems with the fstab-settings for mounting two NTFS-Partitions).

As we tried to compile the admin-tools for rsbac (according the install-documentation on the website), we got the following error-message during 'make':

acl_grant.o(.text+0x45c): In function 'process'.
/inst/rsbac-admin-v1.2.1/src/acl_grant.c:183 undefined reference to 'errno'
librsbac.a(syscall_wrapper.o)(.text+0x23): In function 'rsbac':
undefined reference to 'errno'
collect2: ld returned 1 exit status
make[2] *** [acl_grant] Error 1

We then tried this on a second computer with Redhat 9.0 installed. Again the same result.
But with a system with Redhat 8.0 installed (my home-server), the compile went without any problems.

After this, we thought of the problem is probably related to the version of the GCC used (Suse 8.2 uses GCC 3.33 and Redhat 9 GCC 3.22, while Redhat 8.0 uses 3.2). So perhaps there is a problem with RSBAC and newer GCC-versions.

Has someone else encountered this problem ?
If our assumption is not correct, what can cause this problem and how can we get the admin-tools compiled ?

Thank you very much in advance.

With best regards,
    Patrique Wolfrum (Chair of Information Management)-------------- nächster Teil --------------
Ein Dateianhang mit HTML-Daten wurde geschreddert...
URL: http://gateway.compuniverse.de/pipermail/rsbac/attachments/20030720/6aa908c2/attachment.htm

More information about the rsbac mailing list