Date: Tue, 29 Sep 2015 15:36:40 +0200 From: Henning Schild Message-ID: <20150929153640.6acc16b5@md1em3qc> In-Reply-To: <560A8662.8050204@sigmatek.at> References: <560A8662.8050204@sigmatek.at> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai] ipipe_read_tsc, ipipe_tsc2ns List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Johann Obermayr Cc: xenomai@xenomai.org On Tue, 29 Sep 2015 14:38:58 +0200 Johann Obermayr wrote: > in a loadable kernel module i use ipipe_read_tsc and ipipe_tsc2ns. > But at compiling i get follow warning. > > WARNING: "__ipipe_kuser_tsc_freq" [km_testsample.ko] undefined! > > we have ARM, Linux 3.0 + xenomai 2.6.2.1 You should be able to resolve that linking problem by exporting the missing symbol. Add a "EXPORT_SYMBOL_GPL(__ipipe_kuser_tsc_freq);" after its definition. Henning