[asterisk-bugs] [Asterisk 0014051]: res/res_http_post also need to include libgen.h in FreeBSD.

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Dec 10 05:28:29 CST 2008


The following issue has been SUBMITTED. 
====================================================================== 
http://bugs.digium.com/view.php?id=14051 
====================================================================== 
Reported By:                ys
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   14051
Category:                   Resources/General
Reproducibility:            always
Severity:                   tweak
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 162548 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-12-10 05:28 CST
Last Modified:              2008-12-10 05:28 CST
====================================================================== 
Summary:                    res/res_http_post also need to include libgen.h  in
FreeBSD.
Description: 
Hello.

I'am can't compile res/res_http_post if devmode is enabled on FreeBSD:

res_http_post.c: In function `readmimefile':
res_http_post.c:242: warning: implicit declaration of function `basename'
res_http_post.c:242: warning: assignment makes pointer from integer
without a cast
gmake[1]: *** [res_http_post.o] Error 1
gmake[1]: Leaving directory `/usr/home/asterisk/src/asterisk/res'
gmake: *** [res] Error 2

====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-12-10 05:28 ys             New Issue                                    
2008-12-10 05:28 ys             Asterisk Version          => SVN             
2008-12-10 05:28 ys             SVN Branch (only for SVN checkouts, not tarball
releases) =>  trunk          
2008-12-10 05:28 ys             SVN Revision (number only!) => 162548          
======================================================================




More information about the asterisk-bugs mailing list