﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
5722	Compilation error: kinsol_sparse.h missing	anonymous	Adeel Asghar	"Sind I've not found packaged files for Debian Bullseye (testing) I'm trying to compile OM on this operating system. 

When I run
{{{
git clone --recursive https://openmodelica.org/git-readonly/OpenModelica.git OpenModelica
cd OpenModelica
autoconf
./configure --prefix=/usr/local --disable-modelica3d
make -j4
}}}
the compilation gets aborted due to the following error:
{{{
In file included from ./simulation/solver/kinsolSolver.c:70:
<SOME-PATH>/OpenModelica/build/include/omc/c/sundials/kinsol/kinsol_klu.h:25:10: fatal error: kinsol/kinsol_sparse.h: No such file or directory
   25 | #include ""kinsol/kinsol_sparse.h""
      |          ^~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
}}}

The same error is described in a forum discussion: [https://openmodelica.org/forum/default-topic/2576-error-when-building-from-source]. There, it is mentioned to use `clang` instead of `gcc` as a possible workaround. I've tried changing `CC=gcc` to `CC=clang` and `CXX=gcc++` to `CXX=gclang++` in the makefiles but the error persists.
  
Am I doing something wrong or is this file really missing?

My OS is updated and has gcc 9.2.1 as well as clang 8.0.1-4
"	defect	closed	normal	Future	Installation program		wontfix		
