Old 11-07-2004, 04:49 AM   #1
filtre
Junior Member
 
Join Date: Feb 2004
Posts: 18
Default can not compile p-zs

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 :
Quote:
NMAKE : U1077: 'cl.exe' : Rueckgabe-Code '0x2'
Stop.
postdel ... done!
NMAKE : U1077: 'cl.exe' : Rueckgabe-Code '0x2'
Stop.
projectzs ... done!
can somehelp help me ?
filtre is offline   Reply With Quote
Old 11-07-2004, 09:08 AM   #2
esmandil
Senior Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Oct 2004
Posts: 107
Default

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.
esmandil is offline   Reply With Quote
Old 11-08-2004, 10:34 AM   #3
JoSh
Junior Member
 
Join Date: Nov 2004
Posts: 4
Default

It works fine with Dev C++ too , who is a free software
JoSh is offline   Reply With Quote
Old 11-10-2004, 06:31 PM   #4
filtre
Junior Member
 
Join Date: Feb 2004
Posts: 18
Default

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
Quote:
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
filtre is offline   Reply With Quote
Old 11-10-2004, 06:59 PM   #5
neoxed
Too much time...
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: May 2003
Posts: 1,326
Default

Those are WinSock functions, link with ws2_32.lib.
neoxed is offline   Reply With Quote
Old 11-12-2004, 06:45 PM   #6
filtre
Junior Member
 
Join Date: Feb 2004
Posts: 18
Default

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
Quote:
Die Anweisung in "0x7c9112b4" verweist auf Speicher in "0x00000005". Der Vorgang "read" konnte nicht auf dem Speicher durchgeführt werden.
filtre is offline   Reply With Quote
Old 11-13-2004, 04:13 AM   #7
neoxed
Too much time...
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: May 2003
Posts: 1,326
Default

It's supposed to be started by ioFTPD (since it requires certain parameters and environment variables), not by you.
neoxed is offline   Reply With Quote
Old 11-13-2004, 06:13 AM   #8
filtre
Junior Member
 
Join Date: Feb 2004
Posts: 18
Default

Quote:
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
filtre is offline   Reply With Quote
Old 12-14-2004, 05:31 PM   #9
caladan
Senior Member
ioFTPD Scripter
 
Join Date: Jan 2003
Posts: 179
Default

borland prob .. use VS
caladan is offline   Reply With Quote
Old 02-14-2005, 01:24 AM   #10
wrycat_2
Member
 
Join Date: Feb 2003
Posts: 60
Default

Quote:
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?
wrycat_2 is offline   Reply With Quote
Old 02-16-2005, 09:16 AM   #11
caladan
Senior Member
ioFTPD Scripter
 
Join Date: Jan 2003
Posts: 179
Default

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
caladan is offline   Reply With Quote
Reply

Tags
cl.exe, compile, nmake, p-zs, u1077

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 11:56 PM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)