Sponsored Content
Full Discussion: Error compile NFS
Operating Systems Linux Slackware Error compile NFS Post 302815481 by Linusolaradm1 on Saturday 1st of June 2013 12:36:27 AM
Old 06-01-2013
Error compile NFS

Tryng to compile nfs-utils to latest packages but..

Code:
make[2]: Entering directory `/tmp/nfs-utils-1.2.8/utils/gssd'
/bin/sh ../../libtool --tag=CC   --mode=link gcc -Wall -Wextra -Wstrict-prototypes  -pipe -O2 -fPIC  -I/usr/kerberos/include -I/usr/kerberos/include -O2 -fPIC  -ltirpc  -o gssd gssd-context.o gssd-context_mit.o gssd-context_heimdal.o gssd-context_lucid.o gssd-gss_util.o gssd-gss_oids.o gssd-err_util.o gssd-gssd.o gssd-gssd_main_loop.o gssd-gssd_proc.o gssd-krb5_util.o ../../support/nfs/libnfs.a  -L/usr/kerberos/lib -Wl,--enable-new-dtags -Wl,-rpath -Wl,/usr/kerberos/lib -lkrb5 -lk5crypto -lcom_err -L/usr/kerberos/lib -Wl,--enable-new-dtags -Wl,-rpath -Wl,/usr/kerberos/lib -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err 
libtool: link: gcc -Wall -Wextra -Wstrict-prototypes -pipe -O2 -fPIC -I/usr/kerberos/include -I/usr/kerberos/include -O2 -fPIC -o gssd gssd-context.o gssd-context_mit.o gssd-context_heimdal.o gssd-context_lucid.o gssd-gss_util.o gssd-gss_oids.o gssd-err_util.o gssd-gssd.o gssd-gssd_main_loop.o gssd-gssd_proc.o gssd-krb5_util.o -Wl,--enable-new-dtags -Wl,-rpath -Wl,/usr/kerberos/lib -Wl,--enable-new-dtags -Wl,-rpath -Wl,/usr/kerberos/lib  /usr/lib64/libtirpc.so /usr/lib64/libgssglue.so -lnsl -lpthread /usr/lib64/libgssapi.so /usr/lib64/libheimntlm.so ../../support/nfs/libnfs.a -L/usr/kerberos/lib -lgssapi_krb5 /usr/lib64/libkrb5.so /usr/lib64/libheimbase.so /usr/lib64/libhx509.so /usr/lib64/libwind.so /usr/lib64/libheimsqlite.so /usr/lib64/libhcrypto.so /usr/lib64/libasn1.so /usr/lib64/libroken.so -lcrypt -ldl -lresolv -lk5crypto -lcom_err -pthread
/usr/lib64/gcc/x86_64-slackware-linux/4.7.1/../../../../x86_64-slackware-linux/bin/ld: warning: libcom_err.so.2, needed by /usr/lib64/libtirpc.so, may conflict with libcom_err.so.3
/usr/lib64/gcc/x86_64-slackware-linux/4.7.1/../../../../x86_64-slackware-linux/bin/ld: warning: libkrb5.so.3, needed by /usr/kerberos/lib/libgssapi_krb5.so, may conflict with libkrb5.so.26
/usr/lib64/gcc/x86_64-slackware-linux/4.7.1/../../../../x86_64-slackware-linux/bin/ld: gssd-krb5_util.o: undefined reference to symbol 'krb5_free_keytab_entry_contents@@krb5_3_MIT'
/usr/lib64/gcc/x86_64-slackware-linux/4.7.1/../../../../x86_64-slackware-linux/bin/ld: note: 'krb5_free_keytab_entry_contents@@krb5_3_MIT' is defined in DSO /usr/kerberos/lib/libkrb5.so.3 so try adding it to the linker command line

How to add to command line?
I have tried LDFLAGS="-libkrb5" but doesn't work
 

10 More Discussions You Might Find Interesting

1. Programming

Error in compile C by gcc

Hi all, I compile my c program and get following result hrnpfc01.c:1387: stray '\' in program hrnpfc01.c:1387: parse error before `,' hrnpfc01.c:1388: stray '\' in program hrnpfc01.c:1388: parse error before `,' hrnpfc01.c:1396: stray '\' in program hrnpfc01.c:1396: parse error before... (4 Replies)
Discussion started by: zico
4 Replies

2. Programming

compile error while using dlopen

Hi unix lovers, I am getting error while compile a function which uses dlopen. My code is I am getting error as follows Am I missing something? I think I am missing a lot :-) I am using solaris. Thanks in advance, -Ashish (5 Replies)
Discussion started by: shriashishpatil
5 Replies

3. Programming

Compile error

Dear All I have a program writen in C and test in Unix. Now, I am try to run this program in windows 2000. I am receiving an error ]_getopt is not define. I will appreciate if any one can help explain to me why this problem is hapening and to slove this problem. Thank you (9 Replies)
Discussion started by: coulio
9 Replies

4. Programming

compile error message

i was trying to compile a c program and got the error below. i need help on how to resolve this $ make -ef putput `if ; then echo getinf.awk ; else echo getora.awk;fi` EI.sql `if ; then echo esql -static ; else echo esqlo8i;fi` -O -I. -c EI`if ; then echo .ec; else echo... (4 Replies)
Discussion started by: putput
4 Replies

5. Programming

C compile error

hello can anyone help? :confused: i make a C code in FreeBSD 5.4 and it succeed to run the program requires connection to mysql server when i try to compile it under solaris i get this error message ld: fatal: file ./lib/libmysqlclient.so: wrong ELF machine type: EM_386 why? and how to... (3 Replies)
Discussion started by: kuampang
3 Replies

6. Solaris

NFS write error on host : Stale NFS file handle

:confused:Hi all When i see in the /var/adm/messages, i saw the following error unix: NFS write error on host : Stale NFS file handle. unix: (file handle: 45ca415 3e7 a0000 2c7f6 3ebfc25f a0000 2 3e49) It is using sunOS 5.7. Is anybody know what is this error? Is is related to any network... (2 Replies)
Discussion started by: AirWalker83
2 Replies

7. Solaris

Samba 3.5.4 compile error

Hello! I am trying install samba 3.5.4. and following this instruction from the source package. So, there are my steps: 1 cd ../samba-3.5.4/source3 2 ./configure (without any arguments) and when i run make it returns error .................................................... Compiling... (2 Replies)
Discussion started by: zhum
2 Replies

8. UNIX for Dummies Questions & Answers

Compiling gcc to compile make to compile yaboot

I have just installed OpenBSD on a 333MHz PPC iMac G3. It has a 6GB HDD that has been partitioned as 1GB MacOS 8.5.1, 3GB MacOS X 10.3.9, 2GB OpenBSD 4.8. I now need to install a bootloader so that my computer can recognize the OpenBSD partition at startup. I have been trying to install... (0 Replies)
Discussion started by: t04st3r
0 Replies

9. Ubuntu

Kernel compile error

Hi I'm compiling a real-time kernel in linux, but after I type make bzImage things end with this: (Things going well doing CC and things).... CC arch/x86/kernel/kgdb.o CC arch/x86/kernel/vm86_32.o CC arch/x86/kernel/early_printk.o CC arch/x86/kernel/ipipe.o... (2 Replies)
Discussion started by: mdop
2 Replies

10. Solaris

NFS write error on host xyz: Stale NFS file handle - Solaris 10

Oct 13 12:19:15 xyz nfs: NFS write error on host xyz: Stale NFS file handle. Oct 13 12:19:15 xyz nfs: (file handle: 68000000 1bc5492e 20000000 377c5e 1ce9395c 720a6203 40000000 bdfb0400) Oct 13 12:19:15 xyz nfs: NFS write error on host zyz: Stale NFS file handle. Oct 13 12:19:15 xyz nfs: ... (5 Replies)
Discussion started by: psychocandy
5 Replies
gssd_selinux(8) 						SELinux Policy gssd						   gssd_selinux(8)

NAME
gssd_selinux - Security Enhanced Linux Policy for the gssd processes DESCRIPTION
Security-Enhanced Linux secures the gssd processes via flexible mandatory access control. The gssd processes execute with the gssd_t SELinux type. You can check if you have these processes running by executing the ps command with the -Z qualifier. For example: ps -eZ | grep gssd_t ENTRYPOINTS
The gssd_t SELinux type can be entered via the gssd_exec_t file type. The default entrypoint paths for the gssd_t domain are the following: /usr/sbin/rpc.gssd, /usr/sbin/rpc.svcgssd PROCESS TYPES
SELinux defines process types (domains) for each process running on the system You can see the context of a process using the -Z option to ps Policy governs the access confined processes have to files. SELinux gssd policy is very flexible allowing users to setup their gssd pro- cesses in as secure a method as possible. The following process types are defined for gssd: gssd_t Note: semanage permissive -a gssd_t can be used to make the process type gssd_t permissive. SELinux does not deny access to permissive process types, but the AVC (SELinux denials) messages are still generated. BOOLEANS
SELinux policy is customizable based on least access required. gssd policy is extremely flexible and has several booleans that allow you to manipulate the policy and run gssd with the tightest access possible. If you want to allow gssd to list tmp directories and read the kerberos credential cache, you must turn on the gssd_read_tmp boolean. Enabled by default. setsebool -P gssd_read_tmp 1 If you want to allow users to resolve user passwd entries directly from ldap rather then using a sssd server, you must turn on the authlo- gin_nsswitch_use_ldap boolean. Disabled by default. setsebool -P authlogin_nsswitch_use_ldap 1 If you want to allow all daemons to write corefiles to /, you must turn on the daemons_dump_core boolean. Disabled by default. setsebool -P daemons_dump_core 1 If you want to enable cluster mode for daemons, you must turn on the daemons_enable_cluster_mode boolean. Enabled by default. setsebool -P daemons_enable_cluster_mode 1 If you want to allow all daemons to use tcp wrappers, you must turn on the daemons_use_tcp_wrapper boolean. Disabled by default. setsebool -P daemons_use_tcp_wrapper 1 If you want to allow all daemons the ability to read/write terminals, you must turn on the daemons_use_tty boolean. Disabled by default. setsebool -P daemons_use_tty 1 If you want to deny any process from ptracing or debugging any other processes, you must turn on the deny_ptrace boolean. Enabled by default. setsebool -P deny_ptrace 1 If you want to allow all domains to use other domains file descriptors, you must turn on the domain_fd_use boolean. Enabled by default. setsebool -P domain_fd_use 1 If you want to allow all domains to have the kernel load modules, you must turn on the domain_kernel_load_modules boolean. Disabled by default. setsebool -P domain_kernel_load_modules 1 If you want to allow all domains to execute in fips_mode, you must turn on the fips_mode boolean. Enabled by default. setsebool -P fips_mode 1 If you want to enable reading of urandom for all domains, you must turn on the global_ssp boolean. Disabled by default. setsebool -P global_ssp 1 If you want to allow confined applications to run with kerberos, you must turn on the kerberos_enabled boolean. Enabled by default. setsebool -P kerberos_enabled 1 If you want to allow system to run with NIS, you must turn on the nis_enabled boolean. Disabled by default. setsebool -P nis_enabled 1 If you want to allow confined applications to use nscd shared memory, you must turn on the nscd_use_shm boolean. Enabled by default. setsebool -P nscd_use_shm 1 NSSWITCH DOMAIN
If you want to allow users to resolve user passwd entries directly from ldap rather then using a sssd server for the gssd_t, you must turn on the authlogin_nsswitch_use_ldap boolean. setsebool -P authlogin_nsswitch_use_ldap 1 If you want to allow confined applications to run with kerberos for the gssd_t, you must turn on the kerberos_enabled boolean. setsebool -P kerberos_enabled 1 MANAGED FILES
The SELinux process type gssd_t can manage files labeled with the following file types. The paths listed are the default paths for these file types. Note the processes UID still need to have DAC permissions. auth_cache_t /var/cache/coolkey(/.*)? cluster_conf_t /etc/cluster(/.*)? cluster_var_lib_t /var/lib/pcsd(/.*)? /var/lib/cluster(/.*)? /var/lib/openais(/.*)? /var/lib/pengine(/.*)? /var/lib/corosync(/.*)? /usr/lib/heartbeat(/.*)? /var/lib/heartbeat(/.*)? /var/lib/pacemaker(/.*)? cluster_var_run_t /var/run/crm(/.*)? /var/run/cman_.* /var/run/rsctmp(/.*)? /var/run/aisexec.* /var/run/heartbeat(/.*)? /var/run/cpglockd.pid /var/run/corosync.pid /var/run/rgmanager.pid /var/run/cluster/rgmanager.sk gssd_tmp_t krb5_host_rcache_t /var/cache/krb5rcache(/.*)? /var/tmp/nfs_0 /var/tmp/DNS_25 /var/tmp/host_0 /var/tmp/imap_0 /var/tmp/HTTP_23 /var/tmp/HTTP_48 /var/tmp/ldap_55 /var/tmp/ldap_487 /var/tmp/ldapmap1_0 root_t / /initrd user_tmp_t /var/run/user(/.*)? /tmp/hsperfdata_root /var/tmp/hsperfdata_root /tmp/gconfd-.* var_lib_nfs_t /var/lib/nfs(/.*)? xdm_tmp_t /tmp/.X11-unix(/.*)? /tmp/.ICE-unix(/.*)? /tmp/.X0-lock FILE CONTEXTS
SELinux requires files to have an extended attribute to define the file type. You can see the context of a file using the -Z option to ls Policy governs the access confined processes have to these files. SELinux gssd policy is very flexible allowing users to setup their gssd processes in as secure a method as possible. STANDARD FILE CONTEXT SELinux defines the file context types for the gssd, if you wanted to store files with these types in a diffent paths, you need to execute the semanage command to sepecify alternate labeling and then use restorecon to put the labels on disk. semanage fcontext -a -t gssd_exec_t '/srv/gssd/content(/.*)?' restorecon -R -v /srv/mygssd_content Note: SELinux often uses regular expressions to specify labels that match multiple files. The following file types are defined for gssd: gssd_exec_t - Set files with the gssd_exec_t type, if you want to transition an executable to the gssd_t domain. Paths: /usr/sbin/rpc.gssd, /usr/sbin/rpc.svcgssd gssd_keytab_t - Set files with the gssd_keytab_t type, if you want to treat the files as kerberos keytab files. gssd_tmp_t - Set files with the gssd_tmp_t type, if you want to store gssd temporary files in the /tmp directories. Note: File context can be temporarily modified with the chcon command. If you want to permanently change the file context you need to use the semanage fcontext command. This will modify the SELinux labeling database. You will need to use restorecon to apply the labels. COMMANDS
semanage fcontext can also be used to manipulate default file context mappings. semanage permissive can also be used to manipulate whether or not a process type is permissive. semanage module can also be used to enable/disable/install/remove policy modules. semanage boolean can also be used to manipulate the booleans system-config-selinux is a GUI tool available to customize SELinux policy settings. AUTHOR
This manual page was auto-generated using sepolicy manpage . SEE ALSO
selinux(8), gssd(8), semanage(8), restorecon(8), chcon(1), sepolicy(8) , setsebool(8) gssd 14-06-10 gssd_selinux(8)
All times are GMT -4. The time now is 03:14 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy