[uClibc] How to compile a ftp-server?

Maruu vergiss-es at gmx.de
Sat Nov 6 15:14:02 UTC 2004


Hi!

I´m new in compiling packages with uClib and so I have a few questions.
I have router with a mips processor and so I use the toolchain uClibs for
the mipsel architecture. The only thing I´ve compiled successfully until now
is the mini_httpd. But I wanna compile a few more things like an ftpd
or an ssh client.
But if I trie to compile for example vsftpd it fails.
Vsftpd only need a make (without a./configure) but it diddn´t work.
The following error occures:

linux:~/downloads/vsftpd-2.0.1 # make
/root/toolchain/gcc-3.3.x/toolchain_mipsel/bin/mipsel-linux-gcc -o vsftpd
main.o utility.o prelogin.o ftpcmdio.o postlogin.o privsock.o tunables.o
ftpdataio.o secbuf.o ls.o postprivparent.o logging.o str.o netstr.o sysstr.o
strlist.o banner.o filestr.o parseconf.o secutil.o ascii.o oneprocess.o
twoprocess.o privops.o standalone.o hash.o tcpwrap.o ipv6parse.o access.o
features.o readwrite.o ssl.o sysutil.o sysdeputil.o -Wl,-s
`./vsf_findlibs.sh`
/lib/libcap.so.1: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make: *** [vsftpd] Error 1

I have the environmet variable CC exportet to
/root/toolchain/gcc-3.3.x/toolchain_mipsel/bin/mipsel-linux-gcc is that OK??
Other packages like openssh fail at ./configure the error is like
"checking compiler and flags for sanity... configure: error: cannot run test
program while cross compiling"

Now I don´t know what to do.
Could you help me??

Greets

Maruu





More information about the uClibc mailing list