cc -o demo1 main.o callbacks.o -lsx -L/usr/X11R6/lib -L/usr/lib -lXaw -lXmu -lXpm -lXt -lX11 -lXext
main.o: In function `main':
main.o(.text+0x2d): undefined reference to `MainLoop'
main.o: In function `init_display':
main.o(.text+0x4b): undefined reference to `OpenDisplay'
main.o(.text+0x66): undefined reference to `MakeButton'
main.o(.text+0x79): undefined reference to `MakeButton'
main.o(.text+0x8c): undefined reference to `MakeButton'
main.o(.text+0x9c): undefined reference to `MakeLabel'
main.o(.text+0xb4): undefined reference to `MakeDrawArea'
main.o(.text+0xca): undefined reference to `SetWidgetPos'
main.o(.text+0xe0): undefined reference to `SetWidgetPos'
main.o(.text+0xf3): undefined reference to `SetWidgetPos'
main.o(.text+0x109): undefined reference to `SetWidgetPos'
main.o(.text+0x10e): undefined reference to `ShowDisplay'
main.o(.text+0x113): undefined reference to `GetStandardColors'
callbacks.o: In function `load':
callbacks.o(.text+0x1a): undefined reference to `GetString'
callbacks.o: In function `click_me':
callbacks.o(.text+0x54): undefined reference to `GetYesNo'
callbacks.o: In function `redisplay':
callbacks.o(.text+0x94): undefined reference to `ClearDrawArea'
callbacks.o: In function `draw_lines':
callbacks.o(.text+0xe1): undefined reference to `BLACK'
callbacks.o(.text+0xe7): undefined reference to `SetColor'
callbacks.o(.text+0xfa): undefined reference to `DrawLine'
callbacks.o(.text+0x109): undefined reference to `GREEN'
callbacks.o(.text+0x10f): undefined reference to `SetColor'
callbacks.o(.text+0x125): undefined reference to `DrawLine'
callbacks.o: In function `draw_random_lines':
callbacks.o(.text+0x19f): undefined reference to `RED'
callbacks.o(.text+0x1a5): undefined reference to `SetColor'
callbacks.o(.text+0x1b3): undefined reference to `DrawPolyline'
callbacks.o: In function `draw_points':
callbacks.o(.text+0x1d9): undefined reference to `BLUE'
callbacks.o(.text+0x1df): undefined reference to `SetColor'
callbacks.o(.text+0x20e): undefined reference to `DrawPixel'
callbacks.o: In function `draw_text':
callbacks.o(.text+0x230): undefined reference to `BLACK'
callbacks.o(.text+0x236): undefined reference to `SetColor'
callbacks.o(.text+0x259): undefined reference to `DrawText'
make: *** [demo1] Error 1
