OpenSolaris + sip-router // Kamailio 3.0

2 messages Options
Embed this post
Permalink
Nick Lemberger

OpenSolaris + sip-router // Kamailio 3.0

Reply Threaded More More options
Print post
Permalink
I don't know if there's a plan to support the newer Solaris' distros but sip-router and Kamailio 3.0 don't compile on OpenSolaris with SunStudio Compiler (cc) or GCC.

Kamailio up to 1.5 has historically compiled at least with GCC - it seems to be Makefile related.

---

When the CC variable is set to point to SunStudio (/opt/SunStudioExpress/bin/cc) I get:
Makefile:248: config.mak: No such file or directory
normal Makefile.defs exec
Makefile.defs:380: Unknown compiler /opt/SunStudioExpress/bin/cc\; supported compilers: gcc, sun cc, intel icc
target architecture <x86_64>, host architecture <x86_64>
Makefile.defs:933: *** Unsupported compiler (/opt/SunStudioExpress/bin/cc:/opt/SunStudioExpress/bin/cc), try gcc.  Stop.


---

If I set it to GCC 4.3.2 I get the following when I make (or gmake, although OpenSolaris generally defaults to GNU make):
Makefile:248: config.mak: No such file or directory
normal Makefile.defs exec
target architecture <i386>, host architecture <x86_64>

And things just stop - I never get a prompt back until I ctrl-x.

---

I'm attempting the compile as root so there aren't and permissions issues.

And suggestions would be most appreciated.

-Nick

_______________________________________________
sr-dev mailing list
[hidden email]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
Andrei Pelinescu-Onciul

Re: OpenSolaris + sip-router // Kamailio 3.0

Reply Threaded More More options
Print post
Permalink
On Nov 06, 2009 at 05:52, Nick Lemberger <[hidden email]> wrote:
> I don't know if there's a plan to support the newer Solaris' distros but sip-router and Kamailio 3.0 don't compile on OpenSolaris with SunStudio Compiler (cc) or GCC.

There is a plan, but we are short on manpower and on runable up-to-date opensolaris
qemu images :-)

>
> Kamailio up to 1.5 has historically compiled at least with GCC - it seems to be Makefile related.
>
> ---
>
> When the CC variable is set to point to SunStudio (/opt/SunStudioExpress/bin/cc) I get:
> Makefile:248: config.mak: No such file or directory
> normal Makefile.defs exec
> Makefile.defs:380: Unknown compiler /opt/SunStudioExpress/bin/cc\; supported compilers: gcc, sun cc, intel icc
> target architecture <x86_64>, host architecture <x86_64>
> Makefile.defs:933: *** Unsupported compiler (/opt/SunStudioExpress/bin/cc:/opt/SunStudioExpress/bin/cc), try gcc.  Stop.

The compiler detection fails. Could you send me the output of cc -v ?

>
>
> ---
>
> If I set it to GCC 4.3.2 I get the following when I make (or gmake, although OpenSolaris generally defaults to GNU make):
> Makefile:248: config.mak: No such file or directory
> normal Makefile.defs exec
> target architecture <i386>, host architecture <x86_64>
>
> And things just stop - I never get a prompt back until I ctrl-x.

If you try make proper and then make, does it work? (it might be some
dependcy file from a deleted .c file)


Andrei

_______________________________________________
sr-dev mailing list
[hidden email]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev