Hello, i have a red hat 7.2 system and set the environment variable CC='kgcc'. I have git the standard kernel: [root@linux-test source]# rpm -qf /usr/include/asm/statfs.h kernel-headers-2.4.7-10 But when compiling the tng-source i get the following error: Using FLAGS -O -Iinclude -I./include -I./ubiqx -I./smbwrapper -I./lib -DLOGFILEBASE="/ usr/local/samba/var" -DSMBLOGFILE="/usr/local/samba/var/log.smb" -DNMBLOGFIL E="/usr/local/samba/var/log.nmb" -DCONFIGFILE="/usr/local/samba/lib/smb.conf " -DLMHOSTSFILE="/usr/local/samba/lib/lmhosts" -DSWATDIR="/usr/local/samba /swat" -DSBINDIR="/usr/local/samba/sbin" -DLOCKDIR="/usr/local/samba/var/loc ks" -DSMBRUN="/usr/local/samba/bin/smbrun" -DCODEPAGEDIR="/usr/local/samba/l ib/codepages" -DDRIVERFILE="/usr/local/samba/lib/printers.def" -DBINDIR="/us r/local/samba/bin" -DFORMSFILE="/usr/local/samba/lib/ntforms.def" -DNTDRIVER SDIR="/usr/local/samba/lib" -DHAVE_INCLUDES_H -DPASSWD_PROGRAM="/bin/passwd" -DSMB_PASSWD_PROGRAM="/usr/local/samba/bin/smbpasswd" -DSMB_PASSWD_FILE="/u sr/local/samba/private/smbpasswd" -DSAM_DIR="/usr/local/samba/sam" -DSMB_PAS SGRP_FILE="/usr/local/samba/private/smbpassgrp" -DSMB_GROUP_FILE="/usr/local /samba/private/smbgroup" -DSMB_ALIAS_FILE="/usr/local/samba/private/smbalias " Using LIBS = -lreadline -lcurses -ldl -lcrypt -lnsl Compiling rpc_client/cli_login.c with libtool In file included from /usr/include/linux/vfs.h:4, from /usr/include/linux/fs.h:14, from /usr/include/linux/capability.h:17, from /usr/include/sys/capability.h:24, from include/includes.h:338, from rpc_client/cli_login.c:23: /usr/include/asm/statfs.h:12: redefinition of `struct statfs' make: *** [rpc_client/cli_login.lo] Fehler 1 Is there special kernel, tng only runs with? thanks cornelius
You should ask this question on the tng-user maillinglist. I think someone there can help you. Tarjei Cornelius K?lbel wrote:>Hello, > >i have a red hat 7.2 system and set the environment variable CC='kgcc'. > >I have git the standard kernel: > >[root@linux-test source]# rpm -qf /usr/include/asm/statfs.h >kernel-headers-2.4.7-10 > > >But when compiling the tng-source i get the following error: > >Using FLAGS > -O -Iinclude -I./include -I./ubiqx -I./smbwrapper -I./lib -DLOGFILEBASE="/ >usr/local/samba/var" -DSMBLOGFILE="/usr/local/samba/var/log.smb" -DNMBLOGFIL >E="/usr/local/samba/var/log.nmb" -DCONFIGFILE="/usr/local/samba/lib/smb.conf >" -DLMHOSTSFILE="/usr/local/samba/lib/lmhosts" -DSWATDIR="/usr/local/samba >/swat" -DSBINDIR="/usr/local/samba/sbin" -DLOCKDIR="/usr/local/samba/var/loc >ks" -DSMBRUN="/usr/local/samba/bin/smbrun" -DCODEPAGEDIR="/usr/local/samba/l >ib/codepages" -DDRIVERFILE="/usr/local/samba/lib/printers.def" -DBINDIR="/us >r/local/samba/bin" -DFORMSFILE="/usr/local/samba/lib/ntforms.def" -DNTDRIVER >SDIR="/usr/local/samba/lib" -DHAVE_INCLUDES_H -DPASSWD_PROGRAM="/bin/passwd" > -DSMB_PASSWD_PROGRAM="/usr/local/samba/bin/smbpasswd" -DSMB_PASSWD_FILE="/u >sr/local/samba/private/smbpasswd" -DSAM_DIR="/usr/local/samba/sam" -DSMB_PAS >SGRP_FILE="/usr/local/samba/private/smbpassgrp" -DSMB_GROUP_FILE="/usr/local >/samba/private/smbgroup" -DSMB_ALIAS_FILE="/usr/local/samba/private/smbalias >" >Using LIBS = -lreadline -lcurses -ldl -lcrypt -lnsl >Compiling rpc_client/cli_login.c with libtool >In file included from /usr/include/linux/vfs.h:4, > from /usr/include/linux/fs.h:14, > from /usr/include/linux/capability.h:17, > from /usr/include/sys/capability.h:24, > from include/includes.h:338, > from rpc_client/cli_login.c:23: >/usr/include/asm/statfs.h:12: redefinition of `struct statfs' >make: *** [rpc_client/cli_login.lo] Fehler 1 > >Is there special kernel, tng only runs with? > >thanks >cornelius > >