[Kamailio-Devel] " . . using an old or unsupported gcc version . . "

Dan Pascu dan at ag-projects.com
Fri Aug 1 17:20:06 CEST 2008


On Friday 01 August 2008, Henning Westerholt wrote:
> On Friday 01 August 2008, Darren Sessions wrote:
> > This is my first attempt at compiling Kamailio on an OpenSUSE 11
> > server. The code does compile, but with zero optimizations and a
> > warning. Upon further investigation, it appears that gcc >4.3 allows
> > it itself to be compiled with a 'pkgversion' argument that
> > essentially allows anything to be reported in the gcc versioning
> > scheme.
> >
> > I would have submitted a patch, but I have thus far never worked on a
> > 'project' and haven't really a clue as to how I would go about it.
>
> Hi Darren,
>
> thanks for the report. I've changed the Makefile to use "-dumpversion",
> should work now. This option is present in all recent compilers i
> checked (3.3.6, 3.2.3, 3.1.1 3.0.4, 4.0.4) according the docs, so it
> should be safe. Please let me know if you still have issues.

What about non-gcc compilers? tcc, icc or sun cc come to mind...

-- 
Dan



More information about the Devel mailing list