Don’t tell me I’m the one of the first to get an error compiling X11….

Pretty obvious below that the problem is the –L/usr/X11R6/lib is wrong and should be -L../../exports/lib

The library is in

./exports/lib/libxkbfile.so.1

./exports/lib/libxkbfile.so

./exports/lib/libxkbfile.so.1.0

 

I’m just not sure which file has to patched for this finish as it seem X11 does a complete “clean” when you re-make.

Looks like it’s trying to use the wrong compiler and not cross-compiling as it should.

X11 Imakefiles are not exactly my forte to figure out what to change.

 

rm -f ../../exports/bin/xkbcomp

cd ../../exports/bin && ln -s ../../programs/xkbcomp/xkbcomp .

making all in programs/xkbcomp/cross...

make[6]: Entering directory `/home/black/Blackbox/gumstix/gumstix-buildroot/build_arm_nofpu/xc/programs/xkbcomp/cross'

cc -I../../.. -I../../../exports/include -I.. -I../../../include/extensions      -c -o xkbcomp.o xkbcomp.c

cc -I../../.. -I../../../exports/include -I.. -I../../../include/extensions      -c -o xkbscan.o xkbscan.c

cc -I../../.. -I../../../exports/include -I.. -I../../../include/extensions      -c -o expr.o expr.c

cc -I../../.. -I../../../exports/include -I.. -I../../../include/extensions      -c -o vmod.o vmod.c

cc -I../../.. -I../../../exports/include -I.. -I../../../include/extensions      -c -o indicators.o indicators.c

cc -I../../.. -I../../../exports/include -I.. -I../../../include/extensions      -c -o misc.o misc.c

cc -I../../.. -I../../../exports/include -I.. -I../../../include/extensions      -c -o alias.o alias.c

cc -I../../.. -I../../../exports/include -I.. -I../../../include/extensions      -c -o keymap.o keymap.c

cc -I../../.. -I../../../exports/include -I.. -I../../../include/extensions      -c -o keycodes.o keycodes.c

cc -I../../.. -I../../../exports/include -I.. -I../../../include/extensions      -c -o keytypes.o keytypes.c

cc -I../../.. -I../../../exports/include -I.. -I../../../include/extensions      -c -o compat.o compat.c

cc -I../../.. -I../../../exports/include -I.. -I../../../include/extensions      -c -o action.o action.c

cc -I../../.. -I../../../exports/include -I.. -I../../../include/extensions      -c -o symbols.o symbols.c

cc -I../../.. -I../../../exports/include -I.. -I../../../include/extensions      -c -o geometry.o geometry.c

cc -I../../.. -I../../../exports/include -I.. -I../../../include/extensions      -c -o xkbpath.o xkbpath.c

cc -I../../.. -I../../../exports/include -I.. -I../../../include/extensions      -c -o listing.o listing.c

cc -I../../.. -I../../../exports/include -I.. -I../../../include/extensions      -c -o xkbparse.o xkbparse.c

cc -I../../.. -I../../../exports/include -I.. -I../../../include/extensions      -c -o parseutils.o parseutils.c

cc -I../../.. -I../../../exports/include -I.. -I../../../include/extensions      -c -o utils.o utils.c

rm -f xkbcomp

cc -I../../../exports/include -o xkbcomp  xkbcomp.o xkbscan.o expr.o vmod.o indicators.o misc.o alias.o                  keymap.o ke

ycodes.o keytypes.o compat.o action.o            symbols.o geometry.o xkbpath.o listing.o                xkbparse.o parseutils.o uti

ls.o  -L/usr/X11R6/lib -lxkbfile -lX11

 

Interesting that setxkbmap right before it is correct and works:

 

make[5]: Entering directory `/home/black/Blackbox/gumstix/gumstix-buildroot/build_arm_nofpu/xc/programs/setxkbmap'

/home/black/Blackbox/gumstix/gumstix-buildroot/build_arm_nofpu/staging_dir/bin/arm-linux-uclibcgnueabi-gcc -Os -ansi -pedantic -Wall

 -Wpointer-arith -Wundef   -I../../include/extensions  -I../.. -I../../exports/include   -Dlinux -D__arm__ -D_POSIX_SOURCE         -

D_BSD_SOURCE -D_GNU_SOURCE -DX_LOCALE  -DFUNCPROTO=15 -DNARROWPROTO   -DDFLT_XKB_CONFIG_ROOT=\"/usr/X11R6/lib/X11/xkb\" -D__XKBDEFRU

LES__='"xorg"'    -c -o setxkbmap.o setxkbmap.c

rm -f setxkbmap

/home/black/Blackbox/gumstix/gumstix-buildroot/build_arm_nofpu/staging_dir/bin/arm-linux-uclibcgnueabi-gcc -o setxkbmap -Os -ansi -p

edantic -Wall -Wpointer-arith -Wundef     -L../../exports/lib   setxkbmap.o -lxkbfile -lX11 -L/home/black/Blackbox/gumstix/gumstix-b

uildroot/build_arm_nofpu/staging_dir/arm-linux-uclibc/lib

___________________

Michael D. Black

Essex

black@essexcorp.com

 

 
 
 
 
 
 
 
This electronic message and any files transmitted with it contain information which may be privileged and/or proprietary. The information is intended for use solely by the intended recipient(s). If you are not the intended recipient, be aware that any disclosure, copying, distribution or use of this information is prohibited. If you have received this electronic message in error, please advise the sender by reply email or by telephone (301-939-7000) and delete the message.