11/23/2010 5:19 AM
post75610
|
Hi,
I have problems to start phfont on an embedded device.
The device is very similar to the Atmel At91sam9263-ek.
I use the QNX Momentics Development Suite 6.3.2. The QNX Image is built with the IDE. All needed binaries and
configuration files are included in the image according to the document "Photon Programmer's Guide" Chapter"Photon in
Embedded System".
Here is the output when I am trying to start phfont:
# getconf _CS_LIBPATH
:/proc/boot:/lib:/usr/lib:/lib/dll
# ls -l /lib/libfontutils*
-rwxrwxrwx 1 root 0 12288 Dec 15 2004 /lib/libfontutils.so
-rwxrwxrwx 1 root 0 12288 Dec 15 2004 /lib/libfontutils.so.1
# Photon
# phfont
load_object: attempt load of libfont.so.1
load_elf32: loaded lib at addr 106a000(text) 1075228(data)
dlopen("phfont.so",# 3586)
load_object: attempt load of phfont.so
load_elf32: loaded lib at addr 1076000(text) 1097adc(data)
dlsym(104078,_btext)=NULL
Library loaded; type 'add-sym phfont.so 0' in gdb to load symbols
load_object: attempt load of libfontharnessutils.so.1
load_elf32: loaded lib at addr 109c000(text) 10a1270(data)
dlsym(104078,PHFONT_INTERNAL_API)=1097b5c
dlopen("/lib/dll/font/ttfFFcore.so",2)
load_object: attempt load of /lib/dll/font/ttfFFcore.so
load_elf32: loaded lib at addr 10a2000(text) 10aca7c(data)
dlsym(1040d8,_btext)=NULL
Library loaded; type 'add-sym ttfFFcore.so 0' in gdb to load symbols
load_object: attempt load of libblkcache.so.2
load_elf32: loaded lib at addr 10ae000(text) 10b18ac(data)
load_object: attempt load of libFF-T2K-cache.so.2
load_elf32: loaded lib at addr 10b2000(text) 10b447c(data)
load_object: attempt load of libFF-T2K.so.2
load_elf32: loaded lib at addr 10b5000(text) 10f2578(data)
dlsym(1040d8,_font_retrieve_engine)=10ab9d8
dlopen("/lib/dll/font/FCcore.so",2)
load_object: attempt load of /lib/dll/font/FCcore.so
load_elf32: loaded lib at addr 10f5000(text) 10fff68(data)
dlsym(104120,_btext)=NULL
Library loaded; type 'add-sym FCcore.so 0' in gdb to load symbols
load_object: attempt load of libFF-T2K-fm.so.1
load_elf32: loaded lib at addr 1101000(text) 1104658(data)
dlsym(104120,_font_retrieve_engine)=10feec4
dlopen("/lib/dll/font/PHFcore.so",2)
load_object: attempt load of /lib/dll/font/PHFcore.so
load_elf32: loaded lib at addr 1105000(text) 110c2a8(data)
dlsym(104138,_btext)=NULL
Library loaded; type 'add-sym PHFcore.so 0' in gdb to load symbols
load_object: attempt load of libfontutils.so.1
load_elf32: loaded lib at addr 110d000(text) 110ee00(data)
dlsym(104138,_font_retrieve_engine)=110b204
Fatal error - check sloginfo.
Unable to open font DLL: No such file or directory
# sloginfo
Time Sev Major Minor Args
Jan 01 00:02:00 1 8 0 phfont_init
Jan 01 00:02:00 1 8 0 phfontXX started OK
Jan 01 00:02:05 1 8 0 FatalError
Jan 01 00:02:05 1 8 0 font directory error - unable to open directory file io-font
Jan 01 00:02:05 1 8 0 Unable to launch Photon Font Server main.
I do not understand why phfont can not load libfontutils.so.1. The lib exists in /lib and the path is included in
_CS_LIBPATH.
Best regards
Stephen
|
|
|