[Home]

Summary:ASTERISK-01311: [PATCH] Repaired building for RedHat 6.2
Reporter:antonverburg (antonverburg)Labels:
Date Opened:2004-03-30 03:07:57.000-0600Date Closed:2004-09-25 02:49:40
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/NewFeature
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) patch
Description:When I tried to build Asterisk CVS with RedHat 6.2, there was an error about a DNS-function.

Because of security reasons, in dns.c the function res_init is for Linux replaced with res_ninit. RedHat 6.2 does not have this function, so it is not able to compile. For that reasons I changed #ifdef linux to #ifdef res_ninit. If res_ninit is avalable, the safe option will be used, if not a less secure option will be used, but still it's able to compile. (Maybe we have to add a warnig about this security hazzard?)
Comments:By: mwood (mwood) 2004-03-30 03:27:44.000-0600

Once compiled do you find that Asterisk runs normally on Redhat 6.2?

By: antonverburg (antonverburg) 2004-03-30 16:53:10.000-0600

Hm, I am trying to use Asterisk on a 200 MHz Geode Embeded system, running in Redhat 6.2. On the moment I am testing. I did not intend to test the dns-resolve functions. This patch only affects dns, so I should test dns-functions, isn't it? Can somebody give me a simple way to do a test? For example a console command?

By: Mark Spencer (markster) 2004-04-26 09:27:26

Fixed in CVS