Re: vsftpd was Re: Upgrade to Linux-2.6.18

2006-10-19 Thread Dan Nicholson
On 9/28/06, Jim Gifford <[EMAIL PROTECTED]> wrote: Found the second on besides Dan's util-linux one. Vsftpd, caused by the syscalls being removed from unistd.h, anyone got any ideas. gcc -m64 -c sysdeputil.c -O2 -Wall -W -Wshadow -idirafter dummyinc sysdeputil.c:162: error: expected declaration

Re: vsftpd was Re: Upgrade to Linux-2.6.18

2006-10-19 Thread Jim Gifford
I actually talked with the Linux MIPS guys and they gave me some ideas, I came up with this patch and so far it seems to do the job. http://svn.cross-lfs.org/svn/repos/patches/vsftpd/vsftpd-2.0.5-syscall-1.patch -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfroms

Re: vsftpd was Re: Upgrade to Linux-2.6.18

2006-10-19 Thread Dan Nicholson
On 10/19/06, Jim Gifford <[EMAIL PROTECTED]> wrote: I actually talked with the Linux MIPS guys and they gave me some ideas, I came up with this patch and so far it seems to do the job. http://svn.cross-lfs.org/svn/repos/patches/vsftpd/vsftpd-2.0.5-syscall-1.patch Interesting. I did a bit of go

Re: vsftpd was Re: Upgrade to Linux-2.6.18

2006-10-19 Thread Dan Nicholson
On 10/19/06, Dan Nicholson <[EMAIL PROTECTED]> wrote: On 9/28/06, Jim Gifford <[EMAIL PROTECTED]> wrote: > Found the second on besides Dan's util-linux one. Vsftpd, caused by the > syscalls being removed from unistd.h, anyone got any ideas. > gcc -m64 -c sysdeputil.c -O2 -Wall -W -Wshadow -idir

Re: vsftpd was Re: Upgrade to Linux-2.6.18

2006-10-19 Thread Dan Nicholson
On 10/19/06, Dan Nicholson <[EMAIL PROTECTED]> wrote: Testing out my minimal C skills, I came up with the attached patch. It built for me, but I don't have a system with the new headers to test against. YMMV. That patch was bad. capset needs to be defined so that the libcap implementation can