I committed a change to MAkefile.defs in trunk, can you try whether it works there ?
Stefan o Juha Heinanen [05/24/08 08:43]: > Juha Heinanen writes: > > > i'm still getting g++ complains on redefinition on SEMS_VERSION, in > > 1.0.0, for example, > > i took the example from compilation of wrong file. core files are > compiled without the SEMS_VERSION warning. the __STDC_LIMIT_MACROS > warning is due to some bug in the g++ used in ubuntu hardy and there is > nothing sems can do to get rid of it. > > here is proper example of SEMS_VERSION warning: > > make[6]: Entering directory > `/usr/src/trunk-src/openxg-sems/core/plug-in/adpcm' > gcc -D_DEBUG -D_THREAD_SAFE -D_REENTRANT -DSEMS_VERSION='"1.0.0-pre-r981M"' > -DARCH='"i386"' -DOS='"linux"' -DOpenSER -D_DEBUG -D_THREAD_SAFE > -D_REENTRANT -DSEMS_VERSION='"1.0.0-pre-r981M"' -DARCH='"i386"' > -DOS='"linux"' -DOpenSER -DUSE_SPANDSP -D__STDC_LIMIT_MACROS -D_DEBUG > -D_THREAD_SAFE -D_REENTRANT -DSEMS_VERSION='"1.0.0-pre-r981M"' > -DARCH='"i386"' -DOS='"linux"' -DOpenSER -DUSE_SPANDSP -D__STDC_LIMIT_MACROS > -D_DEBUG -D_THREAD_SAFE -D_REENTRANT -DSEMS_VERSION='"1.0.0-pre-r981M"' > -DARCH='"i386"' -DOS='"linux"' -DOpenSER -D_DEBUG -D_THREAD_SAFE > -D_REENTRANT -DSEMS_VERSION='"1.0.0-pre-r981"' -DARCH='"i386"' -DOS='"linux"' > -DOpenSER -I ../.. -I ../../amci -D_DEBUG -D_THREAD_SAFE -D_REENTRANT > -DSEMS_VERSION='"1.0.0-pre-r981"' -DARCH='"i386"' -DOS='"linux"' -DOpenSER > -I ../.. -I ../../amci -g -O2 -Wall -fPIC -g -O2 -Wall -fPIC -g -O2 -Wall > -fPIC -g -O2 -Wall -fPIC -g -O2 -Wall -fPIC -g -O2 -Wall -Wall -fPIC -g > -O2 -Wall -c adpcm.c -o adpcm.o > <command-line>: warning: "__STDC_LIMIT_MACROS" redefined > <command-line>: warning: this is the location of the previous definition > <command-line>: warning: "SEMS_VERSION" redefined > <command-line>: warning: this is the location of the previous definition > > notice that now -DSEMS_VERSION appears 6 times in the compilation > command! > > -- juha > _______________________________________________ > Semsdev mailing list > [email protected] > http://lists.iptel.org/mailman/listinfo/semsdev -- Stefan Sayer VoIP Services [EMAIL PROTECTED] www.iptego.com iptego GmbH Am Borsigturm 40 13507 Berlin Germany Amtsgericht Charlottenburg, HRB 101010 Geschaeftsfuehrer: Alexander Hoffmann _______________________________________________ Semsdev mailing list [email protected] http://lists.iptel.org/mailman/listinfo/semsdev
