My favorites | Sign in
Project Home
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 21: Problems building TouchXML
2 people starred this issue and may be notified of changes. Back to list
Status:  Invalid
Owner:  ----
Closed:  Aug 2008


 
Reported by iamjedik...@gmail.com, Aug 2, 2008
Hi,

I am attempting to build TouchXML for use in an iPhone project.  First of all I copied the source 
files into a subdirectory of my project.   

First attempt to build it couldn't find tree.h so I updated the header search path for my project.  
However now I am getting about 16 linkage errors.  Here are the errors:

Building target “Table” of project “iPhone-Sandbox” with configuration “Debug” — (16 errors)
	    cd /Users/scott/sandbox/iphone/iPhone-Sandbox
    /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.0 -arch i386 -
isysroot 
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator2.0.sdk -
L/Users/scott/sandbox/iphone/iPhone-Sandbox/build/Debug-iphonesimulator -
L/Users/scott/sandbox/iphone/iPhone-Sandbox -F/Users/scott/sandbox/iphone/iPhone-
Sandbox/build/Debug-iphonesimulator -F/Volumes/JSON_2.0.1 -
F/Users/scott/sandbox/iphone/iPhone-Sandbox -filelist /Users/scott/sandbox/iphone/iPhone-
Sandbox/build/iPhone-Sandbox.build/Debug-iphonesimulator/Table.build/Objects-
normal/i386/Table.LinkFileList -mmacosx-version-min=10.5 -framework Foundation -
framework UIKit -framework CoreGraphics -lsqlite3.0 -o /Users/scott/sandbox/iphone/iPhone-
Sandbox/build/Debug-iphonesimulator/Table.app/Table
Undefined symbols:
  "_htmlFreeParserCtxt", referenced from:
      -[CXMLDocument initWithXMLString:options:error:] in CXMLDocument.o
  "_xmlXPathNewContext", referenced from:
      -[CXMLNode nodesForXPath:error:] in CXMLNode.o
      -[CXMLNode(CXMLNode_NamespaceExtensions) nodesForXPath:namespaceMappings:error:] 
in CXMLNode_XPathExtensions.o
  "_htmlCreateMemoryParserCtxt", referenced from:
      -[CXMLDocument initWithXMLString:options:error:] in CXMLDocument.o
  "_xmlParseDoc", referenced from:
      -[CXMLDocument initWithXMLString:options:error:] in CXMLDocument.o
  "_htmlParseDocument", referenced from:
      -[CXMLDocument initWithXMLString:options:error:] in CXMLDocument.o
  "_xmlFreeDoc", referenced from:
      -[CXMLDocument dealloc] in CXMLDocument.o
  "_xmlXPathFreeObject", referenced from:
      -[CXMLNode nodesForXPath:error:] in CXMLNode.o
      -[CXMLNode(CXMLNode_NamespaceExtensions) nodesForXPath:namespaceMappings:error:] 
in CXMLNode_XPathExtensions.o
  "_xmlParseMemory", referenced from:
      -[CXMLDocument initWithData:options:error:] in CXMLDocument.o
  "_xmlNodeListGetString", referenced from:
      -[CXMLNode stringValue] in CXMLNode.o
  "_xmlXPathRegisterNs", referenced from:
      -[CXMLNode(CXMLNode_NamespaceExtensions) nodesForXPath:namespaceMappings:error:] 
in CXMLNode_XPathExtensions.o
  "_xmlFree", referenced from:
      _xmlFree$non_lazy_ptr in CXMLNode.o
  "_xmlDocGetRootElement", referenced from:
      -[CXMLDocument rootElement] in CXMLDocument.o
  "_xmlXPathFreeContext", referenced from:
      -[CXMLNode nodesForXPath:error:] in CXMLNode.o
      -[CXMLNode(CXMLNode_NamespaceExtensions) nodesForXPath:namespaceMappings:error:] 
in CXMLNode_XPathExtensions.o
  "_xmlStrcmp", referenced from:
      -[CXMLElement elementsForName:] in CXMLElement.o
      -[CXMLElement attributeForName:] in CXMLElement.o
  "_xmlStrlen", referenced from:
      -[CXMLDocument initWithXMLString:options:error:] in CXMLDocument.o
  "_xmlXPathEvalExpression", referenced from:
      -[CXMLNode nodesForXPath:error:] in CXMLNode.o
      -[CXMLNode(CXMLNode_NamespaceExtensions) nodesForXPath:namespaceMappings:error:] 
in CXMLNode_XPathExtensions.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
		  "_htmlFreeParserCtxt", referenced from:
		      -[CXMLDocument initWithXMLString:options:error:] in CXMLDocument.o
		  "_xmlXPathNewContext", referenced from:
		      -[CXMLNode nodesForXPath:error:] in CXMLNode.o
		      -[CXMLNode(CXMLNode_NamespaceExtensions) 
nodesForXPath:namespaceMappings:error:] in CXMLNode_XPathExtensions.o
		  "_htmlCreateMemoryParserCtxt", referenced from:
		      -[CXMLDocument initWithXMLString:options:error:] in CXMLDocument.o
		  "_xmlParseDoc", referenced from:
		      -[CXMLDocument initWithXMLString:options:error:] in CXMLDocument.o
		  "_htmlParseDocument", referenced from:
		      -[CXMLDocument initWithXMLString:options:error:] in CXMLDocument.o
		  "_xmlFreeDoc", referenced from:
		      -[CXMLDocument dealloc] in CXMLDocument.o
		  "_xmlXPathFreeObject", referenced from:
		      -[CXMLNode nodesForXPath:error:] in CXMLNode.o
		      -[CXMLNode(CXMLNode_NamespaceExtensions) 
nodesForXPath:namespaceMappings:error:] in CXMLNode_XPathExtensions.o
		  "_xmlParseMemory", referenced from:
		      -[CXMLDocument initWithData:options:error:] in CXMLDocument.o
		  "_xmlNodeListGetString", referenced from:
		      -[CXMLNode stringValue] in CXMLNode.o
		  "_xmlXPathRegisterNs", referenced from:
		      -[CXMLNode(CXMLNode_NamespaceExtensions) 
nodesForXPath:namespaceMappings:error:] in CXMLNode_XPathExtensions.o
		  "_xmlFree", referenced from:
		      _xmlFree$non_lazy_ptr in CXMLNode.o
		  "_xmlDocGetRootElement", referenced from:
		      -[CXMLDocument rootElement] in CXMLDocument.o
		  "_xmlXPathFreeContext", referenced from:
		      -[CXMLNode nodesForXPath:error:] in CXMLNode.o
		      -[CXMLNode(CXMLNode_NamespaceExtensions) 
nodesForXPath:namespaceMappings:error:] in CXMLNode_XPathExtensions.o
		  "_xmlStrcmp", referenced from:
		      -[CXMLElement elementsForName:] in CXMLElement.o
		      -[CXMLElement attributeForName:] in CXMLElement.o
		  "_xmlStrlen", referenced from:
		      -[CXMLDocument initWithXMLString:options:error:] in CXMLDocument.o
		  "_xmlXPathEvalExpression", referenced from:
		      -[CXMLNode nodesForXPath:error:] in CXMLNode.o
		      -[CXMLNode(CXMLNode_NamespaceExtensions) 
nodesForXPath:namespaceMappings:error:] in CXMLNode_XPathExtensions.o
		ld: symbol(s) not found
		collect2: ld returned 1 exit status
Build failed (16 errors)


Any ideas?  Scott.
Aug 2, 2008
#1 iamjedik...@gmail.com
Never mind you may close this.  I didn't see that I had to add the linker option. I can successfully build :-)
Aug 7, 2008
Project Member #2 jwight
OK. Marking as invalid.
Status: Invalid

Powered by Google Project Hosting