[Home]

Summary:ASTERISK-14107: [patch] undefined LOG_WARNING and LOG_NOTICE in main/alaw.c and main/ulaw.c
Reporter:hmld (hmld)Labels:
Date Opened:2009-05-11 11:03:23Date Closed:2009-08-21 15:34:37
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Codecs/codec_alaw
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) fix-undefined-LOG_INFO.patch
Description:
 [CC] alaw.c -> alaw.o
alaw.c: In Funktion »ast_alaw_init«:
alaw.c:186: Warnung: Implizite Deklaration der Funktion »ast_log«
alaw.c:186: Fehler: »LOG_WARNING« nicht deklariert (erste Benutzung in dieser Funktion)
alaw.c:186: Fehler: (Jeder nicht deklarierte Bezeichner wird nur einmal aufgeführt
alaw.c:186: Fehler: für jede Funktion in der er auftritt.)
alaw.c:190: Fehler: »LOG_NOTICE« nicht deklariert (erste Benutzung in dieser Funktion)
make[1]: *** [alaw.o] Fehler 1


Same for main/ulaw.c


****** STEPS TO REPRODUCE ******

use svn trunk version. Select G711_NEW_ALGORITHM (and possibly G711_REDUCED_BRANCHING via make menuselect.

Comments:By: hmld (hmld) 2009-05-11 12:40:17

Don't know why I need to license to provide a patch here. Anyway, here it is:

<<patch removed>>



By: Joshua C. Colp (jcolp) 2009-05-12 08:42:44

All submissions require a license, please wait for yours to be processed.

By: Jason Parker (jparker) 2009-08-21 15:34:37

A very similar patch was committed the other day for issue ASTERISK-14634.  This should now be fixed.