I am trying to use PtFlash widget to show my simple flash (Macromedia Flash 4 object).
I have a Windows host, x86 QNX target, and QNX Momentics IDE 6.3.0 SP3.
the content of indLfiles:
MYLIB = /cygdrive/c/QNX630/target/qnx6/x86/lib/libsocket.so phexlib ph
the content of abLfiles:
include $(PROJECT_ROOT)/src/indLfiles
ABLIB = $(MYLIB) -l PtFlash -l asound -l Ap -l ph -l m
the console window shows:
make -k all --file=C:/QNX630/workspace/GTO-TOUCH-EXIT-V1.0a/QMakefile20477.tmp
make -j 1 -Csrc -fMakefile all
make[1]: Entering directory C:/QNX630/workspace/GTO-TOUCH-EXIT-V1.0a/src' make[1]: all’ is up to date.
make[1]: Leaving directory C:/QNX630/workspace/GTO-TOUCH-EXIT-V1.0a/src' make -j 1 -Cx86 -fMakefile all make[1]: Entering directory C:/QNX630/workspace/GTO-TOUCH-EXIT-V1.0a/x86’
make -j 1 -Co -fMakefile all
make[2]: Entering directory C:/QNX630/workspace/GTO-TOUCH-EXIT-V1.0a/x86/o' C:/QNX630/host/win32/x86/usr/bin/rm -f C:/QNX630/workspace/GTO-TOUCH-EXIT-V1.0a/x86/o/GTO-TOUCH-EXIT-V1.0a C:/QNX630/host/win32/x86/usr/bin/qcc -Vgcc_ntox86 -oC:/QNX630/workspace/GTO-TOUCH-EXIT-V1.0a/x86/o/GTO-TOUCH-EXIT-V1.0a abmain.o cdp.o checkkeys.o com.o console.o crc.o csd.o csdpack.o cst.o cstpack.o device.o dlgerror.o frmkhusus.o frmloginmaint.o frmloginperioda.o frmmain.o frmperioda.o frmrutin.o iol.o khusus.o lpr.o lprdisk.o lprpack.o lprproto.o pcs.o pcsbcd.o pcsdisk.o pcspack.o pcsutil.o prdutil.o rfs.o rts.o thread.o -L. -LC:/QNX630/target/qnx6/x86/lib -LC:/QNX630/target/qnx6/x86/usr/lib -l/cygdrive/c/QNX630/target/qnx6/x86/lib/libsocket.so -lphexlib -lph -lPtFlash -lasound -lAp -lphexlib -lph -lm -l/cygdrive/c/QNX630/target/qnx6/x86/lib/libsocket.so -lphexlib -lph -lPtFlash -lasound -lAp -lphexlib -lph -lm C:/QNX630/target/qnx6/x86/usr/lib/libPtFlash.a(phcommon.o): In function PlayerWnd::Resize(int, int)’:
phcommon.o(.text+0x41b): undefined reference to PgFlush' C:/QNX630/target/qnx6/x86/usr/lib/libPtFlash.a(phcommon.o): In function changeRegionFlags(Pt_widget *)’:
phcommon.o(.text+0x13b2): undefined reference to PhRegionQuery' C:/QNX630/target/qnx6/x86/usr/lib/libPtFlash.a(phimage.o): In function XPutImage(int *, Pt_widget *, Ph_gc *, XImage *, int, int, int, int, int, int)’:
phimage.o(.text+0xa4): undefined reference to PgSetRegion' phimage.o(.text+0xbc): undefined reference to PgDrawImagemx’
phimage.o(.text+0xc4): undefined reference to PgFlush' C:/QNX630/target/qnx6/x86/usr/lib/libPtFlash.a(phimage.o): In function PlayerWnd::DestroyXImage(void)’:
phimage.o(.text+0x450): undefined reference to PgFlush' C:/QNX630/target/qnx6/x86/usr/lib/libPtFlash.a(phtimer.o): In function PlayerWnd::OnTimer(void)’:
phtimer.o(.text+0x160): undefined reference to PgFlush' cc: C:/QNX630/host/win32/x86/usr/bin/ntox86-ld caught signal 1 make[2]: *** [C:/QNX630/workspace/GTO-TOUCH-EXIT-V1.0a/x86/o/GTO-TOUCH-EXIT-V1.0a] Error 1 make[2]: Target all’ not remade because of errors.
make[2]: Leaving directory C:/QNX630/workspace/GTO-TOUCH-EXIT-V1.0a/x86/o' make -j 1 -Co-g -fMakefile all make[1]: [all] Error 2 (ignored) make[2]: Entering directory C:/QNX630/workspace/GTO-TOUCH-EXIT-V1.0a/x86/o-g’
C:/QNX630/host/win32/x86/usr/bin/rm -f C:/QNX630/workspace/GTO-TOUCH-EXIT-V1.0a/x86/o-g/GTO-TOUCH-EXIT-V1.0a_g
C:/QNX630/host/win32/x86/usr/bin/qcc -Vgcc_ntox86 -oC:/QNX630/workspace/GTO-TOUCH-EXIT-V1.0a/x86/o-g/GTO-TOUCH-EXIT-V1.0a_g abmain.o cdp.o checkkeys.o com.o console.o crc.o csd.o csdpack.o cst.o cstpack.o device.o dlgerror.o frmkhusus.o frmloginmaint.o frmloginperioda.o frmmain.o frmperioda.o frmrutin.o iol.o khusus.o lpr.o lprdisk.o lprpack.o lprproto.o pcs.o pcsbcd.o pcsdisk.o pcspack.o pcsutil.o prdutil.o rfs.o rts.o thread.o -L. -LC:/QNX630/target/qnx6/x86/lib -LC:/QNX630/target/qnx6/x86/usr/lib -l/cygdrive/c/QNX630/target/qnx6/x86/lib/libsocket.so -lphexlib -lph -lPtFlash -lasound -lAp -lphexlib -lph -lm -l/cygdrive/c/QNX630/target/qnx6/x86/lib/libsocket.so -lphexlib -lph -lPtFlash -lasound -lAp -lphexlib -lph -lm -g
C:/QNX630/target/qnx6/x86/usr/lib/libPtFlash.a(phcommon.o): In function PlayerWnd::Resize(int, int)': phcommon.o(.text+0x41b): undefined reference to PgFlush’
C:/QNX630/target/qnx6/x86/usr/lib/libPtFlash.a(phcommon.o): In function changeRegionFlags(Pt_widget *)': phcommon.o(.text+0x13b2): undefined reference to PhRegionQuery’
C:/QNX630/target/qnx6/x86/usr/lib/libPtFlash.a(phimage.o): In function XPutImage(int *, Pt_widget *, Ph_gc *, XImage *, int, int, int, int, int, int)': phimage.o(.text+0xa4): undefined reference to PgSetRegion’
phimage.o(.text+0xbc): undefined reference to PgDrawImagemx' phimage.o(.text+0xc4): undefined reference to PgFlush’
C:/QNX630/target/qnx6/x86/usr/lib/libPtFlash.a(phimage.o): In function PlayerWnd::DestroyXImage(void)': phimage.o(.text+0x450): undefined reference to PgFlush’
C:/QNX630/target/qnx6/x86/usr/lib/libPtFlash.a(phtimer.o): In function PlayerWnd::OnTimer(void)': phtimer.o(.text+0x160): undefined reference to PgFlush’
cc: C:/QNX630/host/win32/x86/usr/bin/ntox86-ld caught signal 1
make[2]: *** [C:/QNX630/workspace/GTO-TOUCH-EXIT-V1.0a/x86/o-g/GTO-TOUCH-EXIT-V1.0a_g] Error 1
make[2]: Target all' not remade because of errors. make[2]: Leaving directory C:/QNX630/workspace/GTO-TOUCH-EXIT-V1.0a/x86/o-g’
make[1]: Leaving directory `C:/QNX630/workspace/GTO-TOUCH-EXIT-V1.0a/x86’
make[1]: [all] Error 2 (ignored)
I am stuck. What am I doing wrong?
Regards,
Lukman Talibo