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

Re: proftpd problems...



On Tue, Feb 11, 2003 at 10:40:09AM -0800, David Mosberger wrote:
> >>>>> On Tue, 11 Feb 2003 09:54:02 -0700, Bdale Garbee <bdale@gag.com> said:
> 
>   Bdale> ../../contrib/libcap/libcap.a(cap_sys.o)(.text+0x22): In
>   Bdale> function `capget': : undefined reference to `__ia64_syscall'
>   Bdale> ../../contrib/libcap/libcap.a(cap_sys.o)(.text+0x72): In
>   Bdale> function `capset': : undefined reference to `__ia64_syscall'
>   Bdale> collect2: ld returned 1 exit status make[1]: *** [proftpd]
>   Bdale> Error 1
> 
> Argh, another one of these.  Please use syscall(3) as declared by
> <unistd.h> to make system calls for which there is no existing stub.
> That's the _only_ portable way of doing it.
> 
> 	--david

Oh, I see... current stable proftpd release includes an old libcap snapshot.
This is obviuously an obsolete code (used with 2.1 kernel).
I'll check if it can be linked against current libcap1.
That old lib calls an obsolete (?) _syscall2() to point capget() and
capset() syscalls, which are now commonly defined.
Quite interesting example of archeologic coding... :)

-- 
Francesco P. Lovergine



Reply to: