Problem with devc-6.3.0SP1

Hi NG,

I’ve some problems with the char-DDK for 6.3.0SP: some objects seem to be
missing (ps_obj_store, ps_obj_load, …). When I type ‘make’ at the DDK’s
top level, I finally get:


make -j 1 -Cdevc -fMakefile
make[1]: Entering directory /usr/src/hardware/devc' make -j 1 -Cser8250 -fMakefile make[2]: Entering directory /usr/src/hardware/devc/ser8250’
make -j 1 -Carm -fMakefile
make[3]: Entering directory /usr/src/hardware/devc/ser8250/arm' make -j 1 -Cbe -fMakefile make[4]: Entering directory /usr/src/hardware/devc/ser8250/arm/be’
/bin/rm -f /usr/src/hardware/devc/ser8250/arm/be/devc-ser8250
/usr/qnx630/host/qnx6/x86/usr/bin/qcc -Vgcc_ntoarm -Wl,–no-keep-memory
-o/usr/src/hardware/devc/ser8250/ar
m/be/devc-ser8250 externs.o init.o intr.o main.o options.o
query_defdev.o sys_ttyinit.o
tto.o -L. -L/usr/qnx630/target/qnx6/armbe/lib
-L/usr/qnx630/target/qnx6/armbe/usr/lib -lio-char -lpm
-EB
/usr/qnx630/target/qnx6/armbe/usr/lib/libio-char.a(icpower.o): In function
iochar_regdrv_power': icpower.o(.text+0xa4c): undefined reference to drv_ps_obj_id_from_addr64’
/usr/qnx630/target/qnx6/armbe/usr/lib/libio-char.a(pstore.o): In function
pstore_save_state': pstore.o(.text+0x134): undefined reference to ps_obj_store’
pstore.o(.text+0x178): undefined reference to ps_obj_store' /usr/qnx630/target/qnx6/armbe/usr/lib/libio-char.a(pstore.o): In function pstore_restore_state’:
pstore.o(.text+0x1c8): undefined reference to ps_obj_loadable' pstore.o(.text+0x1e8): undefined reference to ps_obj_load’
pstore.o(.text+0x234): undefined reference to ps_obj_loadable' pstore.o(.text+0x254): undefined reference to ps_obj_load’
/usr/qnx630/target/qnx6/armbe/usr/lib/libio-char.a(pstore.o): In function
pstore_open': pstore.o(.text+0x2f8): undefined reference to ps_obj_open’
/usr/qnx630/target/qnx6/armbe/usr/lib/libio-char.a(pstore.o): In function
pstore_delete': pstore.o(.text+0x380): undefined reference to ps_obj_close’
pstore.o(.text+0x398): undefined reference to ps_obj_unlink' cc: /usr/qnx630/host/qnx6/x86/usr/bin/ntoarm-ld error 1 make[4]: *** [/usr/src/hardware/devc/ser8250/arm/be/devc-ser8250] Error 1 make[4]: Leaving directory /usr/src/hardware/devc/ser8250/arm/be’
make[3]: *** [all] Error 2
make[3]: Leaving directory /usr/src/hardware/devc/ser8250/arm' make[2]: *** [all] Error 2 make[2]: Leaving directory /usr/src/hardware/devc/ser8250’
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/hardware/devc’
make: *** [all] Error 2


Any ideas?


Mit freundlichen Grüßen aus Krefeld,
With best regards from Krefeld,

MBS GmbH
Karsten Hoffmann


MBS GmbH E-Mail: karsten.hoffmann@mbs-software.de
Römerstraße 15 Tel: +49 / 2151 / 72 94-38
D-47809 Krefeld Fax: +49 / 2151 / 72 94-50
http://www.mbs-software.de Mobil: +49 / 172 / 38 12 373

Just a guess, but are you compiling the char-DDK for QNX 6.3.0 SP1
against QNX 6.3.0 without SP1?

In the char DDK SP1 release notes, I recall some references to new power
saving features. The ps_ prefix seems suspicious.

Dan Giorgis
Tridium

Karsten P. Hoffmann wrote:

Hi NG,

I’ve some problems with the char-DDK for 6.3.0SP: some objects seem to be
missing (ps_obj_store, ps_obj_load, …). When I type ‘make’ at the DDK’s
top level, I finally get:


make -j 1 -Cdevc -fMakefile
make[1]: Entering directory /usr/src/hardware/devc' make -j 1 -Cser8250 -fMakefile make[2]: Entering directory /usr/src/hardware/devc/ser8250’
make -j 1 -Carm -fMakefile
make[3]: Entering directory /usr/src/hardware/devc/ser8250/arm' make -j 1 -Cbe -fMakefile make[4]: Entering directory /usr/src/hardware/devc/ser8250/arm/be’
/bin/rm -f /usr/src/hardware/devc/ser8250/arm/be/devc-ser8250
/usr/qnx630/host/qnx6/x86/usr/bin/qcc -Vgcc_ntoarm -Wl,–no-keep-memory
-o/usr/src/hardware/devc/ser8250/ar
m/be/devc-ser8250 externs.o init.o intr.o main.o options.o
query_defdev.o sys_ttyinit.o
tto.o -L. -L/usr/qnx630/target/qnx6/armbe/lib
-L/usr/qnx630/target/qnx6/armbe/usr/lib -lio-char -lpm
-EB
/usr/qnx630/target/qnx6/armbe/usr/lib/libio-char.a(icpower.o): In function
iochar_regdrv_power': icpower.o(.text+0xa4c): undefined reference to drv_ps_obj_id_from_addr64’
/usr/qnx630/target/qnx6/armbe/usr/lib/libio-char.a(pstore.o): In function
pstore_save_state': pstore.o(.text+0x134): undefined reference to ps_obj_store’
pstore.o(.text+0x178): undefined reference to ps_obj_store' /usr/qnx630/target/qnx6/armbe/usr/lib/libio-char.a(pstore.o): In function pstore_restore_state’:
pstore.o(.text+0x1c8): undefined reference to ps_obj_loadable' pstore.o(.text+0x1e8): undefined reference to ps_obj_load’
pstore.o(.text+0x234): undefined reference to ps_obj_loadable' pstore.o(.text+0x254): undefined reference to ps_obj_load’
/usr/qnx630/target/qnx6/armbe/usr/lib/libio-char.a(pstore.o): In function
pstore_open': pstore.o(.text+0x2f8): undefined reference to ps_obj_open’
/usr/qnx630/target/qnx6/armbe/usr/lib/libio-char.a(pstore.o): In function
pstore_delete': pstore.o(.text+0x380): undefined reference to ps_obj_close’
pstore.o(.text+0x398): undefined reference to ps_obj_unlink' cc: /usr/qnx630/host/qnx6/x86/usr/bin/ntoarm-ld error 1 make[4]: *** [/usr/src/hardware/devc/ser8250/arm/be/devc-ser8250] Error 1 make[4]: Leaving directory /usr/src/hardware/devc/ser8250/arm/be’
make[3]: *** [all] Error 2
make[3]: Leaving directory /usr/src/hardware/devc/ser8250/arm' make[2]: *** [all] Error 2 make[2]: Leaving directory /usr/src/hardware/devc/ser8250’
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/hardware/devc’
make: *** [all] Error 2


Any ideas?


Mit freundlichen Grüßen aus Krefeld,
With best regards from Krefeld,

MBS GmbH
Karsten Hoffmann

Dan Giorgis wrote:

Just a guess, but are you compiling the char-DDK for QNX 6.3.0 SP1
against QNX 6.3.0 without SP1?

In the char DDK SP1 release notes, I recall some references to new power
saving features. The ps_ prefix seems suspicious.

Sorry, no: I do have SP1 installed (just repeated it, to be safe :slight_smile: ).



Mit freundlichen Grüßen aus Krefeld,
With best regards from Krefeld,

MBS GmbH
Karsten Hoffmann


MBS GmbH E-Mail: karsten.hoffmann@mbs-software.de
Römerstraße 15 Tel: +49 / 2151 / 72 94-38
D-47809 Krefeld Fax: +49 / 2151 / 72 94-50
http://www.mbs-software.de Mobil: +49 / 172 / 38 12 373

Karsten P. Hoffmann <karsten.hoffmann@mbs-software.de> wrote:

Dan Giorgis wrote:

Just a guess, but are you compiling the char-DDK for QNX 6.3.0 SP1
against QNX 6.3.0 without SP1?

In the char DDK SP1 release notes, I recall some references to new power
saving features. The ps_ prefix seems suspicious.

Sorry, no: I do have SP1 installed (just repeated it, to be safe > :slight_smile: > ).

From the release notes of the TDK

  • You must also edit the common.mk file in hardware/devc and change the setting of LIBS to this:

LIBS=io-char pm ps

All the references that you’re not finding are in libps.a (which isn’t in your link line at the
moment)

Looking at your archive, its not set (which is odd because my LIBS line with the ddk was
already like that…)

Regardless, this should clear up your problem.

Thanks,

Peter

Am Thu, 24 Mar 2005 18:37:38 +0000 schrieb peterm:

From the release notes of the TDK

  • You must also edit the common.mk file in hardware/devc and change the setting of LIBS to this:

LIBS=io-char pm ps

All the references that you’re not finding are in libps.a (which isn’t in your link line at the
moment)

Must have overseen this, thanks a lot!