The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
Google UNIX.COM


High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Still unable to compile pro*c program satvd Shell Programming and Scripting 1 05-20-2008 06:47 AM
compile a c program djehresmann High Level Programming 8 02-22-2008 09:18 AM
Compile and Run C Program on Solaris selva_ss High Level Programming 0 02-21-2008 09:52 AM
How to compile a c program by using gcc Bell High Level Programming 5 05-14-2006 04:27 PM
how to compile a program CmpKillr High Level Programming 2 04-07-2003 02:57 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-04-2006
Registered User
 

Join Date: Oct 2005
Posts: 85
Stumble this Post!
How compile sample libxslt program?

What are the command I use to compile the sample program at the bottom of the page of http://xmlsoft.org/XSLT/tutorial/libxslttutorial.html?

Here are my attempts:

g++ -c libxslt_tutorial.cpp -I/usr/include/libxml2
g++ libxslt_tutorial.o -l xslt -l xml

Here are the errors I get when I try these with cygwin/bash on windows:

In file included from libxslt_tutorial.cpp:45:
/usr/include/libxml2/libxml/DOCBparser.h:22:2: warning: #warning "The DOCBparser module has been deprecated in libxml2-2.6.0"
libxslt_tutorial.o:libxslt_tutorial.cpp.text+0x1d8): undefined reference to `_xmlLoadExtDtdDefaultValue'
collect2: ld returned 1 exit status

Thanks,
Siegfried
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 08-06-2006
Hitori's Avatar
Registered User
 

Join Date: Jun 2006
Posts: 356
Stumble this Post!
Try -lxml2
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 11:08 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0