<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Ridwan,<div><br></div><div>You would need to install mysql-devel via yum.</div><div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Best Regards,<br>Muhammad Nuzaihan Kamal<br>Network Consultant<br>Mobile: +65 97473874<br><br>Asfa Systems Pte Ltd<br>91, Alps Avenue. #03-10. Singapore 498787<br><br>Tel: +65 62538211<br>Fax: +65 62504814<br><a href="http://www.asfasystems.com.sg/">www.asfasystems.com.sg</a></div><div><br></div><div><div><div><div>pub 4096R/36630777 2010-07-10</div><div> Key fingerprint = 670A 4D60 0A2D 43A1 2FE0 DFDA D3A9 3F32 3663 0777</div><div>uid Muhammad Nuzaihan Kamalluddin (Asfa Systems Pte. Ltd.) <<a href="mailto:muhammad@asfasystems.com">muhammad@asfasystems.com</a>></div><div>sub 4096R/97E5CBBD 2010-07-10</div></div></div></div></div></span></div></span></div></span></div></span><br class="Apple-interchange-newline"></span><br class="Apple-interchange-newline">
</div>
<br><div><div>On 06-Oct-2010, at 6:35 PM, Rizwan Hisham wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hi All,<br>Please refresh my memory. I am trying to install asterisk after 2 years. I hav'nt used it since 2008 (version 1.4.2). Now I am trying to install 1.8.0-rc2 on centos 5.5 but getting the following errors.<br><br>
app_mysql.c:33:25: error: mysql/mysql.h: No such file or directory<br>app_mysql.c: In function ‘mysql_ds_destroy’:<br>app_mysql.c:135: warning: implicit declaration of function ‘mysql_close’<br>app_mysql.c:138: warning: implicit declaration of function ‘mysql_free_result’<br>
app_mysql.c: In function ‘aMYSQL_connect’:<br>app_mysql.c:319: error: ‘MYSQL’ undeclared (first use in this function)<br>app_mysql.c:319: error: (Each undeclared identifier is reported only once<br>app_mysql.c:319: error: for each function it appears in.)<br>
app_mysql.c:319: error: ‘mysql’ undeclared (first use in this function)<br><br>I think i have seen these errors before and did manage to get rid of them but I cant remember how i did it and even dont remember the reason for these errors. Looks like a header file for mysql addon is missing which is actually missing (i have checked). How am I suppose to find it?<br>
<br>Plz help.<br clear="all"><br>-- <br>Best Regards<br>Rizwan Qureshi<br><br><br>
-- <br>_____________________________________________________________________<br>-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com">http://www.api-digital.com</a> --<br>New to Asterisk? Join us for a live introductory webinar every Thurs:<br> <a href="http://www.asterisk.org/hello">http://www.asterisk.org/hello</a><br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a></blockquote></div><br></div></body></html>