* Problems Compiling SMBFS
@ 1999-01-27 5:00 Andrew C. Ohnstad
1999-02-02 5:00 ` Mike Parson
0 siblings, 1 reply; 5+ messages in thread
From: Andrew C. Ohnstad @ 1999-01-27 5:00 UTC (permalink / raw)
Trying to build smbfs on my Alpha Multia. Anybody have any idea what all
this means? Or are there SMBMOUNT binaries for Alpha? HELP!!!
[root@headunit smbfs-2.0.2]# make
for i in util man; do make -C $i; done
make[1]: Entering directory `/usr/local/src/smbfs-2.0.2/util'
gcc -O2 -DHAVE_KERNELD -DVERSION=\"2.0.2\" -Wall -c smbmount.c -o
smbmount.o
In file included from /usr/include/linux/net.h:23,
from /usr/include/linux/fs.h:15,
from smbmount.c:30:
/usr/include/linux/socket.h:38: warning: `SCM_RIGHTS' redefined
/usr/include/socketbits.h:222: warning: this is the location of the
previous definition
/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:82: warning: this is the location of the
previous definition
/usr/include/linux/socket.h:54: warning: `AF_UNIX' redefined
/usr/include/socketbits.h:84: warning: this is the location of the
previous definition
/usr/include/linux/socket.h:55: warning: `AF_INET' redefined
/usr/include/socketbits.h:86: warning: this is the location of the
previous definition
/usr/include/linux/socket.h:56: warning: `AF_AX25' redefined
/usr/include/socketbits.h:87: warning: this is the location of the
previous definition
/usr/include/linux/socket.h:57: warning: `AF_IPX' redefined
/usr/include/socketbits.h:88: warning: this is the location of the
previous definition
/usr/include/linux/socket.h:58: warning: `AF_APPLETALK' redefined
/usr/include/socketbits.h:89: warning: this is the location of the
previous definition
/usr/include/linux/socket.h:59: warning: `AF_NETROM' redefined
/usr/include/socketbits.h:90: warning: this is the location of the
previous definition
/usr/include/linux/socket.h:60: warning: `AF_BRIDGE' redefined
/usr/include/socketbits.h:91: warning: this is the location of the
previous definition
/usr/include/linux/socket.h:61: warning: `AF_AAL5' redefined
/usr/include/socketbits.h:92: warning: this is the location of the
previous definition
/usr/include/linux/socket.h:62: warning: `AF_X25' redefined
/usr/include/socketbits.h:93: warning: this is the location of the
previous definition
/usr/include/linux/socket.h:66: warning: `AF_ROSE' redefined
/usr/include/socketbits.h:95: warning: this is the location of the
previous definition
/usr/include/linux/socket.h:67: warning: `AF_MAX' redefined
/usr/include/socketbits.h:103: warning: this is the location of the
previous definition
/usr/include/linux/socket.h:68: warning: `AF_PACKET' redefined
/usr/include/socketbits.h:102: warning: this is the location of the
previous definition
/usr/include/linux/socket.h:71: warning: `PF_UNSPEC' redefined
/usr/include/socketbits.h:58: warning: this is the location of the
previous definition
/usr/include/linux/socket.h:72: warning: `PF_UNIX' redefined
/usr/include/socketbits.h:60: warning: this is the location of the
previous definition
/usr/include/linux/socket.h:73: warning: `PF_INET' redefined
/usr/include/socketbits.h:62: warning: this is the location of the
previous definition
/usr/include/linux/socket.h:74: warning: `PF_AX25' redefined
/usr/include/socketbits.h:63: warning: this is the location of the
previous definition
/usr/include/linux/socket.h:75: warning: `PF_IPX' redefined
/usr/include/socketbits.h:64: warning: this is the location of the
previous definition
/usr/include/linux/socket.h:76: warning: `PF_APPLETALK' redefined
/usr/include/socketbits.h:65: warning: this is the location of the
previous definition
/usr/include/linux/socket.h:77: warning: `PF_NETROM' redefined
/usr/include/socketbits.h:66: warning: this is the location of the
previous definition
/usr/include/linux/socket.h:78: warning: `PF_BRIDGE' redefined
/usr/include/socketbits.h:67: warning: this is the location of the
previous definition
/usr/include/linux/socket.h:79: warning: `PF_AAL5' redefined
/usr/include/socketbits.h:68: warning: this is the location of the
previous definition
/usr/include/linux/socket.h:80: warning: `PF_X25' redefined
/usr/include/socketbits.h:69: warning: this is the location of the
previous definition
/usr/include/linux/socket.h:84: warning: `PF_ROSE' redefined
/usr/include/socketbits.h:71: warning: this is the location of the
previous definition
/usr/include/linux/socket.h:85: warning: `PF_MAX' redefined
/usr/include/socketbits.h:79: warning: this is the location of the
previous definition
/usr/include/linux/socket.h:86: warning: `PF_PACKET' redefined
/usr/include/socketbits.h:78: warning: this is the location of the
previous definition
/usr/include/linux/socket.h:91: warning: `MSG_OOB' redefined
/usr/include/socketbits.h:137: warning: this is the location of the
previous definition
/usr/include/linux/socket.h:92: warning: `MSG_PEEK' redefined
/usr/include/socketbits.h:139: warning: this is the location of the
previous definition
/usr/include/linux/socket.h:93: warning: `MSG_DONTROUTE' redefined
/usr/include/socketbits.h:141: warning: this is the location of the
previous definition
/usr/include/linux/socket.h:95: warning: `MSG_PROXY' redefined
/usr/include/socketbits.h:145: warning: this is the location of the
previous definition
In file included from smbmount.c:30:
/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/smb_mount.h:12,
from smbmount.c:32:
/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
/usr/include/linux/in.h:114: warning: `INADDR_UNSPEC_GROUP' redefined
/usr/include/netinet/in.h:140: warning: this is the location of the
previous definition
/usr/include/linux/in.h:115: warning: `INADDR_ALLHOSTS_GROUP' redefined
/usr/include/netinet/in.h:141: warning: this is the location of the
previous definition
/usr/include/linux/in.h:116: warning: `INADDR_MAX_LOCAL_GROUP' redefined
/usr/include/netinet/in.h:143: 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 smbmount.c:30:
/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/smb_mount.h:12,
from smbmount.c:32:
/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/smb_mount.h:12,
from smbmount.c:32:
/usr/include/asm/byteorder.h:17: conflicting types for `ntohl'
/usr/include/netinet/in.h:204: previous declaration of `ntohl'
/usr/include/asm/byteorder.h:19: conflicting types for `htonl'
/usr/include/netinet/in.h:206: previous declaration of `htonl'
make[1]: *** [smbmount.o] Error 1
make[1]: Leaving directory `/usr/local/src/smbfs-2.0.2/util'
make[1]: Entering directory `/usr/local/src/smbfs-2.0.2/man'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/local/src/smbfs-2.0.2/man'
[root@headunit smbfs-2.0.2]#
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Problems Compiling SMBFS
1999-01-27 5:00 Problems Compiling SMBFS Andrew C. Ohnstad
@ 1999-02-02 5:00 ` Mike Parson
1999-02-02 5:00 ` Andy Isaacson
1999-02-03 5:00 ` Ian Tester
0 siblings, 2 replies; 5+ messages in thread
From: Mike Parson @ 1999-02-02 5:00 UTC (permalink / raw)
In article <MPG.1118ab6727b4cfac989682@news.erols.com>,
Andrew C. Ohnstad <andy@andysaudio.com> wrote:
> Trying to build smbfs on my Alpha Multia. Anybody have any idea what all
> this means? Or are there SMBMOUNT binaries for Alpha? HELP!!!
From what I remember, smbmount is only avail on x86 platforms, sorry.
--
Michael Parson
mparson@bl.org
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Problems Compiling SMBFS
1999-02-02 5:00 ` Mike Parson
@ 1999-02-02 5:00 ` Andy Isaacson
1999-02-03 5:00 ` Ian Tester
1 sibling, 0 replies; 5+ messages in thread
From: Andy Isaacson @ 1999-02-02 5:00 UTC (permalink / raw)
In article <7976lg$aeu$1@blarg.bl.org>, Mike Parson wrote:
>In article <MPG.1118ab6727b4cfac989682@news.erols.com>,
>Andrew C. Ohnstad <andy@andysaudio.com> wrote:
>> Trying to build smbfs on my Alpha Multia. Anybody have any idea what all
>> this means? Or are there SMBMOUNT binaries for Alpha? HELP!!!
>
>From what I remember, smbmount is only avail on x86 platforms, sorry.
Um, no. smbmount certainly is available for Alpha. On Debian, it's
in the smbfs package.
The original poster probably has corrupted include files somehow. It
looks like a conflict between sockbits.h and sys/socket.h; he should
look around using RPM to find out which packages those came from...
-andy
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Problems Compiling SMBFS
1999-02-02 5:00 ` Mike Parson
1999-02-02 5:00 ` Andy Isaacson
@ 1999-02-03 5:00 ` Ian Tester
1999-02-04 5:00 ` Mike Parson
1 sibling, 1 reply; 5+ messages in thread
From: Ian Tester @ 1999-02-03 5:00 UTC (permalink / raw)
On 2 Feb 1999, Mike Parson wrote:
> In article <MPG.1118ab6727b4cfac989682@news.erols.com>,
> Andrew C. Ohnstad <andy@andysaudio.com> wrote:
> > Trying to build smbfs on my Alpha Multia. Anybody have any idea what all
> > this means? Or are there SMBMOUNT binaries for Alpha? HELP!!!
>
> From what I remember, smbmount is only avail on x86 platforms, sorry.
really?? I know you could get the source somewhere. hmmm...
With the 2.1/2.2 kernels the smbmount/smbmnt programs are in the later
versions of Samba. I think you just have to make a slight adjustment to
the Makefile, or it might be automatic if the kernel headers are after a
certain version. Then just 'make' and they will be built with the rest of
Samba.
bye
--
8<--------8<--------8<--------8<--------8<--------8<--------8<--------
ian@imroy.ddns.org \7\ LINUX: because geeks \7\ Ian Tester
http://www.imroy.ddns.org/ \7\ will find a way \7\ *8)#
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Problems Compiling SMBFS
1999-02-03 5:00 ` Ian Tester
@ 1999-02-04 5:00 ` Mike Parson
0 siblings, 0 replies; 5+ messages in thread
From: Mike Parson @ 1999-02-04 5:00 UTC (permalink / raw)
In article <Pine.LNX.4.03.9902031448451.24421-100000@callisto.stone.oz.au>,
Ian Tester <ian@stonemicro.com.au> wrote:
>On 2 Feb 1999, Mike Parson wrote:
>
>> In article <MPG.1118ab6727b4cfac989682@news.erols.com>,
>> Andrew C. Ohnstad <andy@andysaudio.com> wrote:
>> > Trying to build smbfs on my Alpha Multia. Anybody have any idea what all
>> > this means? Or are there SMBMOUNT binaries for Alpha? HELP!!!
>>
>> From what I remember, smbmount is only avail on x86 platforms, sorry.
>
> really?? I know you could get the source somewhere. hmmm...
Well, i've already been criticized for this by others, but I'm basing
this on the fact that the SRPM for smbfs from redhat lists i386 as an
exclusive arch for building and that prior attemps by myself to get this
to build under alpha and m68k failed miserably. Then again, it has been
quite some time since I've tried. At this time, I no longer have an alpha
box to test it on (working on correcting this) and my m68k is offline.
> With the 2.1/2.2 kernels the smbmount/smbmnt programs are in the later
> versions of Samba. I think you just have to make a slight adjustment to
> the Makefile, or it might be automatic if the kernel headers are after a
> certain version. Then just 'make' and they will be built with the rest of
> Samba.
I'll have to give it another run.
--
Michael Parson
mparson@bl.org
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~1999-02-04 5:00 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-01-27 5:00 Problems Compiling SMBFS Andrew C. Ohnstad
1999-02-02 5:00 ` Mike Parson
1999-02-02 5:00 ` Andy Isaacson
1999-02-03 5:00 ` Ian Tester
1999-02-04 5:00 ` Mike Parson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox