Can't compile motif lib for j2sdk

Tushar Teredesai linux_from_scratch at
Sat Feb 21 16:28:02 PST 2004

Volker Sewing wrote:

>i have some trouble to compile j2sdk. It seems that the included motif library can't  
>find the X11 header files. XFree is installed as usual in /usr/X11R6 and the needed  
>header files are in /usr/X11R6/include/X11  
>The make command in motif/lib/Xm gives me the following error (and about 2000 more  
>error lines) :  
>gcc -c -ansi -pedantic -I. -I.. -I./exports/include  -I. -I./exports/include  
>-I./exports/include  -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE  
>ArrowB.c -o unshared/ArrowB.o  
>In file included from ../Xm/ArrowB.h:17,  
>                 from ../Xm/ArrowBP.h:20,  
>                 from ArrowB.c:19:  
>./Xm/Xm.h:30:27: X11/Intrinsic.h: No such file or directory  
>./Xm/Xm.h:31:23: X11/Shell.h: No such file or directory  
>./Xm/Xm.h:32:23: X11/Xatom.h: No such file or directory  
Looks like you missed the X11 compatibility links. You can choose to 
make those links or add -I/usr/X11R6/include to the compilation flags.

Tushar Teredesai
  mailto:tushar at

Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.

More information about the blfs-support mailing list