This issue is not 1.9 specific. It can be reproduced on 1.8.2: Compiling action.c gcc -Wall -g -O2 -Wcast-align -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DUSE_IPV6 -DUSE_MCAST -DDISABLE_NAGLE -DSTATISTICS -DCHANGEABLE_DEBUG_LEVEL -DHAVE_RESOLV_RES -DF_MALLOC -DUSE_TCP -DNAME='"opensips"' -DVERSION='"1.8.2-notls"' -DARCH='"i386"' -DOS='"linux"' -DCOMPILER='"gcc 4.4.5"' -D__CPU_i386 -D__OS_linux -D__SMP_yes -DCFG_DIR='"/usr/local/etc/opensips/"' -DSVNREVISION='"2:9924M"' -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM -DHAVE_EPOLL -DHAVE_SIGIO_RT -DHAVE_SELECT -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DUSE_IPV6 -DUSE_MCAST -DDISABLE_NAGLE -DSTATISTICS -DCHANGEABLE_DEBUG_LEVEL -DHAVE_RESOLV_RES -DF_MALLOC -DUSE_TCP -DNAME='"opensips"' -DVERSION='"1.8.2-notls"' -DARCH='"i386"' -DOS='"linux"' -DCOMPILER='"gcc 4.4.5"' -D__CPU_i386 -D__OS_linux -D__SMP_yes -DCFG_DIR='"/etc/opensips/"' -DSVNREVISION='"2:9924M"' -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM -DHAVE_EPOLL -DHAVE_SIGIO_RT -DHAVE_SELECT -c action.c -o action.o <command-line>: warning: "CFG_DIR" redefined <command-line>: warning: this is the location of the previous definition
-ovidiu On Mon, Mar 25, 2013 at 9:48 AM, Ovidiu Sas <[email protected]> wrote: > A workaround to build-it without warnings is: > PREFIX= make deb > > The issue here is that somehow opensips is built with the wrong prefix > (set to /usr/local) when doing a simple 'make deb'. > > -ovidiu > > On Mon, Mar 25, 2013 at 9:09 AM, Ovidiu Sas <[email protected]> wrote: >> # cat /etc/debian_version >> 6.0.7 >> # uname -a >> Linux opensips 2.6.32-5-686 #1 SMP Mon Jan 16 16:04:25 UTC 2012 i686 >> GNU/Linux >> >> -ovidiu >> >> On Mon, Mar 25, 2013 at 9:03 AM, Bogdan-Andrei Iancu >> <[email protected]> wrote: >>> Ovidiu, what debian version is that ? >>> >>> >>> Regards, >>> >>> Bogdan-Andrei Iancu >>> OpenSIPS Founder and Developer >>> http://www.opensips-solutions.com >>> >>> >>> On 03/22/2013 11:31 PM, Ovidiu Sas wrote: >>>> >>>> I got the similar errors on a freshly installed debian while running 'make >>>> deb': >>>> <command-line>: warning: "CFG_DIR" redefined >>>> <command-line>: warning: this is the location of the previous definition >>>> >>>> -ovidiu >>>> >>>> On Mon, Mar 4, 2013 at 10:11 AM, Seth Schultz<[email protected]> >>>> wrote: >>>>> >>>>> Bogdan, >>>>> >>>>> I am unable to reproduce this on other servers. Thanks for looking into >>>>> it, >>>>> I will checkout clean from sources and try again. >>>>> >>>>> Seth >>>>> >>>>> Seth Schultz >>>>> E-Mail: [email protected] >>>>> Phone: 212.255.8005 x 124 >>>>> Fax: 212.255.8091 >>>>> >>>>> On 3/4/2013 7:16 AM, Bogdan-Andrei Iancu wrote: >>>>> >>>>> Hi Seth, >>>>> >>>>> I tried to reproduce this, but no luck...somehow I'm afraid it is >>>>> something >>>>> particular to your environment....maybe some inherited ENV variables ? >>>>> are >>>>> you able to reproduce this issue on other servers ? >>>>> >>>>> Regards, >>>>> >>>>> Bogdan-Andrei Iancu >>>>> OpenSIPS Founder and Developer >>>>> http://www.opensips-solutions.com >>>>> >>>>> >>>>> On 02/28/2013 05:18 PM, Seth Schultz wrote: >>>>> >>>>> Bogdan, >>>>> >>>>> I used make menuconfig, selected the excluded modules "db_mysql" and >>>>> "dialplan", set the install prefix to "/", then selected "Compile And >>>>> Install OpenSIPS". I saw the messages below repeated many times during >>>>> the >>>>> compilation. It did compile and install, but just thought I would >>>>> mention >>>>> this behavior here to see if it was normal or not. I am running Ubuntu >>>>> 12.04 for my OS in case that helps. Also, I did not see this happen with >>>>> the 1.9.0 release candidate build. >>>>> >>>>> Thanks, >>>>> Seth >>>>> On 2/28/2013 4:46 AM, Bogdan-Andrei Iancu wrote: >>>>> >>>>> Hi Seth, >>>>> >>>>> What exactly are you trying to do ? "make all" ? "make deb" ? >>>>> >>>>> Regards, >>>>> >>>>> Bogdan-Andrei Iancu >>>>> OpenSIPS Founder and Developer >>>>> http://www.opensips-solutions.com >>>>> >>>>> >>>>> On 02/27/2013 08:38 PM, Seth Schultz wrote: >>>>> >>>>> Hello, >>>>> >>>>> I just did a clean checkout of the 1.9.0 major release, but when I build, >>>>> I >>>>> am seeing these messages repeated for every file: >>>>> >>>>> <command-line>:0:0: warning: "CFG_DIR" redefined [enabled by default] >>>>> <command-line>:0:0: note: this is the location of the previous definition >>>>> <command-line>:0:0: warning: "SVNREVISION" redefined [enabled by default] >>>>> <command-line>:0:0: note: this is the location of the previous definition >>>>> >>>>> I wasn't sure if this was intentional or not. Is anyone else seeing >>>>> these >>>>> warnings? Am I failing to set something in the make menuconfig? >>>>> >>>>> Thanks for everyone's hard work! >>>>> Seth >>>>> >>>>> On 2/27/2013 1:13 PM, Bogdan-Andrei Iancu wrote: >>>>> >>>>> After one month of successful beta testing, the 1.9.0 major released >>>>> turned >>>>> into a fully stable GA release....suitable for production usage. >>>>> >>>>> Feel free to download and torture it - it will proudly do the job for you >>>>> :) >>>>> ! >>>>> >>>>> Once again, many thanks to all people who got involved in the testing, >>>>> reporting and fixing during the beta stage - it was a great job: >>>>> >>>>> http://opensips.svn.sourceforge.net/viewvc/opensips/branches/1.9/CREDITS >>>>> >>>>> >>>>> Regards, >>>>> Bogdan -- VoIP Embedded, Inc. http://www.voipembedded.com _______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
