This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.
For more information, see this announcement post . Click the X in the top right-corner of this box to dismiss this message.
Old posts that have not been replied to for several years.
makam
Voice
Posts: 15 Joined: Thu Jul 08, 2004 1:16 am
Location: Montevideo, Uruguay
Contact:
Post
by makam » Thu Aug 12, 2004 1:03 pm
Someone of you, any time works with libxml2 in eggdrops?
Because, im having troubles in the compile time.
To compile a mainfile with libxml2 i need compile it in this way:
gcc -o myxmlapp -I/usr/local/include/libxml2 main.c -L/usr/local/lib -lxml2 -lz -lpthread -lm
My question is, when i try to compile it with Eggdrops.
Only the Makefile in my module dir need change?
Thx.
Galadhrim
Op
Posts: 123 Joined: Fri Apr 11, 2003 8:38 am
Location: Netherlands, Enschede
Post
by Galadhrim » Fri Oct 29, 2004 10:14 am
Yes you only have to add the line to the Makefile of the module(s) where you are using the libraries. Otherwise the libraries will be linked but not used.