OK so I am feeling like a rather large idiot. I tried using the debugger to see what the problem was
but when I ran the program under the control of the debugger it didn't fault, so I went back to my trusty method of adding printf statements to track an issue. The problem was that the changes I made didn't make any difference to how the program ran. I was very puzzled until I remembered that I had asked a friend to try cross compiling msmtp and there were other versions on the system, his version faulted. The system was using the old versions in root and not the one that I had cross compiled. My apologies to Martin it was my error and nothing wrong with msmtp. To look on the bright side it only took me a full week to figure what I was doing wrong. If you notice a guy in the corner gently rocking backwards and forwards banging his head against a brick wall... that will be me. Bryan > Date: Mon, 23 Jul 2012 13:57:52 +0200 > From: marlam@...23... > To: msmtp-users@lists.sourceforge.net > Subject: Re: [msmtp-users] cross compile success, overall failure > > On Sun, 22 Jul 2012 15:46:51 +0000, Bryan Goose wrote: > > Is there any chance that the make error that I see could point to the > > problem: tls.c: In function `tls_init': > > tls.c:1234: warning: passing arg 1 of `SSL_CTX_new' discards > > qualifiers from pointer target type > > I don't think so. Do you have any kind of debugger on your target > platform to find out exactly where the segmentation fault happens? > > Martin > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > msmtp-users mailing list > msmtp-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/msmtp-users |