Porting a Motif1.2 application onto Motif2.1

Hi,
I`ve got a Motif 1.2 application that I`m trying to bring
up under 2.1 and I keep getting warnings and errors.

I compiled my application with motif2.1 and X11R6 libraries.I did not get any build problems.But at the time of execution my application is killing without generating any core file.The following are the warning and error messages i got.

Warning Actions not found CBCancel
Warning Null child found in argument list to unmanage
Warning null child passed to XtManageChildren
Error Object "" does not have windowed ancestor
Error Couldn`t find per display information

Please provide some pointers for solving these issues.Should i need to change any of the existing 1.2 calls to 2.1 calls ?

Regards
Rajesh


hjwd

hjwd's picture

Porting a Motif1.2 application onto Motif2.1

Put a print statement between each line of code. Increment the number and print it out and that should narrow it down a bit.