PDA

View Full Version : can not compile p-zs


filtre
11-07-2004, 04:49 AM
hello,

its imposible to compile p-zs for me.
the installier says : P-ZS has problems during compiling. but postdel p-ps error logs are emtpy. if i try to compile it manualy i get : NMAKE : U1077: 'cl.exe' : Rueckgabe-Code '0x2'
Stop.
postdel ... done!
NMAKE : U1077: 'cl.exe' : Rueckgabe-Code '0x2'
Stop.
projectzs ... done!

can somehelp help me ?

esmandil
11-07-2004, 09:08 AM
Yes.

But not before you give us some more information... the very minimum being which compiler are you using.

If you are looking for a suggestion, use Borland one. I have used it successfully, without problems.

JoSh
11-08-2004, 10:34 AM
It works fine with Dev C++ too , who is a free software :)

filtre
11-10-2004, 06:31 PM
thx for your posts.

i tried borland, vs6 and vs .net.
with every compiler i get errors.

if i create a new project in vs6 and add the main.cpp i get the following errors main.obj : error LNK2001: Nichtaufgeloestes externes Symbol __imp__send@16
main.obj : error LNK2001: Nichtaufgeloestes externes Symbol __imp__closesocket@4
main.obj : error LNK2001: Nichtaufgeloestes externes Symbol __imp__recv@16
main.obj : error LNK2001: Nichtaufgeloestes externes Symbol __imp__connect@12
main.obj : error LNK2001: Nichtaufgeloestes externes Symbol __imp__htons@4
main.obj : error LNK2001: Nichtaufgeloestes externes Symbol __imp__gethostbyname@4
main.obj : error LNK2001: Nichtaufgeloestes externes Symbol __imp__socket@12
main.obj : error LNK2001: Nichtaufgeloestes externes Symbol __imp__WSAStartup@8
Debug/g.exe : fatal error LNK1120: 8 unaufgeloeste externe Verweise

neoxed
11-10-2004, 06:59 PM
Those are WinSock functions, link with ws2_32.lib.

filtre
11-12-2004, 06:45 PM
thx so far :)

i finally got it and the projectzs.exe works fine. my only problem now is the postdel.exe. i compiled its without problems. but when i start it the following error appears
Die Anweisung in "0x7c9112b4" verweist auf Speicher in "0x00000005". Der Vorgang "read" konnte nicht auf dem Speicher durchgeführt werden.

neoxed
11-13-2004, 04:13 AM
It's supposed to be started by ioFTPD (since it requires certain parameters and environment variables), not by you.

filtre
11-13-2004, 06:13 AM
Originally posted by NeoXed
It's supposed to be started by ioFTPD (since it requires certain parameters and environment variables), not by you.

right but even if ioftpd starts it the error appears

caladan
12-14-2004, 05:31 PM
borland prob .. use VS

wrycat_2
02-14-2005, 01:24 AM
Originally posted by NeoXed
Those are WinSock functions, link with ws2_32.lib. please tell me how to do this. what settings do i have to change in VS2003?

caladan
02-16-2005, 09:16 AM
not sure if its generally doable in vs2003 without a bit knowledge.

basicly i would open the .sln file with vs2003 ... convert the project and press f5 to compile. u now should have an .exe file in the release folder or debug folder