[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Samba 2.0.6 compiling error



On Wed, Mar 29, 2000 at 01:54:08PM -0500, Siuling Zhang wrote:
: 
: I am using Qube2 and installed "All-Kernel_mips_1.0.pkg" and
: "All-Kernel_mips_tools-1.0.pkg".
: I tried to build samba 2.0.6 using Redhat samba-2.0.6-9.src.rpm. In the
: middle of the build, I got:

Samba 2.0.6 really needs a 2.2 kernel to compile/work properly.  This make
sure of some new features available in the newer kernels.  I'm pretty sure
that state that on their site some where.  All there errors you are 
getting suggested that there is a type they are looking for that that
current kernel (which is where /usr/include/asm is, a symolic link to 
/usr/src/linux/include/asm-mips).
 
: Compiling client/smbmnt.c
: In file included from client/smbmnt.c:14:
: /usr/include/asm/posix_types.h:50: parse error before `__kernel_fd_set'
: /usr/include/asm/posix_types.h: In function `__FD_SET':
: /usr/include/asm/posix_types.h:52: `__fd' undeclared (first use this
: function)
: /usr/include/asm/posix_types.h:52: (Each undeclared identifier is
: reported only once
: /usr/include/asm/posix_types.h:52: for each function it appears in.)
: /usr/include/asm/posix_types.h:54: `__fdsetp' undeclared (first use this
: function)
: /usr/include/asm/posix_types.h: At top level:
: /usr/include/asm/posix_types.h:58: parse error before `__kernel_fd_set'
: /usr/include/asm/posix_types.h: In function `__FD_CLR':
: /usr/include/asm/posix_types.h:60: `__fd' undeclared (first use this
: function)
: /usr/include/asm/posix_types.h:62: `__fdsetp' undeclared (first use this
: function)
: /usr/include/asm/posix_types.h: At top level:
: /usr/include/asm/posix_types.h:66: parse error before `*'
: /usr/include/asm/posix_types.h: In function `__FD_ISSET':
: /usr/include/asm/posix_types.h:68: `__fd' undeclared (first use this
: function)
: /usr/include/asm/posix_types.h:70: `__p' undeclared (first use this
: function)
: /usr/include/asm/posix_types.h: At top level:
: /usr/include/asm/posix_types.h:78: parse error before `*'
: /usr/include/asm/posix_types.h: In function `__FD_ZERO':
: /usr/include/asm/posix_types.h:80: `__p' undeclared (first use this
: function)
: /usr/include/asm/posix_types.h:83: `__FDSET_LONGS' undeclared (first use
: this function)
: make: *** [client/smbmnt.o] Error 1
: Bad exit status from /var/tmp/rpm-tmp.81606 (%build)
: 
: Any idea how to fix this?
: 
: Thank,
: Siuling
: 
: _______________________________________________
: cobalt-users mailing list
: cobalt-users@xxxxxxxxxxxxxxx
: To Subscribe or Unsubscribe, please go to:
: http://list.cobalt.com/mailman/listinfo/cobalt-users
: 

-- 
Mat Kovach                                      mkovach@xxxxxxxxxxxxxxxxx
Cleveland Linux User Group                       http://cleveland.lug.net