[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Problem trying to execute libxslt_tutorial.c example

Subject: Problem trying to execute libxslt_tutorial.c example
From: Esther Parrilla Endrino <esther.parrilla@xxxxxxxxxxxxxxxx>
Date: Thu, 27 Feb 2003 19:23:16 +0100
libxslt example
Hello all!

I have tried to compile and run libxslt_tutorial.c that comes with libxslt distribution as an example to transform an XML into an HTML applying an XSL stayle-sheet...

I have run in my console the following commands:

FOR COMPILING:
--------------

gcc -c libxslt_tutorial.c -I /usr/local/libxml/include/libxml2 -I /usr/include/libxslt

The compilation runs OK, so the *.o file is created...

FOR CREATING THE EXECUTABLE:
---------------------------

gcc -o -L /usr/local/libxml/LINUX/lib/libxml2.so -L /usr/lib/libxslt.so libxslt_tutorial.o


My problem is that when I try to create the executable, I get 'undefined reference to ...' errors for all the XSL functions I call in the code, so I think I must add other *.so libraries of the libxslt...


My questions are:

- Does anybody knows which *.so libraries should I add???
- Where could I find a simple makefile I could modify for compiling and running this example???


Thanks a lot!

esther



XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.