Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - linking problem with InterruptUnlock() function: (2 Items)
   
linking problem with InterruptUnlock() function  
The InterruptUnlock() function cannot be called from the namespace other than parent namespace due to the linker problem
 as follows:
undefined reference to `particular_namespace::other_namespace::__cpu_flags

Surprisingly InterruptLock() function is linked well.

The problem occurs both on 6.4.0 and 6.4.1 beta version of QNX.
Re: linking problem with InterruptUnlock() function  
Hi Piotr,

You're in luck - this one was just fixed last week.  See
http://community.qnx.com/sf/go/projects.core_os/discussion.buildbugs.topc7202
and
http://community.qnx.com/sf/go/projects.core_os/discussion.osrev.topc7262

You can pick up the fixed header from the svn repository.

Hope this helps,
-Will

On Sat, 18 Apr 2009 16:59:57 -0400 (EDT)
Piotr Trojanek <community-noreply@qnx.com> wrote:

> The InterruptUnlock() function cannot be called from the namespace other than parent namespace due to the linker 
problem as follows:
> undefined reference to `particular_namespace::other_namespace::__cpu_flags
> 
> Surprisingly InterruptLock() function is linked well.
> 
> The problem occurs both on 6.4.0 and 6.4.1 beta version of QNX.
> 
> 
> _______________________________________________
> QNX Momentics Community Support
> http://community.qnx.com/sf/go/post27437
> 
> 


-- 
Will Miles <wmiles@sgl.com>