Hello! I have a problem with build astersik-addons-1.4.7 on Solaris 10. When I tried to do "make" I got such error: * chan_ooh323.c: In function `reload_config': chan_ooh323.c:2053: error: `IPTOS_MINCOST' undeclared (first use in this function) chan_ooh323.c:2053: error: (Each undeclared identifier is reported only once chan_ooh323.c:2053: error: for each function it appears in.) make[1]: *** [chan_ooh323.o] Error 1 make: *** [channels] Error 2* So I tried to comple PWLIB v.1.10 and haven't success too - the compile error is : * g++ -DP_USE_PRAGMA -D_REENTRANT -Wall -I/root/pwlib/include -xO3 -DSOLARIS -felide-constructors -c ../../ptclib/pldap.cxx -o /root/pwlib/lib/obj_solaris_sparc_r/pldap.o g++: language O3 not recognized g++: language O3 not recognized g++: ../common/notifier_ext.cxx: linker input file unused because linking not done cc -DSOLARIS -DP_USE_PRAGMA -D_REENTRANT -Wall -I/root/pwlib/include -c ../common/getdate.tab.c -o /root/pwlib/lib/obj_solaris_sparc_r/getdate.tab.o make[2]: cc: Command not found make[2]: *** [/root/pwlib/lib/obj_solaris_sparc_r/getdate.tab.o] Error 127 make[2]: Leaving directory `/root/pwlib/src/ptlib/unix' make[1]: *** [opt] Error 2 make[1]: Leaving directory `/root/pwlib' make: *** [optshared] Error 2* Could you help me to solve the problem? Thank you, Mikhail Zhirnov
El vie, 05-12-2008 a las 19:04 +0300, Mikhail Zhirnov escribi?:> make[2]: cc: Command not foundLooks like you need cc installed. Best regards, -- Guillermo Salas M. Telconet S.A. Calle 15 y Avenida 24 Esquina Edificio Barre #2 Primer Piso Telefono : +593 5 262 7815 Celular : +593 9 985 5138 International : +1 360 968 1701 e-mail : gsalas at manta.telconet.net www : http://www.telconet.net SIP : 666 at sip.manta.telconet.net Linux User : 255902 Beat me, whip me, make me use Windows! Please avoid the Top Posting, see http://es.wikipedia.org/wiki/Top-posting -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 5515 bytes Desc: not available Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20081205/1f41b9b5/attachment.bin
Hello! I have a problem with build astersik-addons-1.4.7 on Solaris 10. When I tried to do "make" I got such error: * chan_ooh323.c: In function `reload_config': chan_ooh323.c:2053: error: `IPTOS_MINCOST' undeclared (first use in this function) chan_ooh323.c:2053: error: (Each undeclared identifier is reported only once chan_ooh323.c:2053: error: for each function it appears in.) make[1]: *** [chan_ooh323.o] Error 1 make: *** [channels] Error 2* So I tried to comple PWLIB v.1.10 and haven't success too - the compile error is : * g++ -DP_USE_PRAGMA -D_REENTRANT -Wall -I/root/pwlib/include -xO3 -DSOLARIS -felide-constructors -c ../../ptclib/pldap.cxx -o /root/pwlib/lib/obj_solaris_sparc_r/pldap.o g++: language O3 not recognized g++: language O3 not recognized g++: ../common/notifier_ext.cxx: linker input file unused because linking not done cc -DSOLARIS -DP_USE_PRAGMA -D_REENTRANT -Wall -I/root/pwlib/include -c ../common/getdate.tab.c -o /root/pwlib/lib/obj_solaris_sparc_r/getdate.tab.o make[2]: cc: Command not found make[2]: *** [/root/pwlib/lib/obj_solaris_sparc_r/getdate.tab.o] Error 127 make[2]: Leaving directory `/root/pwlib/src/ptlib/unix' make[1]: *** [opt] Error 2 make[1]: Leaving directory `/root/pwlib' make: *** [optshared] Error 2* Could you help me to solve the problem? Thank you, Mikhail Zhirnov