axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ritu gaud <urvashi_g...@yahoo.co.in>
Subject Re: hello
Date Wed, 24 Jan 2007 08:02:57 GMT
hello,
  i downloaded the VC2005 Express Edition and set all the library and home path correctly,
still i hv a problem while linking, same errors are persisting.
  is there any other settings also?
  which source file u compiled and linkd to generate .exe, i tried both echo.c and math.c,
hv u made any changes to code?
  plz guide me.

  thank you,
  Urvashi.
   
  
Nabeel Yoosuf <nabeel.yoosuf@gmail.com> wrote:
  

  On 1/16/07, ritu gaud <urvashi_gaud@yahoo.co.in> wrote:    hello,
   thank u very much for ur such useful help, bt i got stucked again,
  i am trying to run math.c (math_skeleton.c, math.h) to generate math.exe, bt this project
get compiled successfully, bt while linking gvs me errors like 
   
  math.obj : error LNK2001: unresolved external symbol __imp__axiom_text_create@16 

  math.obj : error LNK2001: unresolved external symbol __imp__axiom_element_create@20 

  math.obj : error LNK2001: unresolved external symbol __imp__axiom_namespace_create@12 

  math_skeleton.obj : error LNK2001: unresolved external symbol __imp__axis2_array_list_create@8


  math_skeleton.obj : error LNK2001: unresolved external symbol __imp__axis2_strcmp@8

  LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Debug/math.exe : fatal error LNK1120: 6 unresolved externals
Error executing link.exe.
  math.exe - 7 error(s), 0 warning(s) 
   
  hv u tried to generate exe? which file shud i include in vc++ project, to remove above linking
errors?
  
According to the errors, vc++ cannot find the axiom and util libraries. It seems that either
path to axis2 lib is incorrect or not set. In the vc project check whether you have set the
library path to $AXIS2C_FOLDER/lib. 

Nabeel.

PS. I am using VC 2005 Express edition, which is available free of charge.


    thank you.
   
  Urvashi
    
 
  
Nabeel Yoosuf < nabeel.yoosuf@gmail.com> wrote:
  Hi,

If you are using the 0.96 binary distribution, for the time being you can compile in Linux/Windows
with the following steps. (Windows bin release does not provide assistance on building samples
yet, I'll file a JIRA for you.) 

In Windows [vc project]
==================
download and extract mathvc.zip from [1] to $AXIS2C_FOLDER/samples/client
you'll need to set include path to $AXIS2C_FOLDER/include and set path to other required libraries
listed in the installation guide 

This will place the math.exe file inside Debug folder

In Windows [with nmake]
===================
download and extract build.zip from [1] to $AXIS2C_FOLDER
you'll need to update $AXIS2C_FOLDER/build/win32/configure.in 

vcvars32.bat
nmake axis2_client_math

This will place math.exe in $AXIS2C_FOLDER/bin/samples

In Linux
======
cd $AXIS2C_FOLDER/samples
./configure

This will create the Makefile for each sample. 

cd client/math
make

If you are using Windows src distribution, there are VC projects under ide section.

HTH,
Nabeel.
[1] http://people.apache.org/~nabeel/axis2c/tmp/ 

  On 1/15/07, ritu gaud <urvashi_gaud@yahoo.co.in > wrote:   hello,
  can plz anyone guide me, how the 
   
  axis2_math_stub.c , 
  math_client.c , 
  math_skeleton.c and
  math.c  
   
  files are used to generate the final exe i.e math.exe ?
   
  thank you. 
   
  Urvashi     
---------------------------------
  Here's a new way to find what you're looking for - Yahoo! Answers   




  
  
---------------------------------
  Here's a new way to find what you're looking for - Yahoo! Answers   





 				
---------------------------------
 Here’s a new way to find what you're looking for - Yahoo! Answers 
Mime
View raw message