willia4 / wsdl2objc

Automatically exported from code.google.com/p/wsdl2objc
MIT License
1 stars 0 forks source link

Can't seem to compile, linker errors #103

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Generated source files with 0.7 here, added the flags to the project settings, 
but when I try to compile I get the following linker errors:

Ld ../../build/Debug-iphonesimulator/Monitor-iPhone.app/Monitor-iPhone normal 
i386
cd /Users/cstromme/Projects/Monitor/src
setenv MACOSX_DEPLOYMENT_TARGET 10.6
setenv PATH 
"/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/
bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 -arch 
i386 -isysroot 
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.0.
sdk -L/Users/cstromme/Projects/Monitor/src/../../build/Debug-iphonesimulator 
-L/Users/cstromme/Projects/Monitor/src/../../Build/Debug-iphonesimulator 
-F/Users/cstromme/Projects/Monitor/src/../../build/Debug-iphonesimulator 
-filelist 
/Users/cstromme/Projects/Monitor/src/../../build/Monitor-iPhone.build/Debug-ipho
nesimulator/Monitor-iPhone.build/Objects-normal/i386/Monitor-iPhone.LinkFileList
 -mmacosx-version-min=10.6 -all_load -ObjC -Xlinker -objc_abi_version -Xlinker 
2 -framework Foundation -framework UIKit -framework CoreGraphics -framework 
QuartzCore 
/Users/cstromme/Projects/build/Debug-iphonesimulator/libCorePlot-CocoaTouch.a 
-framework CFNetwork -o 
/Users/cstromme/Projects/Monitor/src/../../build/Debug-iphonesimulator/Monitor-i
Phone.app/Monitor-iPhone

Undefined symbols:
  "_xmlAddChild", referenced from:
      -[BasicHttpBinding_ICapacityServiceContractBinding_envelope serializedFormUsingHeaderElements:bodyElements:] in CapacityServiceSvc.o
      -[BasicHttpBinding_ICapacityServiceContractBinding_envelope serializedFormUsingHeaderElements:bodyElements:] in CapacityServiceSvc.o
      -[BasicHttpBinding_ICapacityServiceContractBinding_envelope serializedFormUsingHeaderElements:bodyElements:] in CapacityServiceSvc.o
      -[BasicHttpBinding_ICapacityServiceContractBinding_envelope serializedFormUsingHeaderElements:bodyElements:] in CapacityServiceSvc.o
      -[tns1_GetLocationInformation addElementsToNode:] in tns1.o
     …
      +[SOAPFault deserializeNode:] in USAdditions.o
ld: symbol(s) not found
collect2: ld returned 1 exit status

So what's wrong here?

I'm on XCode 3.2.3, under 10.6.4 with Base SDK set to 4.0.

Original issue reported on code.google.com by christia...@gmail.com on 29 Jun 2010 at 10:04

GoogleCodeExporter commented 9 years ago
A little bit late answer but:

It seams like you haven't linked against the libxml2 library.
Please follow the instructions in the UsageInstructions page.

Original comment by pmilosev on 9 Mar 2011 at 6:51