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

[cobalt-users] Samba 2.0.6 compiling error



Hello,

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:

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