﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
1685	linkage error for combitable1D	chenouard-r	chenouard-r	"I test the following model and i get an error after compilation during linkage with ld command while referencing libModelicaExternalC.a:
{{{    model TestCT
      import Modelica.Blocks.Sources.*;
      Modelica.Blocks.Tables.CombiTable1D ct1(table=[25, 236.2; 50, 208.2; 75, 199.6; 85, 199.4; 100, 200.2; 110, 205.4]);
      Ramp rp (offset=3000,startTime=0,duration=10,height=8000);

      equation
        ct1.u[1]=100*rp.y/11200;
    end TestCT; }}}

 I got the following error:
{{{ ld: duplicate symbol ___inline_isinff in /opt/local/lib/omc/libModelicaExternalC.a(tables.o) and /opt/local/lib/omc/libModelicaExternalC.a(ModelicaTablesImpl.o)
collect2: ld returned 1 exit status
}}}

The same function seems to be defined two times in tables.o and in ModelicaTablesImpl.o.

I'm using one of the last development version of omc: OpenModelica Compiler 1.8.1 (r11034)"	defect	closed	high				fixed		chenouard-r
