On 03/31/2012 06:52 AM, skr...@hushmail.com wrote: > I'm new to c programming. I am trying to make a mod to the mysql auth > module.
There is no such a module..., either the 2.2 mysql module, or the sql auth module. Just curious: what are you trying to do? > Except it totally segfaults every time. I was wondering how do I > just debug the module compared to the daemon, because the running gdb on > the imap server doesn't really say much. I am probably doing it wrong Working on the codebase, and especially on the modules running a static build is a must. It will speed up the builds, and will allow gdb to keep better track of symbols. Just run configure with --enable-static=yes --enable-shared=no and add to CFLAGS: -g so the debugging symbols aren't stripped. If you are on a debian/ubuntu/mint system you can also do as I do: export DEB_BUILD_OPTIONS=debug,devel,sieve && fakeroot debian/rules clean stamps configure dbmail -- ________________________________________________________________ Paul J Stevens pjstevns @ gmail, twitter, skype, linkedin * Premium Hosting Services and Web Application Consultancy * www.nfg.nl/i...@nfg.nl/+31.85.877.99.97 ________________________________________________________________ _______________________________________________ Dbmail-dev mailing list Dbmail-dev@dbmail.org http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail-dev