Project Home
Project Home
Source Code
Source Code
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - QNX 6.5.0 unresolved symbol: (5 Items)
   
QNX 6.5.0 unresolved symbol  
After installing and compiling with version 6.5.0. I get the following dynamic library load error: unknown symbol  
__slog_once 

This occurs when calling the routine slogf() 
All dynamic libraries seem to be present on the target system after doing a check with ldd

Does anyone have any idea?

Regards
Wim


Re: QNX 6.5.0 unresolved symbol  
On Tue, Jul 06, 2010 at 10:16:23AM -0400, Wim Hellenthal wrote:
> After installing and compiling with version 6.5.0. I get the following dynamic library load error: unknown symbol  
__slog_once 
> 
> This occurs when calling the routine slogf() 
> All dynamic libraries seem to be present on the target system after doing a check with ldd
> 
> Does anyone have any idea?

Make sure you have the 6.5 libc on the target.

-seanb
Re: QNX 6.5.0 unresolved symbol  
I'm running a Neutrino641target.vmx image under Vmware Workstation 7.0 and when I try and run my application, in this 
case 'screen', and after I've set all my LD_LIBRARY_PATH's up, I get an unresolved reference for __slog_once

# ./screen
load_object: attempt load of libWFD.so.1
load_elf32: loaded lib at addr b8200000(text) b8205380(data)
load_object: attempt load of libdisputil.so.2
load_elf32: loaded lib at addr b8206000(text) b821010c(data)
load_object: attempt load of libinputevents.so.1
load_elf32: loaded lib at addr b8212000(text) b8219988(data)
load_object: attempt load of libhiddi.so.1
load_elf32: loaded lib at addr b821a000(text) b82209e0(data)
load_object: attempt load of libkalman.so.1
load_elf32: loaded lib at addr b8221000(text) b8222b88(data)
unknown symbol: __slog_once
unknown symbol: __slog_once
ldd:FATAL: Could not resolve all symbols
#


# use -i libc.so
NAME=libc.so
DESCRIPTION=C runtime library
DATE=2009/05/20-16:17:42-EDT
STATE=stable
HOST=cctrunk
USER=builder
VERSION=6.4.1
TAGID=166


# use -i libc.so.3
NAME=libc.so
DESCRIPTION=C runtime library
DATE=2009/05/20-16:17:42-EDT
STATE=stable
HOST=cctrunk
USER=builder
VERSION=6.4.1
TAGID=166


And, there appears to be no entry point for __slog_once in the Vmware image.

Has anyone run into this problem running the neutrino641Target.vmx image?
Re: QNX 6.5.0 unresolved symbol  
Did you build your application using a 6.5.0 development environment?
Re: QNX 6.5.0 unresolved symbol  
My problem was that I was using the vmware image for 6.4.  6.5.0 image works.
I found the Vmware instructions confusing.
Thanks.