Coder Social home page Coder Social logo

Comments (13)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 21, 2024
Ditto.

Original comment by [email protected] on 16 Mar 2012 at 9:50

from ratproxy.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 21, 2024
fanronal...
How do you solve the compiler incompatible waitpid problem?
Best regards

Original comment by [email protected] on 16 Apr 2012 at 7:35

from ratproxy.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 21, 2024
matth...
do you solve this problem?
Help me please!!!

Original comment by [email protected] on 16 Apr 2012 at 7:38

from ratproxy.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 21, 2024
I switched from Windows to Mac OSX Lion at work so I'm no longer having this 
issue.

Original comment by [email protected] on 16 Apr 2012 at 8:09

from ratproxy.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 21, 2024
I switched to using VM - Back Track 5 --> it's already included ;)

Original comment by [email protected] on 17 Apr 2012 at 12:40

from ratproxy.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 21, 2024
I have the same problem. Is there a way to solve it?

Original comment by [email protected] on 9 May 2012 at 12:32

from ratproxy.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 21, 2024
[deleted comment]

from ratproxy.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 21, 2024
I have the same problem - the end of my make is:

config.h:209:3: warning: pointer targets in initialization differ in signedness
Makefile:29: recipe for target `ratproxy' failed
make: *** [ratproxy] Error 1

Ideas to resolve will be MOST appreciated!

Original comment by [email protected] on 17 May 2012 at 7:57

from ratproxy.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 21, 2024
I am preparing for a SANS-642 class where the chaining of Ratproxy and Burp are 
discussed; but I am having the same issue when I try to compile Ratproxy 
through Cygwin.  I would like to stick with the Windows environment since that 
will mirror what is used in class.  Here is the complete error:

$ make
cc ratproxy.c -o ratproxy  -Wall -O3 -D_GNU_SOURCE http.c mime.c ssl.c -lcrypto 
-lssl
ratproxy.c: In function `listen_loop':
ratproxy.c:1635: error: incompatible type for argument 2 of `waitpid'
Makefile:29: recipe for target `ratproxy' failed
make: *** [ratproxy] Error 1

Original comment by [email protected] on 18 May 2012 at 4:54

from ratproxy.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 21, 2024
A couple of things I have tried during the day; but I'm still stuck with the 
same error.  First I tried compiling on a WinXP system thinking it may be an 
issue with Windows 7...same error.  Then I downloaded a deprecated, older 
version of ratproxy (V.1.53 rather than the latest V.1.58) but I still have the 
same problem.

Original comment by [email protected] on 19 May 2012 at 4:03

from ratproxy.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 21, 2024
I commented out Line 1635 in ratproxy.c for the waitpid problem, as I don't 
think that would cause any isssues.
Replace -->     while (waitpid(-1,&x,WNOHANG) > 0);
With    -->  /* while (waitpid(-1,&x,WNOHANG) > 0); */

This solved the issue for me, and now I'm able to use ratproxy with no issues.

However, solution to RESOLVE this would be most appreciated !!

Original comment by [email protected] on 9 Jun 2012 at 4:04

from ratproxy.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 21, 2024
in ratproxy.c replace line: while (waitpid(-1,&x,WNOHANG) > 0);
with line: while (waitpid(-1,(int*)&x,WNOHANG) > 0);

Good luck !

Original comment by [email protected] on 6 Jul 2012 at 3:56

from ratproxy.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 21, 2024
in ratproxy.c replace line: while (waitpid(-1,&x,WNOHANG) > 0);
with line: while (waitpid(-1,(int*)&x,WNOHANG) > 0);


This solved the issue

Original comment by [email protected] on 7 Nov 2014 at 8:56

from ratproxy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.