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.

eggdrop+libxml2 (any guru arround?)

Old posts that have not been replied to for several years.
Locked
m
makam
Voice
Posts: 15
Joined: Thu Jul 08, 2004 1:16 am
Location: Montevideo, Uruguay
Contact:

eggdrop+libxml2 (any guru arround?)

Post by makam »

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.
--
Web: http://www.makam.org/
Chans: #Uruguay,#Hattricklatino@UnderNet
G
Galadhrim
Op
Posts: 123
Joined: Fri Apr 11, 2003 8:38 am
Location: Netherlands, Enschede

Post by Galadhrim »

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.
Locked