Messages in this thread | | | Date | Fri, 12 Dec 1997 15:07:51 +0200 | From | Yuri Kuzmenko <> | Subject | ncpfs problem... |
| |
ncpfs in 2.0.32 (compiled with glibc) is broken. I use ncpmount 2.0.11 (from ncpfs package). Directories permissions always set to zero, files permissions defined by -g (!!!, there is gid!) ncpfs option. -u options works; -f and -d options are "ignored"...
I can't compile ncpfs from redhat5.0/SRPMS. Kernel 2.0.32 yuri@cs:~$ gcc -v Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.7.2.3/specs gcc version 2.7.2.3 yuri@cs:~$ rpm -qa|grep glibc-devel glibc-devel-2.0.5c-10 yuri@cs:~$ rpm -qa|grep head kernel-headers-2.0.32-2
ncpfs from SRPMS/ncpfs*rpm (with two patches applied)
$ make 2>make.error
make.error:
In file included from /usr/include/linux/ncp.h:12, from ncplib.h:12, from ncpmount.c:43: /usr/include/linux/ipx.h:76: warning: `SIOCAIPXPRISLT' redefined /usr/include/netipx/ipx.h:107: warning: this is the location of the previous definition /usr/include/linux/ipx.h:77: warning: `SIOCIPXCFGDATA' redefined /usr/include/netipx/ipx.h:108: warning: this is the location of the previous definition In file included from /usr/include/linux/net.h:23, from /usr/include/linux/fs.h:15, from /usr/include/linux/ncp_fs.h:11, from ncplib.h:13, from ncpmount.c:43: /usr/include/linux/socket.h:41: warning: `SOCK_STREAM' redefined /usr/include/socketbits.h:40: warning: this is the location of the previous definition /usr/include/linux/socket.h:42: warning: `SOCK_DGRAM' redefined /usr/include/socketbits.h:43: warning: this is the location of the previous definition /usr/include/linux/socket.h:43: warning: `SOCK_RAW' redefined /usr/include/socketbits.h:45: warning: this is the location of the previous definition /usr/include/linux/socket.h:44: warning: `SOCK_RDM' redefined /usr/include/socketbits.h:47: warning: this is the location of the previous definition /usr/include/linux/socket.h:45: warning: `SOCK_SEQPACKET' redefined /usr/include/socketbits.h:50: warning: this is the location of the previous definition /usr/include/linux/socket.h:46: warning: `SOCK_PACKET' redefined /usr/include/socketbits.h:54: warning: this is the location of the previous definition /usr/include/linux/socket.h:53: warning: `AF_UNSPEC' redefined /usr/include/socketbits.h:74: warning: this is the location of the previous definition /usr/include/linux/socket.h:54: warning: `AF_UNIX' redefined /usr/include/socketbits.h:76: warning: this is the location of the previous definition /usr/include/linux/socket.h:55: warning: `AF_INET' redefined /usr/include/socketbits.h:78: warning: this is the location of the previous definition /usr/include/linux/socket.h:56: warning: `AF_AX25' redefined /usr/include/socketbits.h:79: warning: this is the location of the previous definition /usr/include/linux/socket.h:57: warning: `AF_IPX' redefined /usr/include/socketbits.h:80: warning: this is the location of the previous definition /usr/include/linux/socket.h:58: warning: `AF_APPLETALK' redefined /usr/include/socketbits.h:81: warning: this is the location of the previous definition /usr/include/linux/socket.h:59: warning: `AF_NETROM' redefined /usr/include/socketbits.h:82: warning: this is the location of the previous definition /usr/include/linux/socket.h:60: warning: `AF_BRIDGE' redefined /usr/include/socketbits.h:83: warning: this is the location of the previous definition /usr/include/linux/socket.h:61: warning: `AF_AAL5' redefined /usr/include/socketbits.h:84: warning: this is the location of the previous definition /usr/include/linux/socket.h:62: warning: `AF_X25' redefined /usr/include/socketbits.h:85: warning: this is the location of the previous definition /usr/include/linux/socket.h:66: warning: `AF_MAX' redefined /usr/include/socketbits.h:87: warning: this is the location of the previous definition /usr/include/linux/socket.h:69: warning: `PF_UNSPEC' redefined /usr/include/socketbits.h:58: warning: this is the location of the previous definition /usr/include/linux/socket.h:70: warning: `PF_UNIX' redefined /usr/include/socketbits.h:60: warning: this is the location of the previous definition /usr/include/linux/socket.h:71: warning: `PF_INET' redefined /usr/include/socketbits.h:62: warning: this is the location of the previous definition /usr/include/linux/socket.h:72: warning: `PF_AX25' redefined /usr/include/socketbits.h:63: warning: this is the location of the previous definition /usr/include/linux/socket.h:73: warning: `PF_IPX' redefined /usr/include/socketbits.h:64: warning: this is the location of the previous definition /usr/include/linux/socket.h:74: warning: `PF_APPLETALK' redefined /usr/include/socketbits.h:65: warning: this is the location of the previous definition /usr/include/linux/socket.h:75: warning: `PF_NETROM' redefined /usr/include/socketbits.h:66: warning: this is the location of the previous definition /usr/include/linux/socket.h:76: warning: `PF_BRIDGE' redefined /usr/include/socketbits.h:67: warning: this is the location of the previous definition /usr/include/linux/socket.h:77: warning: `PF_AAL5' redefined /usr/include/socketbits.h:68: warning: this is the location of the previous definition /usr/include/linux/socket.h:78: warning: `PF_X25' redefined /usr/include/socketbits.h:69: warning: this is the location of the previous definition /usr/include/linux/socket.h:82: warning: `PF_MAX' redefined /usr/include/socketbits.h:71: warning: this is the location of the previous definition In file included from /usr/include/linux/ncp_fs.h:11, from ncplib.h:13, from ncpmount.c:43: /usr/include/linux/fs.h:82: warning: `MS_RMT_MASK' redefined /usr/include/sys/mount.h:51: warning: this is the location of the previous definition /usr/include/linux/fs.h:87: warning: `MS_MGC_VAL' redefined /usr/include/sys/mount.h:56: warning: this is the location of the previous definition /usr/include/linux/fs.h:119: warning: `BLKROSET' redefined /usr/include/sys/mount.h:64: warning: this is the location of the previous definition /usr/include/linux/fs.h:120: warning: `BLKROGET' redefined /usr/include/sys/mount.h:65: warning: this is the location of the previous definition /usr/include/linux/fs.h:121: warning: `BLKRRPART' redefined /usr/include/sys/mount.h:66: warning: this is the location of the previous definition /usr/include/linux/fs.h:122: warning: `BLKGETSIZE' redefined /usr/include/sys/mount.h:67: warning: this is the location of the previous definition /usr/include/linux/fs.h:123: warning: `BLKFLSBUF' redefined /usr/include/sys/mount.h:68: warning: this is the location of the previous definition /usr/include/linux/fs.h:124: warning: `BLKRASET' redefined /usr/include/sys/mount.h:69: warning: this is the location of the previous definition /usr/include/linux/fs.h:125: warning: `BLKRAGET' redefined /usr/include/sys/mount.h:70: warning: this is the location of the previous definition In file included from /usr/include/linux/ncp_fs.h:12, from ncplib.h:13, from ncpmount.c:43: /usr/include/linux/in.h:73: warning: `IN_CLASSA' redefined /usr/include/netinet/in.h:102: warning: this is the location of the previous definition /usr/include/linux/in.h:79: warning: `IN_CLASSB' redefined /usr/include/netinet/in.h:108: warning: this is the location of the previous definition /usr/include/linux/in.h:85: warning: `IN_CLASSC' redefined /usr/include/netinet/in.h:114: warning: this is the location of the previous definition /usr/include/linux/in.h:90: warning: `IN_CLASSD' redefined /usr/include/netinet/in.h:119: warning: this is the location of the previous definition /usr/include/linux/in.h:94: warning: `IN_EXPERIMENTAL' redefined /usr/include/netinet/in.h:122: warning: this is the location of the previous definition /usr/include/linux/in.h:95: warning: `IN_BADCLASS' redefined /usr/include/netinet/in.h:123: warning: this is the location of the previous definition /usr/include/linux/in.h:98: warning: `INADDR_ANY' redefined /usr/include/netinet/in.h:126: warning: this is the location of the previous definition /usr/include/linux/in.h:101: warning: `INADDR_BROADCAST' redefined /usr/include/netinet/in.h:128: warning: this is the location of the previous definition /usr/include/linux/in.h:104: warning: `INADDR_NONE' redefined /usr/include/netinet/in.h:130: warning: this is the location of the previous definition In file included from /usr/include/linux/ncp.h:12, from ncplib.h:12, from ncpmount.c:43: /usr/include/linux/ipx.h:8: redefinition of `struct sockaddr_ipx' /usr/include/linux/ipx.h:27: redefinition of `struct ipx_route_definition' /usr/include/linux/ipx.h:31: warning: redefinition of `ipx_route_definition' /usr/include/netipx/ipx.h:60: warning: `ipx_route_definition' previously declared here /usr/include/linux/ipx.h:34: redefinition of `struct ipx_interface_definition' /usr/include/linux/ipx.h:49: warning: redefinition of `ipx_interface_definition' /usr/include/netipx/ipx.h:79: warning: `ipx_interface_definition' previously declared here /usr/include/linux/ipx.h:52: redefinition of `struct ipx_config_data' /usr/include/linux/ipx.h:55: warning: redefinition of `ipx_config_data' /usr/include/netipx/ipx.h:86: warning: `ipx_config_data' previously declared here /usr/include/linux/ipx.h:62: redefinition of `struct ipx_route_def' In file included from /usr/include/linux/net.h:23, from /usr/include/linux/fs.h:15, from /usr/include/linux/ncp_fs.h:11, from ncplib.h:13, from ncpmount.c:43: /usr/include/linux/socket.h:9: redefinition of `struct sockaddr' /usr/include/linux/socket.h:14: redefinition of `struct linger' /usr/include/linux/socket.h:26: redefinition of `struct msghdr' In file included from /usr/include/linux/ncp_fs.h:12, from ncplib.h:13, from ncpmount.c:43: /usr/include/linux/in.h:25: conflicting types for `IPPROTO_IP' /usr/include/netinet/in.h:33: previous declaration of `IPPROTO_IP' /usr/include/linux/in.h:26: conflicting types for `IPPROTO_ICMP' /usr/include/netinet/in.h:34: previous declaration of `IPPROTO_ICMP' /usr/include/linux/in.h:27: conflicting types for `IPPROTO_IGMP' /usr/include/netinet/in.h:35: previous declaration of `IPPROTO_IGMP' /usr/include/linux/in.h:28: conflicting types for `IPPROTO_IPIP' /usr/include/netinet/in.h:36: previous declaration of `IPPROTO_IPIP' /usr/include/linux/in.h:29: conflicting types for `IPPROTO_TCP' /usr/include/netinet/in.h:37: previous declaration of `IPPROTO_TCP' /usr/include/linux/in.h:30: conflicting types for `IPPROTO_EGP' /usr/include/netinet/in.h:38: previous declaration of `IPPROTO_EGP' /usr/include/linux/in.h:31: conflicting types for `IPPROTO_PUP' /usr/include/netinet/in.h:39: previous declaration of `IPPROTO_PUP' /usr/include/linux/in.h:32: conflicting types for `IPPROTO_UDP' /usr/include/netinet/in.h:40: previous declaration of `IPPROTO_UDP' /usr/include/linux/in.h:33: conflicting types for `IPPROTO_IDP' /usr/include/netinet/in.h:41: previous declaration of `IPPROTO_IDP' /usr/include/linux/in.h:35: conflicting types for `IPPROTO_RAW' /usr/include/netinet/in.h:45: previous declaration of `IPPROTO_RAW' /usr/include/linux/in.h:37: conflicting types for `IPPROTO_MAX' /usr/include/netinet/in.h:47: previous declaration of `IPPROTO_MAX' /usr/include/linux/in.h:41: redefinition of `struct in_addr' /usr/include/linux/in.h:48: redefinition of `struct ip_mreq' /usr/include/linux/in.h:56: redefinition of `struct sockaddr_in' In file included from /usr/include/linux/in.h:120, from /usr/include/linux/ncp_fs.h:12, from ncplib.h:13, from ncpmount.c:43: /usr/include/asm/byteorder.h:22: conflicting types for `ntohl' /usr/include/netinet/in.h:198: previous declaration of `ntohl' /usr/include/asm/byteorder.h:24: conflicting types for `htonl' /usr/include/netinet/in.h:200: previous declaration of `htonl' make[1]: *** [ncpmount.o] Error 1
| |