[comp.sys.hp] X & Cadre Teamwork

khalfala@cs.strath.ac.uk (Mohamed K. Ahmed) (06/24/91)

   Hi,

I am presently working on a project which uses both X-windows and Teamwork. 
The following problem has arisen :

In isolation, my X-windows program is working properly, but when I add code
to access the Teamwork database and compile the whole program with the 
inclusion of the Teamwork library (twk_lib.a) in my compilation procedure,
the compilation completes successfully but when excuted the X-application
no longer functions correctly, and the following message appears on the 
screen :

   XToolkit Warning : Actions not found  

Even after removing all teamwork access calles but leaving the "twk_lib.a"
library in my "makefile", after compilation the same problem occurs.

My suspeicion is both the X & Teamwork libraries contain functions with
identical names.

The following resources have been used : Toolkit 
 
    X-windows version is    11 Release 4
    Machine type            hp 9000/360
    Operating system        HP-UX V 7.0

The following procedure used to compile the program :

     cc  -O -I/usr/hp64000/hptwk/dba  -Wc,-Nd4000 -Wc,-Nd20000 -Wc,-Ns4000
         -Wc,-Nt50000 -DSYSV -DNLS16 -Dhp9000s300 -o object source.c -lXm 
         -lXt -lX11 -lPW /usr/hp64000/hptwk/dba/twk_lib.a -lm


If anyone has come across this problem and could help, please reply via
email.

               Your help is greatly appreciated.
                  
                   cheers in advance.

  Khalfala

  khalfala@cs.strath.ac.uk