-------- Original Message --------
Subject:        Re: [Sems] Make Install Problem
Date:   Fri, 24 Sep 2010 02:50:54 -0500
From:   Nathaniel L Keeling <[email protected]>
To:     Stefan Sayer <[email protected]>



 Making those changes worked but I am now getting compile errors:

g++ -c -o AmUtils.o AmUtils.cpp -D_DEBUG -D_THREAD_SAFE -D_REENTRANT
-DSEMS_VERSION='"1.2.1"' -DARCH='"sparc64"' -DOS='"solaris"'
-DUSE_MONITORING       -DHAVE_SYS_SOCKIO_H -DBSD_COMP -fPIC -include
compat/solaris.h -D_DEBUG -D_THREAD_SAFE -D_REENTRANT
-DSEMS_VERSION='"1.2.1"' -DARCH='"sparc64"' -DOS='"solaris"'
-DUSE_MONITORING       -DHAVE_SYS_SOCKIO_H -DBSD_COMP -fPIC -include
compat/solaris.h -D_DEBUG -D_THREAD_SAFE -D_REENTRANT
-DSEMS_VERSION='"1.2.1"' -DARCH='"sparc64"' -DOS='"solaris"'
-DUSE_MONITORING       -DHAVE_SYS_SOCKIO_H -DBSD_COMP -fPIC -include
compat/solaris.h -Wall -Wno-reorder -fPIC -g -O2  -Wall -Wno-reorder
-fPIC -g -O2  -Wall -Wno-reorder -fPIC -g -O2
AmUtils.cpp: In function `void add_env_path(const char*, const
std::string&)':
AmUtils.cpp:1004: error: invalid conversion from `const char*' to `char*'
AmUtils.cpp:1004: error:   initializing argument 1 of `int putenv(char*)'
make[2]: *** [AmUtils.o] Error 1
make[2]: Leaving directory `/usr/local/source/sems-1.2.1/core'
make[1]: [all] Error 2 (ignored)
make[1]: Leaving directory `/usr/local/source/sems-1.2.1/core'

and

gcc -o ivr.so Ivr.o IvrAudio.o IvrAudioMixIn.o IvrDialogBase.o
IvrSipDialog.o IvrSipReply.o IvrSipRequest.o IvrUAC.o   -shared -lm -lrt
-lresolv -fPIC -ldl -lsocket -lnsl -lpthread -lm -lrt -lresolv -fPIC
-ldl -lsocket -lnsl -lpthread -lm -lrt -lresolv -fPIC -ldl -lsocket
-lnsl -lpthread -lm -lrt -lresolv -fPIC -ldl -lsocket -lnsl -lpthread
-lutil -L/usr/local/lib/python2.6/config -lpython2.6 -Xlinker
--export-dynamic
/usr/ccs/bin/ld: illegal option -- export-dynamic
usage: ld [-6:abc:d:e:f:h:il:mo:p:rstu:z:B:CD:F:GI:L:M:N:P:Q:R:S:VY:?]
file(s)


Thanks

Nathaniel

On 9/22/2010 9:07 AM, Stefan Sayer wrote:
 Nathaniel L Keeling wrote:
  Here is the beginning of my Makefile.defs file:
 yes, that is the 1.2.1 one.

 you could try changing this:


 ifeq ($(makefile_defs), 1)
   ifeq ($(makefile_defs),1)

 or just delete up to
 else
 makefile_defs=1
 export makefile_defs
 here, and then delete the endif below (where it says makefile_defs).

 Stefan


 #SVN_REV?=r$(shell svnversion -n .)

 #version number
 VERSION = 1
 PATCHLEVEL = 2
 SUBLEVEL = 1
 EXTRAVERSION ?=
 #-dev-$(SVN_REV)

 REL_VERSION=$(VERSION).$(PATCHLEVEL).$(SUBLEVEL)
 RELEASE=$(REL_VERSION)$(EXTRAVERSION)

 CPPFLAGS += -D_DEBUG \
           -D_THREAD_SAFE -D_REENTRANT \
           -DSEMS_VERSION='"$(RELEASE)"' -DARCH='"$(ARCH)"'\
           -DOS='"$(OS)"'        \
 #         -DMAX_RTP_SESSIONS=8192 \
           -DSUPPORT_IPV6 \
 #         -DNO_THREADID_LOG \


 Thanks

 Nathaniel


 On 9/22/2010 6:38 AM, Stefan Sayer wrote:

 ...or you could try removing the space in the first line before the 1:

 diff --git a/Makefile.defs b/Makefile.defs
 index f9a0da5..0952890 100644
 --- a/Makefile.defs
 +++ b/Makefile.defs
 @@ -1,4 +1,4 @@
 -ifeq ($(makefile_defs), 1)
 +ifeq ($(makefile_defs),1)
  else
  makefile_defs=1
  export makefile_defs


 if you allow me some more top-posting...

 Stefan

 Nathaniel L Keeling wrote:
   I am trying to install sems 1.2.1 on Solaris Sparc. It seems to
 compile ok, but when I perform "make install" I get all of the
 messages. None of the executables (e.g. sems) is found nor the
 directories where they are supposed to be. I looked into the
 directory where I untarred the source and I do see the so objects,
 this is why I think the compile was successful.

 make[3]: Leaving directory
 `/usr/local/source/sems-1.2.1/apps/webconference'
 make[3]: Entering directory
 `/usr/local/source/sems-1.2.1/apps/webconference'
 ../../core/../Makefile.defs:293: warning: overriding commands for
 target `/'
 ../../core/../Makefile.defs:290: warning: ignoring old commands for
 target `/'
 ../../core/../Makefile.defs:296: warning: overriding commands for
 target `/'
 ../../core/../Makefile.defs:293: warning: ignoring old commands for
 target `/'
 ../../core/../Makefile.defs:299: warning: overriding commands for
 target `/'
 ../../core/../Makefile.defs:296: warning: ignoring old commands for
 target `/'
 make[3]: `../../core/lib/webconference.so' is up to date.
 make[3]: Leaving directory
 `/usr/local/source/sems-1.2.1/apps/webconference'
 mkdir -p /webconference
 /bin/sh: /webconference/0.wav: not found
 /bin/sh: wav/0.wav: cannot execute
 /bin/sh: /webconference/1.wav: not found
 /bin/sh: wav/1.wav: cannot execute
 /bin/sh: /webconference/2.wav: not found
 /bin/sh: wav/2.wav: cannot execute
 /bin/sh: /webconference/3.wav: not found
 /bin/sh: wav/3.wav: cannot execute
 /bin/sh: /webconference/4.wav: not found
 /bin/sh: wav/4.wav: cannot execute
 /bin/sh: /webconference/5.wav: not found
 /bin/sh: wav/5.wav: cannot execute
 /bin/sh: /webconference/6.wav: not found
 /bin/sh: wav/6.wav: cannot execute
 /bin/sh: /webconference/7.wav: not found
 /bin/sh: wav/7.wav: cannot execute
 /bin/sh: /webconference/8.wav: not found
 /bin/sh: wav/8.wav: cannot execute
 /bin/sh: /webconference/9.wav: not found
 /bin/sh: wav/9.wav: cannot execute
 /bin/sh: /webconference/beep.wav: not found
 /bin/sh: wav/beep.wav: cannot execute
 /bin/sh: /webconference/entering_conference.wav: not found
 /bin/sh: wav/entering_conference.wav: cannot execute
 /bin/sh: /webconference/first_participant.wav: not found
 /bin/sh: wav/first_participant.wav: cannot execute
 /bin/sh: /webconference/pin_prompt.wav: not found
 /bin/sh: wav/pin_prompt.wav: cannot execute
 /bin/sh: /webconference/wrong_pin.wav: not found
 /bin/sh: wav/wrong_pin.wav: cannot execute
 make[2]: [webconference_audio] Error 1 (ignored)
 mkdir -p /
 if [ -f "webconference.so" ]; then \
           //webconference.so ; \
           webconference.so /; \
         fi
 /bin/sh: //webconference.so: not found
 /bin/sh: webconference.so: not found
 make[2]: *** [install] Error 1
 make[2]: Leaving directory
 `/usr/local/source/sems-1.2.1/apps/webconference'


 make[2]: Entering directory
 `/usr/local/source/sems-1.2.1/apps/examples/tutorial/cc_acc'
 ../../../../core/../Makefile.defs:293: warning: overriding commands
 for target `/'
 ../../../../core/../Makefile.defs:290: warning: ignoring old
 commands for target `/'
 ../../../../core/../Makefile.defs:296: warning: overriding commands
 for target `/'
 ../../../../core/../Makefile.defs:293: warning: ignoring old
 commands for target `/'
 ../../../../core/../Makefile.defs:299: warning: overriding commands
 for target `/'
 ../../../../core/../Makefile.defs:296: warning: ignoring old
 commands for target `/'
 make[3]: Entering directory
 `/usr/local/source/sems-1.2.1/apps/examples/tutorial/cc_acc'
 ../../../../core/../Makefile.defs:293: warning: overriding commands
 for target `/'
 ../../../../core/../Makefile.defs:290: warning: ignoring old
 commands for target `/'
 ../../../../core/../Makefile.defs:296: warning: overriding commands
 for target `/'
 ../../../../core/../Makefile.defs:293: warning: ignoring old
 commands for target `/'
 ../../../../core/../Makefile.defs:299: warning: overriding commands
 for target `/'
 ../../../../core/../Makefile.defs:296: warning: ignoring old
 commands for target `/'
 make[3]: Nothing to be done for `deps'.
 make[3]: Leaving directory
 `/usr/local/source/sems-1.2.1/apps/examples/tutorial/cc_acc'
 make[3]: Entering directory
 `/usr/local/source/sems-1.2.1/apps/examples/tutorial/cc_acc'
 ../../../../core/../Makefile.defs:293: warning: overriding commands
 for target `/'
 ../../../../core/../Makefile.defs:290: warning: ignoring old
 commands for target `/'
 ../../../../core/../Makefile.defs:296: warning: overriding commands
 for target `/'
 ../../../../core/../Makefile.defs:293: warning: ignoring old
 commands for target `/'
 ../../../../core/../Makefile.defs:299: warning: overriding commands
 for target `/'
 ../../../../core/../Makefile.defs:296: warning: ignoring old
 commands for target `/'
 make[3]: `../../../../core/lib/cc_acc.so' is up to date.
 make[3]: Leaving directory
 `/usr/local/source/sems-1.2.1/apps/examples/tutorial/cc_acc'
 mkdir -p /
 if [ -f "cc_acc.so" ]; then \
           //cc_acc.so ; \
           cc_acc.so /; \
         fi
 /bin/sh: //cc_acc.so: not found
 /bin/sh: cc_acc.so: not found
 make[2]: *** [install] Error 1
 make[2]: Leaving directory
 `/usr/local/source/sems-1.2.1/apps/examples/tutorial/cc_acc'

 Thanks

 Nate


 ------------------------------------------------------------------------


 _______________________________________________
 Sems mailing list
 [email protected]
 http://lists.iptel.org/mailman/listinfo/sems




 No virus found in this incoming message.
 Checked by AVG - www.avg.com
 Version: 9.0.851 / Virus Database: 271.1.1/3151 - Release Date:
 09/21/10 17:15:00






 No virus found in this incoming message.
 Checked by AVG - www.avg.com
 Version: 9.0.851 / Virus Database: 271.1.1/3152 - Release Date: 09/22/10 
01:34:00


_______________________________________________
Sems mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/sems

Reply via email to