bogdan celer
|
Re: QNXSP1 and glib2 problem
|
bogdan celer
07/08/2012 10:58 AM
post94144
|
Re: QNXSP1 and glib2 problem
Sean excuse me, I know my English isn't too good.
In QNX I use mc. I compile and I test the Gnome software.
# mc --version
GNU Midnight Commander 4.6.2-pre1
Virtual File System: tarfs, extfs, cpiofs, ftpfs, fish
With builtin Editor
Using included S-Lang library with terminfo database
With subshell support as default
With support for background operations
With mouse support on xterm
With internationalization support
Data types: char 8 int 32 long 32 void * 32 off_t 64 ecs_char 8
# ldd mc
./mc:
libintl.so.8 => /usr/pkg/lib/libintl.so.8.1.1 (0xb8200000)
libiconv.so.7 => /usr/local/lib/libiconv.so.7.5.0 (0xb8211000)
libc.so.3 => /usr/lib/ldqnx.so.2 (0xb0300000)
libglib-2.0.so.0 => /usr/pkg/lib/libglib-2.0.so.0.3000.2 (0xb82f1000)
librpc.so.2 => /usr/lib/librpc.so.2 (0xb83d4000)
libsocket.so.2 => /lib/libsocket.so.2 (0xb83ec000)
libiconv.so.2 => /usr/pkg/lib/libiconv.so.2.5.1 (0xb841b000)
libpcre.so.0 => /usr/pkg/lib/libpcre.so.0.0.1 (0xb8500000)
libnbutil.so.1 => /usr/lib/libnbutil.so.1 (0xb853f000)
libsocket.so.3 => /lib/libsocket.so.3 (0xb8547000)
#
And I don't have such problems which turned up at the moment of SP1 installing.
1.Before the SP1 installation.
mc working wery well and I don't have problems with the compilation and testing the Gnome software
Tests from /src/HEAD_650/pkgsrc/devel/glib-2.30.2/work/glib-2.30.2/glib/tests/.libs
working
2. After the SP1 installation
mc not working:
# mc
pid tid name STATE start time thread start sutime
3776561 1 usr/bin/mc RUNNING Jul 07 23:22 Jul 07 23:22 13.881
#
And mc still is in the STATE RUNNING and nothing appears on the screen.
# cd /src/HEAD_650/pkgsrc/devel/glib-2.30.2/work/glib-2.30.2/glib/tests/.libs
# ls
. keyfile lt-unix sequence
.. list lt-unix-nothreads shell
........
testing ....date ....string
................................
# ./testing
pid tid name STATE start time thread start sutime
2388019 1 ./testing RUNNING Jul 07 23:11 Jul 07 23:11 38.664
STATE RUNNING all time
# ldd testing
./testing:
libglib-2.0.so.0 => /usr/pkg/lib/libglib-2.0.so.0.3000.2 (0xb8200000)
libpcre.so.0 => /usr/pkg/lib/libpcre.so.0.0.1 (0xb82e3000)
libintl.so.8 => /usr/pkg/lib/libintl.so.8.1.1 (0xb8322000)
libiconv.so.2 => /usr/pkg/lib/libiconv.so.2.5.1 (0xb8333000)
libc.so.3 => /usr/lib/ldqnx.so.2 (0xb0300000)
libnbutil.so.1 => /usr/lib/libnbutil.so.1 (0xb8418000)
libsocket.so.3 => /lib/libsocket.so.3 (0xb8420000)
#
# ./date
pid tid name STATE start time thread start sutime
3051569 1 ./date RUNNING Jul 07 23:13 Jul 07 23:13 41.900
STATE RUNNING all time
#
# ./string
pid tid name STATE start time thread start sutime
3190833 1 ./string RUNNING Jul 07 23:14 Jul 07 23:14 74.769
STATE RUNNING all time
#
And so on with other tests
For the test I compiled mc from pkgsrc mc64 with -g and with gdb I found, that mc entered the STATE RUNNIG at using
g_new0().
But now I am not sure whether the problem isn't in other place.
At present I decided:
1. install new QNX 6.5.0
2. install QNXSP1
3. compile the Gnome software and needed other libraries
4. make a tests
|
|
|