nanogui: Linking Microwin when cross-compile
Subject:
Linking Microwin when cross-compile
From:
tan yongzai ####@####.####
Date:
27 Jul 2006 16:45:48 +0100
Message-Id: <20060727154544.22581.qmail@web33102.mail.mud.yahoo.com>
Hi,
I tried to troubleshoot my earlier cross-compilation problems and stuck at the follow error. Really hope that someone can give me some pointer to advance forward. Many Thanks.
Linking mdemo ...
/opt/crosstool/gcc-2.95.3-glibc-2.2.5/arm-unknown-linux-gnu/bin/arm-unknown-linu
x-gnu-gcc -Wall -Wpointer-arith -O3 -ggdb -mstructure-size-boundary=8 -I. -I/ho
me/zai/embedded_linux/microwin/src/include -I. -I/usr/X11R6/include -Wall -Wpointer-arith -O3 -ggdb -mstructure-size-boundary=8 -I. -I/home/zai/embedded_linux
/microwin/src/include -I. -I/usr/X11R6/include -Wall -Wpointer-arith -O3 -ggdb
-mstructure-size-boundary=8 -I. -I/home/zai/embedded_linux/microwin/src/include
-I. -I/usr/X11R6/include /home/zai/embedded_linux/microwin/src/obj/demos/mwin/m
demo.o -o /home/zai/embedded_linux/microwin/src/bin/mdemo -lmwin -lmwimages -lm
-L/usr/X11R6/lib -lX11 -L/home/zai/embedded_linux/microwin/src/lib
/opt/crosstool/gcc-2.95.3-glibc-2.2.5/arm-unknown-linux-gnu/arm-unknown-linux-gn
u/bin/ld: cannot find -lX11
collect2: ld returned 1 exit status
make[2]: *** [/home/zai/embedded_linux/microwin/src/bin/mdemo] Error 1
make[2]: Leaving directory `/home/zai/embedded_linux/microwin/src/demos/mwin'
make[1]: *** [subdir-/home/zai/embedded_linux/microwin/src/demos/mwin] Error 2
make[1]: Leaving directory `/home/zai/embedded_linux/microwin/src/demos'
make: [all] Error 2 (ignored)
---------------------------------
How low will we go? Check out Yahoo! Messenger’s low PC-to-Phone call rates.