Am I doing something wrong? Compiling src/switch_rtp.c ... cc1: warnings being treated as errors src/switch_rtp.c: In function ‘jb_logger’: src/switch_rtp.c:1662: error: implicit declaration of function ‘stfu_vasprintf’ src/switch_rtp.c: In function ‘switch_rtp_debug_jitter_buffer’: src/switch_rtp.c:1675: error: implicit declaration of function ‘stfu_n_debug’ src/switch_rtp.c:1676: error: implicit declaration of function ‘stfu_global_set_logger’ src/switch_rtp.c:2141:62: error: macro "stfu_n_eat" requires 6 arguments, but only 5 given src/switch_rtp.c: In function ‘do_flush’: src/switch_rtp.c:2139: error: ‘stfu_n_eat’ undeclared (first use in this function) src/switch_rtp.c:2139: error: (Each undeclared identifier is reported only once src/switch_rtp.c:2139: error: for each function it appears in.) src/switch_rtp.c:2207:59: error: macro "stfu_n_eat" requires 6 arguments, but only 5 given src/switch_rtp.c: In function ‘read_rtp_packet’: src/switch_rtp.c:2205: error: ‘stfu_n_eat’ undeclared (first use in this function) make[2]: *** [libfreeswitch_la-switch_rtp.lo] Error 1 François.
I think Anthony might have forgotten to push some changes to GIT yesterday - I just noticed the same thing. Please add a Jira for this, so it's reported correctly. /Peter -----Ursprungligt meddelande----- Från: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] För François Delawarde Skickat: den 15 december 2010 11:55 Till: FreeSWITCH Users Help Ämne: [Freeswitch-users] error compiling today's git Am I doing something wrong? Compiling src/switch_rtp.c ... cc1: warnings being treated as errors src/switch_rtp.c: In function ‘jb_logger’: src/switch_rtp.c:1662: error: implicit declaration of function ‘stfu_vasprintf’ src/switch_rtp.c: In function ‘switch_rtp_debug_jitter_buffer’: src/switch_rtp.c:1675: error: implicit declaration of function ‘stfu_n_debug’ src/switch_rtp.c:1676: error: implicit declaration of function ‘stfu_global_set_logger’ src/switch_rtp.c:2141:62: error: macro "stfu_n_eat" requires 6 arguments, but only 5 given src/switch_rtp.c: In function ‘do_flush’: src/switch_rtp.c:2139: error: ‘stfu_n_eat’ undeclared (first use in this function) src/switch_rtp.c:2139: error: (Each undeclared identifier is reported only once src/switch_rtp.c:2139: error: for each function it appears in.) src/switch_rtp.c:2207:59: error: macro "stfu_n_eat" requires 6 arguments, but only 5 given src/switch_rtp.c: In function ‘read_rtp_packet’: src/switch_rtp.c:2205: error: ‘stfu_n_eat’ undeclared (first use in this function) make[2]: *** [libfreeswitch_la-switch_rtp.lo] Error 1 François. _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org !DSPAM:4d08a00932769772718559!
I've just tested on a fresh checkout and can confirm this too. stfu_vasprintf is used in switch_rtp.c but isn't referenced anywhere else in code, so yes looks like a file wasn't committed. -Steve On 15 December 2010 11:20, Peter Olsson <peter.olsson@visionutveckling.se> wrote:
I think Anthony might have forgotten to push some changes to GIT yesterday - I just noticed the same thing. Please add a Jira for this, so it's reported correctly.
/Peter
-----Ursprungligt meddelande----- Från: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] För François Delawarde Skickat: den 15 december 2010 11:55 Till: FreeSWITCH Users Help Ämne: [Freeswitch-users] error compiling today's git
Am I doing something wrong?
Compiling src/switch_rtp.c ... cc1: warnings being treated as errors src/switch_rtp.c: In function ‘jb_logger’: src/switch_rtp.c:1662: error: implicit declaration of function ‘stfu_vasprintf’ src/switch_rtp.c: In function ‘switch_rtp_debug_jitter_buffer’: src/switch_rtp.c:1675: error: implicit declaration of function ‘stfu_n_debug’ src/switch_rtp.c:1676: error: implicit declaration of function ‘stfu_global_set_logger’ src/switch_rtp.c:2141:62: error: macro "stfu_n_eat" requires 6 arguments, but only 5 given src/switch_rtp.c: In function ‘do_flush’: src/switch_rtp.c:2139: error: ‘stfu_n_eat’ undeclared (first use in this function) src/switch_rtp.c:2139: error: (Each undeclared identifier is reported only once src/switch_rtp.c:2139: error: for each function it appears in.) src/switch_rtp.c:2207:59: error: macro "stfu_n_eat" requires 6 arguments, but only 5 given src/switch_rtp.c: In function ‘read_rtp_packet’: src/switch_rtp.c:2205: error: ‘stfu_n_eat’ undeclared (first use in this function) make[2]: *** [libfreeswitch_la-switch_rtp.lo] Error 1
François.
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
!DSPAM:4d08a00932769772718559!
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
On Wed, 2010-12-15 at 12:20 +0100, Peter Olsson wrote:
Please add a Jira for this, so it's reported correctly.
Here the same -----Oorspronkelijk bericht----- Van: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] Namens François Delawarde Verzonden: woensdag 15 december 2010 11:55 Aan: FreeSWITCH Users Help Onderwerp: [Freeswitch-users] error compiling today's git Am I doing something wrong? Compiling src/switch_rtp.c ... cc1: warnings being treated as errors src/switch_rtp.c: In function ‘jb_logger’: src/switch_rtp.c:1662: error: implicit declaration of function ‘stfu_vasprintf’ src/switch_rtp.c: In function ‘switch_rtp_debug_jitter_buffer’: src/switch_rtp.c:1675: error: implicit declaration of function ‘stfu_n_debug’ src/switch_rtp.c:1676: error: implicit declaration of function ‘stfu_global_set_logger’ src/switch_rtp.c:2141:62: error: macro "stfu_n_eat" requires 6 arguments, but only 5 given src/switch_rtp.c: In function ‘do_flush’: src/switch_rtp.c:2139: error: ‘stfu_n_eat’ undeclared (first use in this function) src/switch_rtp.c:2139: error: (Each undeclared identifier is reported only once src/switch_rtp.c:2139: error: for each function it appears in.) src/switch_rtp.c:2207:59: error: macro "stfu_n_eat" requires 6 arguments, but only 5 given src/switch_rtp.c: In function ‘read_rtp_packet’: src/switch_rtp.c:2205: error: ‘stfu_n_eat’ undeclared (first use in this function) make[2]: *** [libfreeswitch_la-switch_rtp.lo] Error 1 François. _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
For the benefit of everyone now familiar with Git... If you need to build FS you can check out the previous commit using: $ git clone git://git.freeswitch.org/freeswitch.git $ git checkout 2324c299177be42375610c4928a3b77e60a8bf10 You should see: HEAD is now at 2324c29... round two better code thanks mikej You can ignore any messages above that about creating a new branch. That'll roll the checkout back to the commit before the error was introduced and you should then be able to build. -Steve On 15 December 2010 10:55, François Delawarde <fdelawarde@wirelessmundi.com> wrote:
Am I doing something wrong?
Compiling src/switch_rtp.c ... cc1: warnings being treated as errors src/switch_rtp.c: In function ‘jb_logger’: src/switch_rtp.c:1662: error: implicit declaration of function ‘stfu_vasprintf’ src/switch_rtp.c: In function ‘switch_rtp_debug_jitter_buffer’: src/switch_rtp.c:1675: error: implicit declaration of function ‘stfu_n_debug’ src/switch_rtp.c:1676: error: implicit declaration of function ‘stfu_global_set_logger’ src/switch_rtp.c:2141:62: error: macro "stfu_n_eat" requires 6 arguments, but only 5 given src/switch_rtp.c: In function ‘do_flush’: src/switch_rtp.c:2139: error: ‘stfu_n_eat’ undeclared (first use in this function) src/switch_rtp.c:2139: error: (Each undeclared identifier is reported only once src/switch_rtp.c:2139: error: for each function it appears in.) src/switch_rtp.c:2207:59: error: macro "stfu_n_eat" requires 6 arguments, but only 5 given src/switch_rtp.c: In function ‘read_rtp_packet’: src/switch_rtp.c:2205: error: ‘stfu_n_eat’ undeclared (first use in this function) make[2]: *** [libfreeswitch_la-switch_rtp.lo] Error 1
François.
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
I got same error on Cent OS 5.5 64 bit , also from git repo source cc1: warnings being treated as errors src/switch_rtp.c: In function 'jb_logger': src/switch_rtp.c:1662: warning: implicit declaration of function 'stfu_vasprintf' src/switch_rtp.c: In function 'switch_rtp_debug_jitter_buffer': src/switch_rtp.c:1675: warning: implicit declaration of function 'stfu_n_debug' src/switch_rtp.c:1676: warning: implicit declaration of function 'stfu_global_set_logger' src/switch_rtp.c:2141:62: error: macro "stfu_n_eat" requires 6 arguments, but only 5 given src/switch_rtp.c: In function 'do_flush': src/switch_rtp.c:2139: error: 'stfu_n_eat' undeclared (first use in this function) src/switch_rtp.c:2139: error: (Each undeclared identifier is reported only once src/switch_rtp.c:2139: error: for each function it appears in.) src/switch_rtp.c:2207:59: error: macro "stfu_n_eat" requires 6 arguments, but only 5 given src/switch_rtp.c: In function 'read_rtp_packet': src/switch_rtp.c:2205: error: 'stfu_n_eat' undeclared (first use in this function) make[1]: *** [libfreeswitch_la-switch_rtp.lo] Error 1 make: *** [all] Error 2 any help is appreciated -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/error-compiling-today-s-git-tp... Sent from the freeswitch-users mailing list archive at Nabble.com.
This will be fixed very shortly -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/error-compiling-today-s-git-tp... Sent from the freeswitch-users mailing list archive at Nabble.com.
Hi Jeff Thank you for your reply rapidly I am looking forward to get fixed source code, Toru Tomita On Thu, Dec 16, 2010 at 12:53 AM, Jeff Lenk [via freeswitch-users] <ml-node+5838070-96506956-308208@n2.nabble.com> wrote:
This will be fixed very shortly
________________________________ View message @ http://freeswitch-users.2379917.n2.nabble.com/error-compiling-today-s-git-tp... To unsubscribe from error compiling today's git, click here.
-- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/error-compiling-today-s-git-tp... Sent from the freeswitch-users mailing list archive at Nabble.com.
Seems like somebody flipped on the -Wall switch on the makefiles... On Wed, Dec 15, 2010 at 8:06 AM, Toru Tomita <toru.tomita@gmail.com> wrote:
Hi Jeff
Thank you for your reply rapidly
I am looking forward to get fixed source code,
Toru Tomita
On Thu, Dec 16, 2010 at 12:53 AM, Jeff Lenk [via freeswitch-users] <[hidden email]> wrote:
This will be fixed very shortly
________________________________ View message @
http://freeswitch-users.2379917.n2.nabble.com/error-compiling-today-s-git-tp... To unsubscribe from error compiling today's git, click here.
________________________________ View this message in context: Re: error compiling today's git Sent from the freeswitch-users mailing list archive at Nabble.com.
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (7)
-
curriegrad2004
-
Erik Dekkers
-
François Delawarde
-
Jeff Lenk
-
Peter Olsson
-
Steven Ayre
-
Toru Tomita