[comp.windows.x] where is XmuCvtStringToJustify

yadav@andromeda.rutgers.edu.rutgers.edu (Ashish Yadav) (06/14/89)

Hi folks,

	While compiling my first Xprogram with buttons
using the Athena Widget Set I get the following message
while compiling with cc widg.c -lXmu -lXaw -lXt -lX11:

ld: Undefined symbol
   _XmuCvtStringToJustify

What am I missing ?
   
    ____   ____   ____   _____  _____         Ashish Yadav ( President )
   /      /   /  /        /      /            ***************************
  /      /   /  /___     /      /             yadav@andromeda.rutgers.edu      
 /      /   /      /    /      /             ayadav@topaz.rutgers.edu      
/____  /___/  ____/  __/__  __/__            ayadav@draco.BITNET

olaf@tubopal.UUCP (Olaf Heimburger) (06/14/89)

ayadav> Hi folks,

ayadav>         While compiling my first Xprogram with buttons
ayadav> using the Athena Widget Set I get the following message
ayadav> while compiling with cc widg.c -lXmu -lXaw -lXt -lX11:

ayadav> ld: Undefined symbol
ayadav>    _XmuCvtStringToJustify

ayadav> What am I missing ?

Nothing. You should compile your program with:

        cc widg.c -lXaw -lXmu -lXt -lX11

It is importent that -lXmu will be linked *after* -lXaw. I think you
should use imake to avoid such problems.

Regards,
--olaf