Re: [Axis2]Compilation and Linkedition problem

2006-07-18 Thread João Carlos Bortoletto
Hello Friends,    I tried to export dlls to .a (mingw) doing the following:---    pexports axiom.dll > axiomdll.defdlltool --input-def axiomdll.def --dllname axiom.dll -l libaxiom.a -kranlib libaxiom.a-

Re: [Axis2]Compilation and Linkedition problem

2006-07-14 Thread Samisa Abeysinghe
The error basically suggests that you do not have the util, axiom and engine libs on your path. Does your %LIB_DIR% contain the path to these libs? Also, give that you are using gcc on windows, you must have build this from source. How did the build go? Thanks, Samisa... João Carlos Bortolet

Re: [Axis2]Compilation and Linkedition problem

2006-07-14 Thread João Carlos Bortoletto
Hi Samisa,    Thanks for your reply.    I tried to execute again following your instructions. The compiler returned the same message:    --    D:\work\project\src\test>gcc -o echo -B %INC_DIR% echo.c -L %LIB_DIR% -laxiom  -laxis2_engine  -laxis2_http_receiver  -laxis2_h

Re: [Axis2]Compilation and Linkedition problem

2006-07-14 Thread Samisa Abeysinghe
Looks like you have not linked the libs correctly. You have to use -L{path to libs} -laxis2_util -laxis2_axiom -laxis2_wsdl -laxis2_engine -laxis2_parser -lpthread -lwoden -laxis2_xml_schema -laxis2_http_sender -laxis2_http_receiver -lxml2 -lpthread -lz -lm -ldl when linking. You have to re

Compilation and Linkedition problem

2006-07-14 Thread João Carlos Bortoletto
Hi friends,    I'm new in C/C++ programming language. I was trying to compile the simple example "echo.c" using gcc under mingw (win32).    Compilation was successful (gcc -c), but when I try to link (generate .exe) I receive the following messages:         C:\DOCUME~1\JBORTO~1\CONFIG~1\Temp/ccW2ba