PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Fehler beim kompilieren von vsftpd



H3nning
28.05.08, 09:34
morgen zusammen,

ich möchte einen vsftpd server (2.0.6) aufsetzen. Dazu verwende ich das tut der wikibooks (http://de.wikibooks.org/wiki/Linux-Kompendium:_Linux_als_FTP-Server).

Aber schon nach dem downloaden bekomm ich beim kompilieren der bin files einen fehler. Hab mich schon durch Foren mit dem selben Fehler durchgekämpft aber die kamen alle zu keiner Lösung. Nun versuche ich hier mal ne antwort zu bekommen :)


gcc -c main.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c utility.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c prelogin.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c ftpcmdio.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c postlogin.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c privsock.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c tunables.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c ftpdataio.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c secbuf.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c ls.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c postprivparent.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c logging.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c str.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c netstr.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c sysstr.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c strlist.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c banner.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c filestr.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c parseconf.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c secutil.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c ascii.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c oneprocess.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c twoprocess.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c privops.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c standalone.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c hash.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c tcpwrap.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c ipaddrparse.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c access.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c features.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c readwrite.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c opts.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c ssl.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c sysutil.c -O2 -Wall -W -Wshadow -idirafter dummyinc
sysutil.c: In function ‘vsf_sysutil_wait_exited_normally’:
sysutil.c:604: error: assignment of read-only member ‘__in’
sysutil.c: In function ‘vsf_sysutil_wait_get_exitcode’:
sysutil.c:614: error: assignment of read-only member ‘__in’
make: *** [sysutil.o] Fehler 1


ich benutze Debain 4.0r mit Kernel 2.6.18 und installiertem gcc 4.1

Wäre sehr dankbarwenn mir jemand sagen könnte wie ich den letzten Fehler mit der sysutil.o beheben kann.

Im vorraus schon mal danke =)

mfg
Henning

linuxjohnny
28.05.08, 10:14
Hi,

Ich würde dir empfehlen das vsftpd so zu installieren:

apt-get install vsftpd

Damit sollten keine Fehler auftreten und alle Abhängigkeiten werden automtisch aufgelöst

MFG
Kevin Haag

H3nning
28.05.08, 11:03
lol danke johnny, an apt-get hatte ich gar nicht mehr gedacht :D

habs nu so installiert und funktioniert einwandfrei =)

aber ne lösung für das oben beschriebene problem würde mich doch interessieren, weils anscheinend noch keiner gelöst hat o0

MiGo
28.05.08, 11:17
aber ne lösung für das oben beschriebene problem würde mich doch interessieren, weils anscheinend noch keiner gelöst hat o0
Dann poste mal die _vollständige_ Ausgabe der Fehlermeldung, inclusive Befehl, der dazu geführt hat :)

H3nning
28.05.08, 11:23
der befehl der es auslöst ist make ^^ und sonst gibt es keine weitere ausgaben ... der Fehler liegt aber ja wohl anscheinend irgendwo hier


sysutil.c: In function ‘vsf_sysutil_wait_exited_normally’:
sysutil.c:604: error: assignment of read-only member ‘__in’
sysutil.c: In function ‘vsf_sysutil_wait_get_exitcode’:
sysutil.c:614: error: assignment of read-only member ‘__in’
make: *** [sysutil.o] Fehler 1

auch im internet findet man (ich zumindest^^) nich so viele infos, was genau die sysutil.c bzw sysutil.o ist, macht oder ähnliches o0

marce
28.05.08, 11:40
dann hätten wir gerne noch ./configure ... u.s.w.

Und wenn wir hier vollständig schreiben - dann meinen wir das meist auch so.

drcux
28.05.08, 11:48
Bug im ggc 4.1

H3nning
28.05.08, 12:19
gab kein ./configure sondern nur direkt make ... so wie es im tut steht, ums nachzuvollziehen hab ich extra den link gepsotet, aber hauptsache ma dummen spruch gebracht marce . . .