Re: Capi compilation error after latest commits
Patrick Lists <misdn-list-tT6WbRwY5jipaK3yNG/KFWZHpeb/A1Y/@public.gmane.org>
| Newsgroups | gmane.linux.isdn.i4l.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Karsten, Thank you for your feedback. On 08-05-12 10:16, Karsten Keil wrote: [snip] >> So I put back capi_mod.h and capi_debug.h in includeHEADERS in >> Makefile.am, autoreconf, configure, make and install and then build > > Yes this move was wrong and need to be reverted. Ok. >> Making all in capi20/module [snip] >> cc1: warnings being treated as errors >> capi_mod_misdn.c:539: error: initialization from incompatible pointer type >> make[1]: *** [lib_capi_mod_misdn_la-capi_mod_misdn.lo] Error 1 >> make[1]: Leaving directory `/home/patrick/mISDNuser.git/capi20/module' >> make: *** [all-recursive] Error 1 [snip] > > Not yet, I do not see the change what could cause this at the moment, > will have a deeper look today. The following changes made the issue go away (please not that I have very limited C knowledge and can't say if this "fix" is the proper one): In file capi20/module/capi_mod_misdn.c: Line 163: change function static unsigned misdnIsInstalled(void) to: static int misdnIsInstalled(void) Line 165: change unsigned nHandle to: int nHandle Hope this helps. Regards, Patrick