Linking error with vsftpd
I'm trying to build vsftpd, and I have downloaded version 2.0.4 on SUSE linux 10.1. gcc -c access.c -O2 -g -fmessage-length=0 -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fPIE -fstack-protector -idirafter dummyinc gcc -c features.c -O2 -g -fmessage-length=0 -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fPIE -fstack-protector -idirafter dummyinc gcc -c readwrite.c -O2 -g -fmessage-length=0 -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fPIE -fstack-protector -idirafter dummyinc gcc -c ssl.c -O2 -g -fmessage-length=0 -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fPIE -fstack-protector -idirafter dummyinc gcc -c sysutil.c -O2 -g -fmessage-length=0 -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fPIE -fstack-protector -idirafter dummyinc sysutil.c: In function âvsf_sysutil_connect_timeoutâ: sysutil.c:1744: warning: pointer targets in passing argument 5 of âgetsockoptâ differ in signedness gcc -c sysdeputil.c -O2 -g -fmessage-length=0 -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fPIE -fstack-protector -idirafter dummyinc 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 ipaddrparse.o access.o features.o readwrite.o ssl.o sysutil.o sysdeputil.o-Wl,-s `./vsf_findlibs.sh` -pie /lib/libpam.so.0: could not read symbols: File in wrong format collect2: ld returned 1 exit status make: *** [vsftpd] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.97854 (%build) It seems to me that there is some trouble reading symbols defined in libpam - but why? thnaks Naveen.P
On Wednesday 17 May 2006 02:14, naveen penumala wrote:
I'm trying to build vsftpd, and I have downloaded version 2.0.4 on SUSE linux 10.1.
Hi Naveen, I'm wondering why you are compiling vsftpd when an rpm package is part of the 10.1 base distribution? Also, why this question on suse-autoinstall? regards, Carl
participants (2)
-
Carl Hartung
-
naveen penumala