Hi again,

    For me it's kind of weird that I have to add that to a file that's 
generated during compiling... Shouldn't that include be made 
automatically during the compiling process? And by the way, that file is 
a link to another file, ./stdsoap2.cpp.

    Well, whatever. If I add the line


    #include <stdlib.h>

    to the top of stdsoap2_cpp.cpp and then run make, besides lots of 
other things, it appears this


    /bin/bash: ../../gsoap/src/soapcpp2: cannot execute binary file

    which for me makes sense, since I'm generating a binary file for the 
MIPSEL architecture and not for my computer's architecture. To confirm 
that, I've copied that file to the router and tried to run it and it 
apparently works fine. I've attached the output of the make command in 
the make_output.txt file.

    Again, thanks a lot for trying to help me.

    Cheers,


    Nuno



Adam Nielsen wrote:
>  
>
> > Again, thanks for your help Adam! =) I already had used both my GCC
> > compiler and the cross compilation tool compiler (not the
> > mipsel-linux-uclibc-gcc but the mipsel-linux-gcc, maybe they are 
> exactly
> > the same, I don't know) without any problems. Still, I tried what you
> > suggested and everything worked fine, without any problems. So I really
> > don't know what to do to solve this.
>
> Hmm, well in that case what happens if you add
>
> #include <stdlib.h>
>
> to the top of stdsoap2_cpp.cpp? It seems that the function hasn't been
> declared, but if that test program worked then the definition is
> definitely in stdlib.h!
>
> Cheers,
> Adam.
>
> 

Reply via email to