* [Buildroot] x11r7-matchbox-tslib patch [not found] <2825817.260931192589489912.JavaMail.nabble@isper.nabble.com> @ 2007-10-17 9:44 ` softa at ttechgroup.com 2007-10-17 12:22 ` Leonid 0 siblings, 1 reply; 8+ messages in thread From: softa at ttechgroup.com @ 2007-10-17 9:44 UTC (permalink / raw) To: buildroot Hi Leonid, try to disable building of test and docs subdir! the easiest way is to edit /libmatchbox-1.9/Makefile.am, remove the test and docs subdir. generate automake files, reconfigure .... or add this line: $(SED) 's:^SUBDIRS = libmb doc tests.*:SUBDIRS = libmb:g' $(MATCHBOX_LIB_DIR)/Makefile at the end of configure target in /package/matchbox.mk file: here it is (part of my matchbox.mk): ... $(MATCHBOX_LIB_DIR)/.configured: $(MATCHBOX_LIB_DIR)/.unpacked (cd $(MATCHBOX_LIB_DIR); \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/usr/include/freetype2" \ LDFLAGS="-L$(STAGING_DIR)/usr/lib" \ PKG_CONFIG_PATH="$(STAGING_DIR)/usr/lib/pkgconfig" \ ./configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ --build=$(GNU_HOST_NAME) \ --disable-static \ --prefix=$(STAGING_DIR)/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --datadir=/usr/share/matchbox \ --libdir=$(STAGING_DIR)/usr/lib \ --includedir=$(STAGING_DIR)/usr/include \ --enable-expat \ --disable-doxygen-docs \ --with-expat-includes=$(STAGING_DIR)/usr/include \ --with-expat-lib=$(STAGING_DIR)/usr/lib \ --with-x \ --x-includes=$(STAGING_DIR)/usr/include \ --x-libraries=$(STAGING_DIR)/usr/lib \ $(MATCHBOX_LIB_OPTS) \ ); $(SED) 's:^SUBDIRS = libmb doc tests.*:SUBDIRS = libmb:g' $(MATCHBOX_LIB_DIR)/Makefile touch $(MATCHBOX_LIB_DIR)/.configured ... clean, reconfigure, .... and everything will be ok! (dont forget to delete .configured marker file) Best Regards, Assen ----- Original Message ----- From: <Leonid@a-k-a.net> To: <softa@ttechgroup.com> Sent: Wednesday, October 17, 2007 5:51 AM Subject: x11r7-matchbox-tslib patch > Hi, Softa: > > I am using buildroot snapshot of 9/24/07 with (I hope) your patch in. I > have the following failure during libmatchbox compilation: > > /home/leonid/xwin/software/linux/rootfs/buildroot/stage/usr/include -MT > dump-image.o -MD -MP -MF ".deps/dump-image.Tpo" -c -o dump-image.o > dump-image.c; \ > then mv -f ".deps/dump-image.Tpo" ".deps/dump-image.Po"; else rm -f > ".deps/dump-image.Tpo"; exit 1; fi > /bin/sh ../libtool --tag=CC --mode=link > /opt/brootX/arm-gcc-uclibc/bin/arm-linux-gcc -Os -pipe -I/home/leonid/xwin/software/linux/rootfs/buildroot/stage/include > -I/home/leonid/xwin/software/linux/rootfs/buildroot/stage/usr/include -I/opt/brootX/arm-gcc-uclibc/arm-linux/include > -Os -pipe -I/home/leonid/xwin/software/linux/rootfs/buildroot/stage/include > -I/home/leonid/xwin/software/linux/rootfs/buildroot/stage/usr/include -I/opt/brootX/arm-gcc-uclibc/arm-linux/include > -I/home/leonid/xwin/software/linux/rootfs/buildroot/stage/usr/include -L../libmb > -lmb -L/home/leonid/xwin/software/linux/rootfs/buildroot/stage/usr/lib -o > dump-image dump-image.o > mkdir .libs > /opt/brootX/arm-gcc-uclibc/bin/arm-linux-gcc -Os -pipe -I/home/leonid/xwin/software/linux/rootfs/buildroot/stage/include > -I/home/leonid/xwin/software/linux/rootfs/buildroot/stage/usr/include -I/opt/brootX/arm-gcc-uclibc/arm-linux/include > -Os -pipe -I/home/leonid/xwin/software/linux/rootfs/buildroot/stage/include > -I/home/leonid/xwin/software/linux/rootfs/buildroot/stage/usr/include -I/opt/brootX/arm-gcc-uclibc/arm-linux/include > -I/home/leonid/xwin/software/linux/rootfs/buildroot/stage/usr/include -o > .libs/dump-image > ump-image.o -L/home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatchbox-1.9/libmb > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatchbox-1.9/libmb/.libs/libmb.so > -L/home/leonid/xwin/software/linux/rootfs/buildroot/stage/usr/lib -Wl,--rpath > -Wl,/home/leonid/xwin/software/linux/rootfs/buildroot/stage/usr/lib > dump-image.o: In function `main': > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatchbox-1.9/tests/dump-image.c:30: > undefined reference to `XOpenDisplay' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatchbox-1.9/tests/dump-image.c:41: > undefined reference to `XCloseDisplay' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatchbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XFreePixmap' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatchbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XShmDetach' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatchbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XDrawString' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatchbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XGrabKeyboard' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatchbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XSync' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatchbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XDrawLines' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatchbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XMapWindow' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatchbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XPending' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatchbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XCreateSimpleWindow' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatchbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XCreateImage' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatchbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XSetForeground' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatchbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XGetWindowAttributes' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatchbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XResizeWindow' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatchbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XFreeGC' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatchbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XCopyArea' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatchbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XUngrabServer' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatchbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XGrabPointer' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatchbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XGetImage' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatchbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XTextWidth' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatchbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XSendEvent' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatchbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XFree' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatchbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XGetWindowProperty' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatchbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XSetErrorHandler' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatchbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XChangeProperty' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatchbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XDestroyWindow' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatchbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XGetSelectionOwner' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatchbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XKeycodeToKeysym' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatchbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XParseColor' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatchbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XRefreshKeyboardMapping' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatchbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XQueryColor' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatchbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XFreeFont' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatchbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XShmCreateImage' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatchbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XSetCommand' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatchbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XShmPutImage' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatchbox-1.9/libmb/.libs/libmb.so: > undefined reference to `index' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatchbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XSetWindowBackgroundPixmap' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatchbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XSynchronize' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatchbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XShmAttach' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatchbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XMaskEvent' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatchbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XGrabServer' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatchbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XLoadQueryFont' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatchbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XPeekEvent' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatchbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XTranslateCoordinates' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatchbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XCheckTypedEvent' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatchbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XQueryColors' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatchbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XInternAtom' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatchbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XAllocColor' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatchbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XSetFont' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatchbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XShmQueryExtension' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatchbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XFlush' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatchbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XCreateWindow' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatchbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XNextEvent' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatchbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XDrawRectangle' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatchbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XSelectInput' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatchbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XGetGeometry' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatchbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XSetLineAttributes' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatchbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XSetStandardProperties' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatchbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XEventsQueued' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatchbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XClearWindow' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatchbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XFillRectangle' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatchbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XUngrabKeyboard' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatchbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XUngrabPointer' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatchbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XPutImage' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatchbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XCreatePixmap' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatchbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XCreateGC' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatchbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XMapRaised' > collect2: ld returned 1 exit status > make[4]: *** [dump-image] Error 1 > make[4]: Leaving directory > `/home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatchbox-1.9/tests' > make[3]: *** [all-recursive] Error 1 > make[3]: Leaving directory > `/home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatchbox-1.9/tests' > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory > `/home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatchbox-1.9' > make[1]: *** [all] Error 2 > make[1]: Leaving directory > `/home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatchbox-1.9' > make: *** > [/home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatchbox-1.9/.compiled] > Error 2 > > Can you advise something? > > Thanks, > > Leonid. > softa wrote: >> >> Hello All, >> >> Please find attached patch that adds to current buildroot: >> - x11r7 libs and kdrive (TinyX) servers >> - tslib (Touchscreen support & utils) >> - matchbox (window manager, panel, desktop, etc...) >> >> Any remarks and bug-reports are welcome! >> >> Best Regards, >> Assen Stoyanov >> >> No virus found in this outgoing message. >> Checked by AVG Free Edition. >> Version: 7.5.467 / Virus Database: 269.7.1/807 - Release Date: 5/16/2007 >> 6:05 PM >> >> _______________________________________________ >> buildroot mailing list >> buildroot at uclibc.org >> http://busybox.net/mailman/listinfo/buildroot >> > Quoted from: > http://www.nabble.com/x11r7-matchbox-tslib-patch-tf3770960.html#a10661463 > ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] x11r7-matchbox-tslib patch 2007-10-17 9:44 ` [Buildroot] x11r7-matchbox-tslib patch softa at ttechgroup.com @ 2007-10-17 12:22 ` Leonid 2007-10-17 14:41 ` Leonid 0 siblings, 1 reply; 8+ messages in thread From: Leonid @ 2007-10-17 12:22 UTC (permalink / raw) To: buildroot Hi, Softa: Thank you for the suggestion, compilation went further indeed. Now it fails in different place, some references are undefined again: opt/brootX/arm-gcc-uclibc/bin/arm-linux-gcc -Os -pipe -I/home/leonid/xwin/software/linux/rootfs/buildroot/stage/include -I/home/leonid/xwin/software/linux/rootfs/buildroot/stage/usr/include -I/opt/brootX/arm-gcc-uclibc/arm-linux/include -Os -pipe -I/home/leonid/xwin/software/linux/rootfs/buildroot/stage/include -I/home/leonid/xwin/software/linux/rootfs/buildroot/stage/usr/include -I/opt/brootX/arm-gcc-uclibc/arm-linux/include -I/home/leonid/xwin/software/linux/rootfs/buildroot/stage/usr/include -L/home/leonid/xwin/software/linux/rootfs/buildroot/stage/usr/lib -o matchbox-remote matchbox-remote.o matchbox-remote.o: In function `send_input_manager_request': /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/matchbo x-window-manager-1.2/src/matchbox-remote.c:182: undefined reference to `XInternAtom' /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/matchbo x-window-manager-1.2/src/matchbox-remote.c:197: undefined reference to `XSendEvent' matchbox-remote.o: In function `mbcommand': /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/matchbo x-window-manager-1.2/src/matchbox-remote.c:130: undefined reference to `XInternAtom' /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/matchbo x-window-manager-1.2/src/matchbox-remote.c:136: undefined reference to `XInternAtom' /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/matchbo x-window-manager-1.2/src/matchbox-remote.c:137: undefined reference to `XChangeProperty' /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/matchbo x-window-manager-1.2/src/matchbox-remote.c:144: undefined reference to `XGetSelectionOwner' /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/matchbo x-window-manager-1.2/src/matchbox-remote.c:160: undefined reference to `XInternAtom' /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/matchbo x-window-manager-1.2/src/matchbox-remote.c:170: undefined reference to `XSendEvent' matchbox-remote.o: In function `main': /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/matchbo x-window-manager-1.2/src/matchbox-remote.c:235: undefined reference to `XOpenDisplay' matchbox-remote.o: In function `getRootProperty': /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/matchbo x-window-manager-1.2/src/matchbox-remote.c:63: undefined reference to `XInternAtom' /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/matchbo x-window-manager-1.2/src/matchbox-remote.c:69: undefined reference to `XGetWindowProperty' matchbox-remote.o: In function `mbpanelcommand': /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/matchbo x-window-manager-1.2/src/matchbox-remote.c:95: undefined reference to `XInternAtom' /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/matchbo x-window-manager-1.2/src/matchbox-remote.c:96: undefined reference to `XInternAtom' /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/matchbo x-window-manager-1.2/src/matchbox-remote.c:100: undefined reference to `XGetSelectionOwner' /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/matchbo x-window-manager-1.2/src/matchbox-remote.c:111: undefined reference to `XSendEvent' matchbox-remote.o: In function `main': /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/matchbo x-window-manager-1.2/src/matchbox-remote.c:303: undefined reference to `XSync' /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/matchbo x-window-manager-1.2/src/matchbox-remote.c:304: undefined reference to `XCloseDisplay' collect2: ld returned 1 exit status make[3]: *** [matchbox-remote] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory `/home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/matchb ox-window-manager-1.2/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/matchb ox-window-manager-1.2' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/matchb ox-window-manager-1.2' make: *** [/home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/matchb ox-window-manager-1.2/.compiled] Error 2 Looks like some library is not there... Thanks, Leonid. -----Original Message----- From: softa@ttechgroup.com [mailto:softa at ttechgroup.com] Sent: Wednesday, October 17, 2007 2:44 AM To: Leonid Cc: buildroot at uclibc.org Subject: Re: x11r7-matchbox-tslib patch Hi Leonid, try to disable building of test and docs subdir! the easiest way is to edit /libmatchbox-1.9/Makefile.am, remove the test and docs subdir. generate automake files, reconfigure .... or add this line: $(SED) 's:^SUBDIRS = libmb doc tests.*:SUBDIRS = libmb:g' $(MATCHBOX_LIB_DIR)/Makefile at the end of configure target in /package/matchbox.mk file: here it is (part of my matchbox.mk): ... $(MATCHBOX_LIB_DIR)/.configured: $(MATCHBOX_LIB_DIR)/.unpacked (cd $(MATCHBOX_LIB_DIR); \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/usr/include/freetype2" \ LDFLAGS="-L$(STAGING_DIR)/usr/lib" \ PKG_CONFIG_PATH="$(STAGING_DIR)/usr/lib/pkgconfig" \ ./configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ --build=$(GNU_HOST_NAME) \ --disable-static \ --prefix=$(STAGING_DIR)/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --datadir=/usr/share/matchbox \ --libdir=$(STAGING_DIR)/usr/lib \ --includedir=$(STAGING_DIR)/usr/include \ --enable-expat \ --disable-doxygen-docs \ --with-expat-includes=$(STAGING_DIR)/usr/include \ --with-expat-lib=$(STAGING_DIR)/usr/lib \ --with-x \ --x-includes=$(STAGING_DIR)/usr/include \ --x-libraries=$(STAGING_DIR)/usr/lib \ $(MATCHBOX_LIB_OPTS) \ ); $(SED) 's:^SUBDIRS = libmb doc tests.*:SUBDIRS = libmb:g' $(MATCHBOX_LIB_DIR)/Makefile touch $(MATCHBOX_LIB_DIR)/.configured ... clean, reconfigure, .... and everything will be ok! (dont forget to delete .configured marker file) Best Regards, Assen ----- Original Message ----- From: <Leonid@a-k-a.net> To: <softa@ttechgroup.com> Sent: Wednesday, October 17, 2007 5:51 AM Subject: x11r7-matchbox-tslib patch > Hi, Softa: > > I am using buildroot snapshot of 9/24/07 with (I hope) your patch in. I > have the following failure during libmatchbox compilation: > > /home/leonid/xwin/software/linux/rootfs/buildroot/stage/usr/include -MT > dump-image.o -MD -MP -MF ".deps/dump-image.Tpo" -c -o dump-image.o > dump-image.c; \ > then mv -f ".deps/dump-image.Tpo" ".deps/dump-image.Po"; else rm -f > ".deps/dump-image.Tpo"; exit 1; fi > /bin/sh ../libtool --tag=CC --mode=link > /opt/brootX/arm-gcc-uclibc/bin/arm-linux-gcc -Os -pipe -I/home/leonid/xwin/software/linux/rootfs/buildroot/stage/include > -I/home/leonid/xwin/software/linux/rootfs/buildroot/stage/usr/include -I/opt/brootX/arm-gcc-uclibc/arm-linux/include > -Os -pipe -I/home/leonid/xwin/software/linux/rootfs/buildroot/stage/include > -I/home/leonid/xwin/software/linux/rootfs/buildroot/stage/usr/include -I/opt/brootX/arm-gcc-uclibc/arm-linux/include > -I/home/leonid/xwin/software/linux/rootfs/buildroot/stage/usr/include -L../libmb > -lmb -L/home/leonid/xwin/software/linux/rootfs/buildroot/stage/usr/lib -o > dump-image dump-image.o > mkdir .libs > /opt/brootX/arm-gcc-uclibc/bin/arm-linux-gcc -Os -pipe -I/home/leonid/xwin/software/linux/rootfs/buildroot/stage/include > -I/home/leonid/xwin/software/linux/rootfs/buildroot/stage/usr/include -I/opt/brootX/arm-gcc-uclibc/arm-linux/include > -Os -pipe -I/home/leonid/xwin/software/linux/rootfs/buildroot/stage/include > -I/home/leonid/xwin/software/linux/rootfs/buildroot/stage/usr/include -I/opt/brootX/arm-gcc-uclibc/arm-linux/include > -I/home/leonid/xwin/software/linux/rootfs/buildroot/stage/usr/include -o > .libs/dump-image > ump-image.o -L/home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libma tchbox-1.9/libmb > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so > -L/home/leonid/xwin/software/linux/rootfs/buildroot/stage/usr/lib -Wl,--rpath > -Wl,/home/leonid/xwin/software/linux/rootfs/buildroot/stage/usr/lib > dump-image.o: In function `main': > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/tests/dump-image.c:30: > undefined reference to `XOpenDisplay' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/tests/dump-image.c:41: > undefined reference to `XCloseDisplay' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XFreePixmap' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XShmDetach' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XDrawString' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XGrabKeyboard' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XSync' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XDrawLines' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XMapWindow' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XPending' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XCreateSimpleWindow' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XCreateImage' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XSetForeground' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XGetWindowAttributes' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XResizeWindow' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XFreeGC' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XCopyArea' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XUngrabServer' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XGrabPointer' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XGetImage' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XTextWidth' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XSendEvent' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XFree' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XGetWindowProperty' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XSetErrorHandler' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XChangeProperty' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XDestroyWindow' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XGetSelectionOwner' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XKeycodeToKeysym' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XParseColor' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XRefreshKeyboardMapping' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XQueryColor' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XFreeFont' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XShmCreateImage' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XSetCommand' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XShmPutImage' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `index' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XSetWindowBackgroundPixmap' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XSynchronize' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XShmAttach' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XMaskEvent' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XGrabServer' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XLoadQueryFont' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XPeekEvent' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XTranslateCoordinates' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XCheckTypedEvent' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XQueryColors' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XInternAtom' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XAllocColor' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XSetFont' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XShmQueryExtension' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XFlush' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XCreateWindow' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XNextEvent' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XDrawRectangle' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XSelectInput' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XGetGeometry' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XSetLineAttributes' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XSetStandardProperties' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XEventsQueued' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XClearWindow' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XFillRectangle' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XUngrabKeyboard' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XUngrabPointer' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XPutImage' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XCreatePixmap' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XCreateGC' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XMapRaised' > collect2: ld returned 1 exit status > make[4]: *** [dump-image] Error 1 > make[4]: Leaving directory > `/home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmat chbox-1.9/tests' > make[3]: *** [all-recursive] Error 1 > make[3]: Leaving directory > `/home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmat chbox-1.9/tests' > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory > `/home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmat chbox-1.9' > make[1]: *** [all] Error 2 > make[1]: Leaving directory > `/home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmat chbox-1.9' > make: *** > [/home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmat chbox-1.9/.compiled] > Error 2 > > Can you advise something? > > Thanks, > > Leonid. > softa wrote: >> >> Hello All, >> >> Please find attached patch that adds to current buildroot: >> - x11r7 libs and kdrive (TinyX) servers >> - tslib (Touchscreen support & utils) >> - matchbox (window manager, panel, desktop, etc...) >> >> Any remarks and bug-reports are welcome! >> >> Best Regards, >> Assen Stoyanov >> >> No virus found in this outgoing message. >> Checked by AVG Free Edition. >> Version: 7.5.467 / Virus Database: 269.7.1/807 - Release Date: 5/16/2007 >> 6:05 PM >> >> _______________________________________________ >> buildroot mailing list >> buildroot at uclibc.org >> http://busybox.net/mailman/listinfo/buildroot >> > Quoted from: > http://www.nabble.com/x11r7-matchbox-tslib-patch-tf3770960.html#a1066146 3 > ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] x11r7-matchbox-tslib patch 2007-10-17 12:22 ` Leonid @ 2007-10-17 14:41 ` Leonid 2007-10-18 7:18 ` softa at ttechgroup.com 0 siblings, 1 reply; 8+ messages in thread From: Leonid @ 2007-10-17 14:41 UTC (permalink / raw) To: buildroot Actually I have all libraries installed in STAGING directory and all these references are present. However it looks like certain -lX... options are missed. I tried to play adding them here and there but to no avail. What is correct place to add new libraries in matchbox compilation? Thanks, Leonid. -----Original Message----- From: Leonid Sent: Wednesday, October 17, 2007 5:23 AM To: 'softa at ttechgroup.com' Cc: buildroot at uclibc.org Subject: RE: x11r7-matchbox-tslib patch Hi, Softa: Thank you for the suggestion, compilation went further indeed. Now it fails in different place, some references are undefined again: opt/brootX/arm-gcc-uclibc/bin/arm-linux-gcc -Os -pipe -I/home/leonid/xwin/software/linux/rootfs/buildroot/stage/include -I/home/leonid/xwin/software/linux/rootfs/buildroot/stage/usr/include -I/opt/brootX/arm-gcc-uclibc/arm-linux/include -Os -pipe -I/home/leonid/xwin/software/linux/rootfs/buildroot/stage/include -I/home/leonid/xwin/software/linux/rootfs/buildroot/stage/usr/include -I/opt/brootX/arm-gcc-uclibc/arm-linux/include -I/home/leonid/xwin/software/linux/rootfs/buildroot/stage/usr/include -L/home/leonid/xwin/software/linux/rootfs/buildroot/stage/usr/lib -o matchbox-remote matchbox-remote.o matchbox-remote.o: In function `send_input_manager_request': /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/matchbo x-window-manager-1.2/src/matchbox-remote.c:182: undefined reference to `XInternAtom' /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/matchbo x-window-manager-1.2/src/matchbox-remote.c:197: undefined reference to `XSendEvent' matchbox-remote.o: In function `mbcommand': /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/matchbo x-window-manager-1.2/src/matchbox-remote.c:130: undefined reference to `XInternAtom' /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/matchbo x-window-manager-1.2/src/matchbox-remote.c:136: undefined reference to `XInternAtom' /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/matchbo x-window-manager-1.2/src/matchbox-remote.c:137: undefined reference to `XChangeProperty' /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/matchbo x-window-manager-1.2/src/matchbox-remote.c:144: undefined reference to `XGetSelectionOwner' /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/matchbo x-window-manager-1.2/src/matchbox-remote.c:160: undefined reference to `XInternAtom' /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/matchbo x-window-manager-1.2/src/matchbox-remote.c:170: undefined reference to `XSendEvent' matchbox-remote.o: In function `main': /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/matchbo x-window-manager-1.2/src/matchbox-remote.c:235: undefined reference to `XOpenDisplay' matchbox-remote.o: In function `getRootProperty': /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/matchbo x-window-manager-1.2/src/matchbox-remote.c:63: undefined reference to `XInternAtom' /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/matchbo x-window-manager-1.2/src/matchbox-remote.c:69: undefined reference to `XGetWindowProperty' matchbox-remote.o: In function `mbpanelcommand': /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/matchbo x-window-manager-1.2/src/matchbox-remote.c:95: undefined reference to `XInternAtom' /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/matchbo x-window-manager-1.2/src/matchbox-remote.c:96: undefined reference to `XInternAtom' /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/matchbo x-window-manager-1.2/src/matchbox-remote.c:100: undefined reference to `XGetSelectionOwner' /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/matchbo x-window-manager-1.2/src/matchbox-remote.c:111: undefined reference to `XSendEvent' matchbox-remote.o: In function `main': /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/matchbo x-window-manager-1.2/src/matchbox-remote.c:303: undefined reference to `XSync' /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/matchbo x-window-manager-1.2/src/matchbox-remote.c:304: undefined reference to `XCloseDisplay' collect2: ld returned 1 exit status make[3]: *** [matchbox-remote] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory `/home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/matchb ox-window-manager-1.2/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/matchb ox-window-manager-1.2' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/matchb ox-window-manager-1.2' make: *** [/home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/matchb ox-window-manager-1.2/.compiled] Error 2 Looks like some library is not there... Thanks, Leonid. -----Original Message----- From: softa@ttechgroup.com [mailto:softa at ttechgroup.com] Sent: Wednesday, October 17, 2007 2:44 AM To: Leonid Cc: buildroot at uclibc.org Subject: Re: x11r7-matchbox-tslib patch Hi Leonid, try to disable building of test and docs subdir! the easiest way is to edit /libmatchbox-1.9/Makefile.am, remove the test and docs subdir. generate automake files, reconfigure .... or add this line: $(SED) 's:^SUBDIRS = libmb doc tests.*:SUBDIRS = libmb:g' $(MATCHBOX_LIB_DIR)/Makefile at the end of configure target in /package/matchbox.mk file: here it is (part of my matchbox.mk): ... $(MATCHBOX_LIB_DIR)/.configured: $(MATCHBOX_LIB_DIR)/.unpacked (cd $(MATCHBOX_LIB_DIR); \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/usr/include/freetype2" \ LDFLAGS="-L$(STAGING_DIR)/usr/lib" \ PKG_CONFIG_PATH="$(STAGING_DIR)/usr/lib/pkgconfig" \ ./configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ --build=$(GNU_HOST_NAME) \ --disable-static \ --prefix=$(STAGING_DIR)/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --datadir=/usr/share/matchbox \ --libdir=$(STAGING_DIR)/usr/lib \ --includedir=$(STAGING_DIR)/usr/include \ --enable-expat \ --disable-doxygen-docs \ --with-expat-includes=$(STAGING_DIR)/usr/include \ --with-expat-lib=$(STAGING_DIR)/usr/lib \ --with-x \ --x-includes=$(STAGING_DIR)/usr/include \ --x-libraries=$(STAGING_DIR)/usr/lib \ $(MATCHBOX_LIB_OPTS) \ ); $(SED) 's:^SUBDIRS = libmb doc tests.*:SUBDIRS = libmb:g' $(MATCHBOX_LIB_DIR)/Makefile touch $(MATCHBOX_LIB_DIR)/.configured ... clean, reconfigure, .... and everything will be ok! (dont forget to delete .configured marker file) Best Regards, Assen ----- Original Message ----- From: <Leonid@a-k-a.net> To: <softa@ttechgroup.com> Sent: Wednesday, October 17, 2007 5:51 AM Subject: x11r7-matchbox-tslib patch > Hi, Softa: > > I am using buildroot snapshot of 9/24/07 with (I hope) your patch in. I > have the following failure during libmatchbox compilation: > > /home/leonid/xwin/software/linux/rootfs/buildroot/stage/usr/include -MT > dump-image.o -MD -MP -MF ".deps/dump-image.Tpo" -c -o dump-image.o > dump-image.c; \ > then mv -f ".deps/dump-image.Tpo" ".deps/dump-image.Po"; else rm -f > ".deps/dump-image.Tpo"; exit 1; fi > /bin/sh ../libtool --tag=CC --mode=link > /opt/brootX/arm-gcc-uclibc/bin/arm-linux-gcc -Os -pipe -I/home/leonid/xwin/software/linux/rootfs/buildroot/stage/include > -I/home/leonid/xwin/software/linux/rootfs/buildroot/stage/usr/include -I/opt/brootX/arm-gcc-uclibc/arm-linux/include > -Os -pipe -I/home/leonid/xwin/software/linux/rootfs/buildroot/stage/include > -I/home/leonid/xwin/software/linux/rootfs/buildroot/stage/usr/include -I/opt/brootX/arm-gcc-uclibc/arm-linux/include > -I/home/leonid/xwin/software/linux/rootfs/buildroot/stage/usr/include -L../libmb > -lmb -L/home/leonid/xwin/software/linux/rootfs/buildroot/stage/usr/lib -o > dump-image dump-image.o > mkdir .libs > /opt/brootX/arm-gcc-uclibc/bin/arm-linux-gcc -Os -pipe -I/home/leonid/xwin/software/linux/rootfs/buildroot/stage/include > -I/home/leonid/xwin/software/linux/rootfs/buildroot/stage/usr/include -I/opt/brootX/arm-gcc-uclibc/arm-linux/include > -Os -pipe -I/home/leonid/xwin/software/linux/rootfs/buildroot/stage/include > -I/home/leonid/xwin/software/linux/rootfs/buildroot/stage/usr/include -I/opt/brootX/arm-gcc-uclibc/arm-linux/include > -I/home/leonid/xwin/software/linux/rootfs/buildroot/stage/usr/include -o > .libs/dump-image > ump-image.o -L/home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libma tchbox-1.9/libmb > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so > -L/home/leonid/xwin/software/linux/rootfs/buildroot/stage/usr/lib -Wl,--rpath > -Wl,/home/leonid/xwin/software/linux/rootfs/buildroot/stage/usr/lib > dump-image.o: In function `main': > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/tests/dump-image.c:30: > undefined reference to `XOpenDisplay' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/tests/dump-image.c:41: > undefined reference to `XCloseDisplay' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XFreePixmap' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XShmDetach' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XDrawString' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XGrabKeyboard' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XSync' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XDrawLines' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XMapWindow' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XPending' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XCreateSimpleWindow' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XCreateImage' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XSetForeground' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XGetWindowAttributes' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XResizeWindow' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XFreeGC' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XCopyArea' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XUngrabServer' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XGrabPointer' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XGetImage' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XTextWidth' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XSendEvent' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XFree' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XGetWindowProperty' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XSetErrorHandler' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XChangeProperty' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XDestroyWindow' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XGetSelectionOwner' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XKeycodeToKeysym' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XParseColor' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XRefreshKeyboardMapping' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XQueryColor' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XFreeFont' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XShmCreateImage' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XSetCommand' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XShmPutImage' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `index' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XSetWindowBackgroundPixmap' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XSynchronize' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XShmAttach' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XMaskEvent' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XGrabServer' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XLoadQueryFont' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XPeekEvent' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XTranslateCoordinates' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XCheckTypedEvent' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XQueryColors' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XInternAtom' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XAllocColor' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XSetFont' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XShmQueryExtension' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XFlush' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XCreateWindow' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XNextEvent' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XDrawRectangle' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XSelectInput' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XGetGeometry' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XSetLineAttributes' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XSetStandardProperties' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XEventsQueued' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XClearWindow' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XFillRectangle' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XUngrabKeyboard' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XUngrabPointer' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XPutImage' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XCreatePixmap' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XCreateGC' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XMapRaised' > collect2: ld returned 1 exit status > make[4]: *** [dump-image] Error 1 > make[4]: Leaving directory > `/home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmat chbox-1.9/tests' > make[3]: *** [all-recursive] Error 1 > make[3]: Leaving directory > `/home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmat chbox-1.9/tests' > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory > `/home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmat chbox-1.9' > make[1]: *** [all] Error 2 > make[1]: Leaving directory > `/home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmat chbox-1.9' > make: *** > [/home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmat chbox-1.9/.compiled] > Error 2 > > Can you advise something? > > Thanks, > > Leonid. > softa wrote: >> >> Hello All, >> >> Please find attached patch that adds to current buildroot: >> - x11r7 libs and kdrive (TinyX) servers >> - tslib (Touchscreen support & utils) >> - matchbox (window manager, panel, desktop, etc...) >> >> Any remarks and bug-reports are welcome! >> >> Best Regards, >> Assen Stoyanov >> >> No virus found in this outgoing message. >> Checked by AVG Free Edition. >> Version: 7.5.467 / Virus Database: 269.7.1/807 - Release Date: 5/16/2007 >> 6:05 PM >> >> _______________________________________________ >> buildroot mailing list >> buildroot at uclibc.org >> http://busybox.net/mailman/listinfo/buildroot >> > Quoted from: > http://www.nabble.com/x11r7-matchbox-tslib-patch-tf3770960.html#a1066146 3 > ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] x11r7-matchbox-tslib patch 2007-10-17 14:41 ` Leonid @ 2007-10-18 7:18 ` softa at ttechgroup.com 2007-10-18 16:41 ` Leonid 0 siblings, 1 reply; 8+ messages in thread From: softa at ttechgroup.com @ 2007-10-18 7:18 UTC (permalink / raw) To: buildroot Hi Leonid, All libraries must be installed in ${STAGING_DIR}/usr/lib, headers in ${STAGING_DIR}/usr/include. (only very basic libs must be installed in /lib/ dir) Please pay special attention to the ALL generated 'pkgconfig' files in ${STAGING_DIR}/usr/lib/pkgconfig; also check the generated .la files in ${STAGING_DIR}/usr/lib the paths inside .pc (and .la) files must be valid! Many libraries with 'autoconf' build system (incl. matchbox) checks the libs, and include paths from these .pc (.la) files. Maybe 50% of the packages in the buildroot generates the pkgconfig .pc files, But only few of them fix .pc files after installing in the STAGING dir. BR, Assen ----- Original Message ----- From: "Leonid" <Leonid@a-k-a.net> To: <softa@ttechgroup.com> Cc: <buildroot@uclibc.org> Sent: Wednesday, October 17, 2007 5:41 PM Subject: RE: x11r7-matchbox-tslib patch Actually I have all libraries installed in STAGING directory and all these references are present. However it looks like certain -lX... options are missed. I tried to play adding them here and there but to no avail. What is correct place to add new libraries in matchbox compilation? Thanks, Leonid. -----Original Message----- From: Leonid Sent: Wednesday, October 17, 2007 5:23 AM To: 'softa at ttechgroup.com' Cc: buildroot at uclibc.org Subject: RE: x11r7-matchbox-tslib patch Hi, Softa: Thank you for the suggestion, compilation went further indeed. Now it fails in different place, some references are undefined again: opt/brootX/arm-gcc-uclibc/bin/arm-linux-gcc -Os -pipe -I/home/leonid/xwin/software/linux/rootfs/buildroot/stage/include -I/home/leonid/xwin/software/linux/rootfs/buildroot/stage/usr/include -I/opt/brootX/arm-gcc-uclibc/arm-linux/include -Os -pipe -I/home/leonid/xwin/software/linux/rootfs/buildroot/stage/include -I/home/leonid/xwin/software/linux/rootfs/buildroot/stage/usr/include -I/opt/brootX/arm-gcc-uclibc/arm-linux/include -I/home/leonid/xwin/software/linux/rootfs/buildroot/stage/usr/include -L/home/leonid/xwin/software/linux/rootfs/buildroot/stage/usr/lib -o matchbox-remote matchbox-remote.o matchbox-remote.o: In function `send_input_manager_request': /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/matchbo x-window-manager-1.2/src/matchbox-remote.c:182: undefined reference to `XInternAtom' /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/matchbo x-window-manager-1.2/src/matchbox-remote.c:197: undefined reference to `XSendEvent' matchbox-remote.o: In function `mbcommand': /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/matchbo x-window-manager-1.2/src/matchbox-remote.c:130: undefined reference to `XInternAtom' /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/matchbo x-window-manager-1.2/src/matchbox-remote.c:136: undefined reference to `XInternAtom' /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/matchbo x-window-manager-1.2/src/matchbox-remote.c:137: undefined reference to `XChangeProperty' /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/matchbo x-window-manager-1.2/src/matchbox-remote.c:144: undefined reference to `XGetSelectionOwner' /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/matchbo x-window-manager-1.2/src/matchbox-remote.c:160: undefined reference to `XInternAtom' /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/matchbo x-window-manager-1.2/src/matchbox-remote.c:170: undefined reference to `XSendEvent' matchbox-remote.o: In function `main': /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/matchbo x-window-manager-1.2/src/matchbox-remote.c:235: undefined reference to `XOpenDisplay' matchbox-remote.o: In function `getRootProperty': /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/matchbo x-window-manager-1.2/src/matchbox-remote.c:63: undefined reference to `XInternAtom' /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/matchbo x-window-manager-1.2/src/matchbox-remote.c:69: undefined reference to `XGetWindowProperty' matchbox-remote.o: In function `mbpanelcommand': /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/matchbo x-window-manager-1.2/src/matchbox-remote.c:95: undefined reference to `XInternAtom' /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/matchbo x-window-manager-1.2/src/matchbox-remote.c:96: undefined reference to `XInternAtom' /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/matchbo x-window-manager-1.2/src/matchbox-remote.c:100: undefined reference to `XGetSelectionOwner' /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/matchbo x-window-manager-1.2/src/matchbox-remote.c:111: undefined reference to `XSendEvent' matchbox-remote.o: In function `main': /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/matchbo x-window-manager-1.2/src/matchbox-remote.c:303: undefined reference to `XSync' /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/matchbo x-window-manager-1.2/src/matchbox-remote.c:304: undefined reference to `XCloseDisplay' collect2: ld returned 1 exit status make[3]: *** [matchbox-remote] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory `/home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/matchb ox-window-manager-1.2/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/matchb ox-window-manager-1.2' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/matchb ox-window-manager-1.2' make: *** [/home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/matchb ox-window-manager-1.2/.compiled] Error 2 Looks like some library is not there... Thanks, Leonid. -----Original Message----- From: softa@ttechgroup.com [mailto:softa at ttechgroup.com] Sent: Wednesday, October 17, 2007 2:44 AM To: Leonid Cc: buildroot at uclibc.org Subject: Re: x11r7-matchbox-tslib patch Hi Leonid, try to disable building of test and docs subdir! the easiest way is to edit /libmatchbox-1.9/Makefile.am, remove the test and docs subdir. generate automake files, reconfigure .... or add this line: $(SED) 's:^SUBDIRS = libmb doc tests.*:SUBDIRS = libmb:g' $(MATCHBOX_LIB_DIR)/Makefile at the end of configure target in /package/matchbox.mk file: here it is (part of my matchbox.mk): ... $(MATCHBOX_LIB_DIR)/.configured: $(MATCHBOX_LIB_DIR)/.unpacked (cd $(MATCHBOX_LIB_DIR); \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/usr/include/freetype2" \ LDFLAGS="-L$(STAGING_DIR)/usr/lib" \ PKG_CONFIG_PATH="$(STAGING_DIR)/usr/lib/pkgconfig" \ ./configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ --build=$(GNU_HOST_NAME) \ --disable-static \ --prefix=$(STAGING_DIR)/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --datadir=/usr/share/matchbox \ --libdir=$(STAGING_DIR)/usr/lib \ --includedir=$(STAGING_DIR)/usr/include \ --enable-expat \ --disable-doxygen-docs \ --with-expat-includes=$(STAGING_DIR)/usr/include \ --with-expat-lib=$(STAGING_DIR)/usr/lib \ --with-x \ --x-includes=$(STAGING_DIR)/usr/include \ --x-libraries=$(STAGING_DIR)/usr/lib \ $(MATCHBOX_LIB_OPTS) \ ); $(SED) 's:^SUBDIRS = libmb doc tests.*:SUBDIRS = libmb:g' $(MATCHBOX_LIB_DIR)/Makefile touch $(MATCHBOX_LIB_DIR)/.configured ... clean, reconfigure, .... and everything will be ok! (dont forget to delete .configured marker file) Best Regards, Assen ----- Original Message ----- From: <Leonid@a-k-a.net> To: <softa@ttechgroup.com> Sent: Wednesday, October 17, 2007 5:51 AM Subject: x11r7-matchbox-tslib patch > Hi, Softa: > > I am using buildroot snapshot of 9/24/07 with (I hope) your patch in. I > have the following failure during libmatchbox compilation: > > /home/leonid/xwin/software/linux/rootfs/buildroot/stage/usr/include -MT > dump-image.o -MD -MP -MF ".deps/dump-image.Tpo" -c -o dump-image.o > dump-image.c; \ > then mv -f ".deps/dump-image.Tpo" ".deps/dump-image.Po"; else rm -f > ".deps/dump-image.Tpo"; exit 1; fi > /bin/sh ../libtool --tag=CC --mode=link > /opt/brootX/arm-gcc-uclibc/bin/arm-linux-gcc -Os -pipe -I/home/leonid/xwin/software/linux/rootfs/buildroot/stage/include > -I/home/leonid/xwin/software/linux/rootfs/buildroot/stage/usr/include -I/opt/brootX/arm-gcc-uclibc/arm-linux/include > -Os -pipe -I/home/leonid/xwin/software/linux/rootfs/buildroot/stage/include > -I/home/leonid/xwin/software/linux/rootfs/buildroot/stage/usr/include -I/opt/brootX/arm-gcc-uclibc/arm-linux/include > -I/home/leonid/xwin/software/linux/rootfs/buildroot/stage/usr/include -L../libmb > -lmb -L/home/leonid/xwin/software/linux/rootfs/buildroot/stage/usr/lib -o > dump-image dump-image.o > mkdir .libs > /opt/brootX/arm-gcc-uclibc/bin/arm-linux-gcc -Os -pipe -I/home/leonid/xwin/software/linux/rootfs/buildroot/stage/include > -I/home/leonid/xwin/software/linux/rootfs/buildroot/stage/usr/include -I/opt/brootX/arm-gcc-uclibc/arm-linux/include > -Os -pipe -I/home/leonid/xwin/software/linux/rootfs/buildroot/stage/include > -I/home/leonid/xwin/software/linux/rootfs/buildroot/stage/usr/include -I/opt/brootX/arm-gcc-uclibc/arm-linux/include > -I/home/leonid/xwin/software/linux/rootfs/buildroot/stage/usr/include -o > .libs/dump-image > ump-image.o -L/home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libma tchbox-1.9/libmb > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so > -L/home/leonid/xwin/software/linux/rootfs/buildroot/stage/usr/lib -Wl,--rpath > -Wl,/home/leonid/xwin/software/linux/rootfs/buildroot/stage/usr/lib > dump-image.o: In function `main': > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/tests/dump-image.c:30: > undefined reference to `XOpenDisplay' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/tests/dump-image.c:41: > undefined reference to `XCloseDisplay' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XFreePixmap' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XShmDetach' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XDrawString' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XGrabKeyboard' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XSync' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XDrawLines' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XMapWindow' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XPending' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XCreateSimpleWindow' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XCreateImage' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XSetForeground' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XGetWindowAttributes' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XResizeWindow' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XFreeGC' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XCopyArea' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XUngrabServer' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XGrabPointer' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XGetImage' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XTextWidth' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XSendEvent' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XFree' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XGetWindowProperty' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XSetErrorHandler' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XChangeProperty' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XDestroyWindow' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XGetSelectionOwner' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XKeycodeToKeysym' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XParseColor' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XRefreshKeyboardMapping' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XQueryColor' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XFreeFont' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XShmCreateImage' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XSetCommand' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XShmPutImage' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `index' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XSetWindowBackgroundPixmap' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XSynchronize' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XShmAttach' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XMaskEvent' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XGrabServer' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XLoadQueryFont' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XPeekEvent' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XTranslateCoordinates' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XCheckTypedEvent' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XQueryColors' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XInternAtom' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XAllocColor' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XSetFont' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XShmQueryExtension' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XFlush' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XCreateWindow' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XNextEvent' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XDrawRectangle' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XSelectInput' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XGetGeometry' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XSetLineAttributes' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XSetStandardProperties' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XEventsQueued' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XClearWindow' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XFillRectangle' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XUngrabKeyboard' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XUngrabPointer' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XPutImage' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XCreatePixmap' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XCreateGC' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XMapRaised' > collect2: ld returned 1 exit status > make[4]: *** [dump-image] Error 1 > make[4]: Leaving directory > `/home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmat chbox-1.9/tests' > make[3]: *** [all-recursive] Error 1 > make[3]: Leaving directory > `/home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmat chbox-1.9/tests' > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory > `/home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmat chbox-1.9' > make[1]: *** [all] Error 2 > make[1]: Leaving directory > `/home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmat chbox-1.9' > make: *** > [/home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmat chbox-1.9/.compiled] > Error 2 > > Can you advise something? > > Thanks, > > Leonid. > softa wrote: >> >> Hello All, >> >> Please find attached patch that adds to current buildroot: >> - x11r7 libs and kdrive (TinyX) servers >> - tslib (Touchscreen support & utils) >> - matchbox (window manager, panel, desktop, etc...) >> >> Any remarks and bug-reports are welcome! >> >> Best Regards, >> Assen Stoyanov >> >> No virus found in this outgoing message. >> Checked by AVG Free Edition. >> Version: 7.5.467 / Virus Database: 269.7.1/807 - Release Date: 5/16/2007 >> 6:05 PM >> >> _______________________________________________ >> buildroot mailing list >> buildroot at uclibc.org >> http://busybox.net/mailman/listinfo/buildroot >> > Quoted from: > http://www.nabble.com/x11r7-matchbox-tslib-patch-tf3770960.html#a1066146 3 > ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] x11r7-matchbox-tslib patch 2007-10-18 7:18 ` softa at ttechgroup.com @ 2007-10-18 16:41 ` Leonid 0 siblings, 0 replies; 8+ messages in thread From: Leonid @ 2007-10-18 16:41 UTC (permalink / raw) To: buildroot Hi, Softa: It looks for me that this is not paths problem (I see all libraries in usr/lib all right and pathers everywhere also look right) but just certain -lX11... references among LIBS. Consider the following snaphot: /opt/brootX/arm-gcc-uclibc/bin/arm-linux-gcc -Os -pipe -I/home/leonid/xwin/software/linux/rootfs/buildroot/stage/include -I/home/leonid/xwin/software/linux/rootfs/buildroot/stage/usr/include -I/opt/brootX/arm-gcc-uclibc/arm-linux/include -Os -pipe -I/home/leonid/xwin/software/linux/rootfs/buildroot/stage/include -I/home/leonid/xwin/software/linux/rootfs/buildroot/stage/usr/include -I/opt/brootX/arm-gcc-uclibc/arm-linux/include -I/home/leonid/xwin/software/linux/rootfs/buildroot/stage/usr/include -L/home/leonid/xwin/software/linux/rootfs/buildroot/stage/usr/lib -o matchbox-remote matchbox-remote.o matchbox-remote.o: In function `send_input_manager_request': /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/matchbo x-window-manager-1.2/src/matchbox-remote.c:182: undefined reference to `XInternAtom' /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/matchbo x-window-manager-1.2/src/matchbox-remote.c:197: undefined reference to `XSendEvent' matchbox-remote.o: In function `mbcommand': /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/matchbo x-window-manager-1.2/src/matchbox-remote.c:130: undefined reference to `XInternAtom' /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/matchbo x-window-manager-1.2/src/matchbox-remote.c:136: undefined reference to `XInternAtom' /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/matchbo x-window-manager-1.2/src/matchbox-remote.c:137: undefined reference to `XChangeProperty' /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/matchbo x-window-manager-1.2/src/matchbox-remote.c:144: undefined reference to `XGetSelectionOwner' /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/matchbo x-window-manager-1.2/src/matchbox-remote.c:160: undefined reference to `XInternAtom' /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/matchbo x-window-manager-1.2/src/matchbox-remote.c:170: undefined reference to `XSendEvent' -L path is correct, yet there are no -l... Parameters wahsoever! It doesn't surpirise me that linker cannot find XInternAtom function for instance which in fact is present in libX11: [leonid at jaipur buildroot]$ arm-linux-readelf -s stage/usr/lib/libX11.so | grep XInternAtom 196: 00024854 576 FUNC GLOBAL DEFAULT 10 XInternAtoms 1030: 00024bb0 296 FUNC GLOBAL DEFAULT 10 XInternAtom 672: 0002445c 692 FUNC LOCAL DEFAULT 10 _XInternAtom 4024: 00024854 576 FUNC GLOBAL DEFAULT 10 XInternAtoms 4858: 00024bb0 296 FUNC GLOBAL DEFAULT 10 XInternAtom Why some libraries are missing from LIBS (in fact, for matchbox-remote there are no libraries specified at all)? There must be some misconfiguration, causing such a problem. Thanks, Leonid. -----Original Message----- From: softa@ttechgroup.com [mailto:softa at ttechgroup.com] Sent: Thursday, October 18, 2007 12:19 AM To: Leonid Cc: buildroot at uclibc.org Subject: Re: x11r7-matchbox-tslib patch Hi Leonid, All libraries must be installed in ${STAGING_DIR}/usr/lib, headers in ${STAGING_DIR}/usr/include. (only very basic libs must be installed in /lib/ dir) Please pay special attention to the ALL generated 'pkgconfig' files in ${STAGING_DIR}/usr/lib/pkgconfig; also check the generated .la files in ${STAGING_DIR}/usr/lib the paths inside .pc (and .la) files must be valid! Many libraries with 'autoconf' build system (incl. matchbox) checks the libs, and include paths from these .pc (.la) files. Maybe 50% of the packages in the buildroot generates the pkgconfig .pc files, But only few of them fix .pc files after installing in the STAGING dir. BR, Assen ----- Original Message ----- From: "Leonid" <Leonid@a-k-a.net> To: <softa@ttechgroup.com> Cc: <buildroot@uclibc.org> Sent: Wednesday, October 17, 2007 5:41 PM Subject: RE: x11r7-matchbox-tslib patch Actually I have all libraries installed in STAGING directory and all these references are present. However it looks like certain -lX... options are missed. I tried to play adding them here and there but to no avail. What is correct place to add new libraries in matchbox compilation? Thanks, Leonid. -----Original Message----- From: Leonid Sent: Wednesday, October 17, 2007 5:23 AM To: 'softa at ttechgroup.com' Cc: buildroot at uclibc.org Subject: RE: x11r7-matchbox-tslib patch Hi, Softa: Thank you for the suggestion, compilation went further indeed. Now it fails in different place, some references are undefined again: opt/brootX/arm-gcc-uclibc/bin/arm-linux-gcc -Os -pipe -I/home/leonid/xwin/software/linux/rootfs/buildroot/stage/include -I/home/leonid/xwin/software/linux/rootfs/buildroot/stage/usr/include -I/opt/brootX/arm-gcc-uclibc/arm-linux/include -Os -pipe -I/home/leonid/xwin/software/linux/rootfs/buildroot/stage/include -I/home/leonid/xwin/software/linux/rootfs/buildroot/stage/usr/include -I/opt/brootX/arm-gcc-uclibc/arm-linux/include -I/home/leonid/xwin/software/linux/rootfs/buildroot/stage/usr/include -L/home/leonid/xwin/software/linux/rootfs/buildroot/stage/usr/lib -o matchbox-remote matchbox-remote.o matchbox-remote.o: In function `send_input_manager_request': /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/matchbo x-window-manager-1.2/src/matchbox-remote.c:182: undefined reference to `XInternAtom' /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/matchbo x-window-manager-1.2/src/matchbox-remote.c:197: undefined reference to `XSendEvent' matchbox-remote.o: In function `mbcommand': /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/matchbo x-window-manager-1.2/src/matchbox-remote.c:130: undefined reference to `XInternAtom' /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/matchbo x-window-manager-1.2/src/matchbox-remote.c:136: undefined reference to `XInternAtom' /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/matchbo x-window-manager-1.2/src/matchbox-remote.c:137: undefined reference to `XChangeProperty' /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/matchbo x-window-manager-1.2/src/matchbox-remote.c:144: undefined reference to `XGetSelectionOwner' /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/matchbo x-window-manager-1.2/src/matchbox-remote.c:160: undefined reference to `XInternAtom' /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/matchbo x-window-manager-1.2/src/matchbox-remote.c:170: undefined reference to `XSendEvent' matchbox-remote.o: In function `main': /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/matchbo x-window-manager-1.2/src/matchbox-remote.c:235: undefined reference to `XOpenDisplay' matchbox-remote.o: In function `getRootProperty': /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/matchbo x-window-manager-1.2/src/matchbox-remote.c:63: undefined reference to `XInternAtom' /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/matchbo x-window-manager-1.2/src/matchbox-remote.c:69: undefined reference to `XGetWindowProperty' matchbox-remote.o: In function `mbpanelcommand': /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/matchbo x-window-manager-1.2/src/matchbox-remote.c:95: undefined reference to `XInternAtom' /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/matchbo x-window-manager-1.2/src/matchbox-remote.c:96: undefined reference to `XInternAtom' /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/matchbo x-window-manager-1.2/src/matchbox-remote.c:100: undefined reference to `XGetSelectionOwner' /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/matchbo x-window-manager-1.2/src/matchbox-remote.c:111: undefined reference to `XSendEvent' matchbox-remote.o: In function `main': /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/matchbo x-window-manager-1.2/src/matchbox-remote.c:303: undefined reference to `XSync' /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/matchbo x-window-manager-1.2/src/matchbox-remote.c:304: undefined reference to `XCloseDisplay' collect2: ld returned 1 exit status make[3]: *** [matchbox-remote] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory `/home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/matchb ox-window-manager-1.2/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/matchb ox-window-manager-1.2' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/matchb ox-window-manager-1.2' make: *** [/home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/matchb ox-window-manager-1.2/.compiled] Error 2 Looks like some library is not there... Thanks, Leonid. -----Original Message----- From: softa@ttechgroup.com [mailto:softa at ttechgroup.com] Sent: Wednesday, October 17, 2007 2:44 AM To: Leonid Cc: buildroot at uclibc.org Subject: Re: x11r7-matchbox-tslib patch Hi Leonid, try to disable building of test and docs subdir! the easiest way is to edit /libmatchbox-1.9/Makefile.am, remove the test and docs subdir. generate automake files, reconfigure .... or add this line: $(SED) 's:^SUBDIRS = libmb doc tests.*:SUBDIRS = libmb:g' $(MATCHBOX_LIB_DIR)/Makefile at the end of configure target in /package/matchbox.mk file: here it is (part of my matchbox.mk): ... $(MATCHBOX_LIB_DIR)/.configured: $(MATCHBOX_LIB_DIR)/.unpacked (cd $(MATCHBOX_LIB_DIR); \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/usr/include/freetype2" \ LDFLAGS="-L$(STAGING_DIR)/usr/lib" \ PKG_CONFIG_PATH="$(STAGING_DIR)/usr/lib/pkgconfig" \ ./configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ --build=$(GNU_HOST_NAME) \ --disable-static \ --prefix=$(STAGING_DIR)/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --datadir=/usr/share/matchbox \ --libdir=$(STAGING_DIR)/usr/lib \ --includedir=$(STAGING_DIR)/usr/include \ --enable-expat \ --disable-doxygen-docs \ --with-expat-includes=$(STAGING_DIR)/usr/include \ --with-expat-lib=$(STAGING_DIR)/usr/lib \ --with-x \ --x-includes=$(STAGING_DIR)/usr/include \ --x-libraries=$(STAGING_DIR)/usr/lib \ $(MATCHBOX_LIB_OPTS) \ ); $(SED) 's:^SUBDIRS = libmb doc tests.*:SUBDIRS = libmb:g' $(MATCHBOX_LIB_DIR)/Makefile touch $(MATCHBOX_LIB_DIR)/.configured ... clean, reconfigure, .... and everything will be ok! (dont forget to delete .configured marker file) Best Regards, Assen ----- Original Message ----- From: <Leonid@a-k-a.net> To: <softa@ttechgroup.com> Sent: Wednesday, October 17, 2007 5:51 AM Subject: x11r7-matchbox-tslib patch > Hi, Softa: > > I am using buildroot snapshot of 9/24/07 with (I hope) your patch in. I > have the following failure during libmatchbox compilation: > > /home/leonid/xwin/software/linux/rootfs/buildroot/stage/usr/include -MT > dump-image.o -MD -MP -MF ".deps/dump-image.Tpo" -c -o dump-image.o > dump-image.c; \ > then mv -f ".deps/dump-image.Tpo" ".deps/dump-image.Po"; else rm -f > ".deps/dump-image.Tpo"; exit 1; fi > /bin/sh ../libtool --tag=CC --mode=link > /opt/brootX/arm-gcc-uclibc/bin/arm-linux-gcc -Os -pipe -I/home/leonid/xwin/software/linux/rootfs/buildroot/stage/include > -I/home/leonid/xwin/software/linux/rootfs/buildroot/stage/usr/include -I/opt/brootX/arm-gcc-uclibc/arm-linux/include > -Os -pipe -I/home/leonid/xwin/software/linux/rootfs/buildroot/stage/include > -I/home/leonid/xwin/software/linux/rootfs/buildroot/stage/usr/include -I/opt/brootX/arm-gcc-uclibc/arm-linux/include > -I/home/leonid/xwin/software/linux/rootfs/buildroot/stage/usr/include -L../libmb > -lmb -L/home/leonid/xwin/software/linux/rootfs/buildroot/stage/usr/lib -o > dump-image dump-image.o > mkdir .libs > /opt/brootX/arm-gcc-uclibc/bin/arm-linux-gcc -Os -pipe -I/home/leonid/xwin/software/linux/rootfs/buildroot/stage/include > -I/home/leonid/xwin/software/linux/rootfs/buildroot/stage/usr/include -I/opt/brootX/arm-gcc-uclibc/arm-linux/include > -Os -pipe -I/home/leonid/xwin/software/linux/rootfs/buildroot/stage/include > -I/home/leonid/xwin/software/linux/rootfs/buildroot/stage/usr/include -I/opt/brootX/arm-gcc-uclibc/arm-linux/include > -I/home/leonid/xwin/software/linux/rootfs/buildroot/stage/usr/include -o > .libs/dump-image > ump-image.o -L/home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libma tchbox-1.9/libmb > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so > -L/home/leonid/xwin/software/linux/rootfs/buildroot/stage/usr/lib -Wl,--rpath > -Wl,/home/leonid/xwin/software/linux/rootfs/buildroot/stage/usr/lib > dump-image.o: In function `main': > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/tests/dump-image.c:30: > undefined reference to `XOpenDisplay' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/tests/dump-image.c:41: > undefined reference to `XCloseDisplay' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XFreePixmap' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XShmDetach' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XDrawString' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XGrabKeyboard' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XSync' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XDrawLines' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XMapWindow' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XPending' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XCreateSimpleWindow' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XCreateImage' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XSetForeground' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XGetWindowAttributes' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XResizeWindow' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XFreeGC' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XCopyArea' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XUngrabServer' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XGrabPointer' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XGetImage' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XTextWidth' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XSendEvent' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XFree' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XGetWindowProperty' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XSetErrorHandler' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XChangeProperty' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XDestroyWindow' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XGetSelectionOwner' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XKeycodeToKeysym' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XParseColor' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XRefreshKeyboardMapping' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XQueryColor' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XFreeFont' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XShmCreateImage' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XSetCommand' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XShmPutImage' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `index' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XSetWindowBackgroundPixmap' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XSynchronize' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XShmAttach' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XMaskEvent' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XGrabServer' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XLoadQueryFont' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XPeekEvent' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XTranslateCoordinates' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XCheckTypedEvent' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XQueryColors' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XInternAtom' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XAllocColor' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XSetFont' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XShmQueryExtension' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XFlush' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XCreateWindow' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XNextEvent' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XDrawRectangle' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XSelectInput' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XGetGeometry' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XSetLineAttributes' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XSetStandardProperties' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XEventsQueued' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XClearWindow' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XFillRectangle' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XUngrabKeyboard' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XUngrabPointer' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XPutImage' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XCreatePixmap' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XCreateGC' > /home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmatc hbox-1.9/libmb/.libs/libmb.so: > undefined reference to `XMapRaised' > collect2: ld returned 1 exit status > make[4]: *** [dump-image] Error 1 > make[4]: Leaving directory > `/home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmat chbox-1.9/tests' > make[3]: *** [all-recursive] Error 1 > make[3]: Leaving directory > `/home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmat chbox-1.9/tests' > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory > `/home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmat chbox-1.9' > make[1]: *** [all] Error 2 > make[1]: Leaving directory > `/home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmat chbox-1.9' > make: *** > [/home/leonid/xwin/software/linux/rootfs/buildroot/build_arm_xwin/libmat chbox-1.9/.compiled] > Error 2 > > Can you advise something? > > Thanks, > > Leonid. > softa wrote: >> >> Hello All, >> >> Please find attached patch that adds to current buildroot: >> - x11r7 libs and kdrive (TinyX) servers >> - tslib (Touchscreen support & utils) >> - matchbox (window manager, panel, desktop, etc...) >> >> Any remarks and bug-reports are welcome! >> >> Best Regards, >> Assen Stoyanov >> >> No virus found in this outgoing message. >> Checked by AVG Free Edition. >> Version: 7.5.467 / Virus Database: 269.7.1/807 - Release Date: 5/16/2007 >> 6:05 PM >> >> _______________________________________________ >> buildroot mailing list >> buildroot at uclibc.org >> http://busybox.net/mailman/listinfo/buildroot >> > Quoted from: > http://www.nabble.com/x11r7-matchbox-tslib-patch-tf3770960.html#a1066146 3 > ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] x11r7-matchbox-tslib patch @ 2007-10-17 4:11 Leonid 0 siblings, 0 replies; 8+ messages in thread From: Leonid @ 2007-10-17 4:11 UTC (permalink / raw) To: buildroot Hi, Christopher: Sorry for repetition, I wasn't sure my another message did reach you. Could you resolve the problem with matchbox undefined references: /home/christopher/newbuildroot/buildroot/build_arm/libmatchbox-1.9/tests /dump-image.c:30: undefined reference to `XOpenDisplay' /home/christopher/newbuildroot/buildroot/build_arm/libmatchbox-1.9/tests /dump-image.c:41: undefined reference to `XCloseDisplay' /home/christopher/newbuildroot/buildroot/build_arm/libmatchbox-1.9/libmb /.libs/libmb.so: undefined reference to `XFreePixmap' /home/christopher/newbuildroot/buildroot/build_arm/libmatchbox-1.9/libmb /.libs/libmb.so: undefined reference to `XShmDetach' /home/christopher/newbuildroot/buildroot/build_arm/libmatchbox-1.9/libmb /.libs/libmb.so: undefined reference to `XDrawString' /home/christopher/newbuildroot/buildroot/build_arm/libmatchbox-1.9/libmb /.libs/libmb.so: undefined reference to `XGrabKeyboard' /home/christopher/newbuildroot/buildroot/build_arm/libmatchbox-1.9/libmb /.libs/libmb.so: undefined reference to `XSync' /home/christopher/newbuildroot/buildroot/build_arm/libmatchbox-1.9/libmb /.libs/libmb.so: undefined reference to `XDrawLines' /home/christopher/newbuildroot/buildroot/build_arm/libmatchbox-1.9/libmb /.libs/libmb.so: undefined reference to `XMapWindow' I have the same now... Thanks, Leonid. ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] x11r7-matchbox-tslib patch @ 2007-05-17 10:21 Assen Stoyanov 2007-05-24 16:49 ` Christopher Reder 0 siblings, 1 reply; 8+ messages in thread From: Assen Stoyanov @ 2007-05-17 10:21 UTC (permalink / raw) To: buildroot Hello All, Please find attached patch that adds to current buildroot: - x11r7 libs and kdrive (TinyX) servers - tslib (Touchscreen support & utils) - matchbox (window manager, panel, desktop, etc...) Any remarks and bug-reports are welcome! Best Regards, Assen Stoyanov -------------- next part -------------- An HTML attachment was scrubbed... URL: http://busybox.net/lists/buildroot/attachments/20070517/443b8eee/attachment-0001.htm -------------- next part -------------- A non-text attachment was scrubbed... Name: br-tslib-x11r7-matchbox.patch.bz2 Type: application/octet-stream Size: 20500 bytes Desc: not available Url : http://busybox.net/lists/buildroot/attachments/20070517/443b8eee/attachment-0001.obj -------------- next part -------------- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.467 / Virus Database: 269.7.1/807 - Release Date: 5/16/2007 6:05 PM ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] x11r7-matchbox-tslib patch 2007-05-17 10:21 Assen Stoyanov @ 2007-05-24 16:49 ` Christopher Reder 0 siblings, 0 replies; 8+ messages in thread From: Christopher Reder @ 2007-05-24 16:49 UTC (permalink / raw) To: buildroot I have applied this patch and enabled the Matchbox Window Manager and am compiling for ARM. After doing so, I get the following errors and am not sure how to resolve them. There may be a dependency on another package that is not installed but it is looking for a mb library that isn't there. Any guidance on what I could check or if someone else has done this successfully and could send their config, I could give that a shot as well. Thanks Christopher LibMatchbox 1.9 ====================== prefix: /home/christopher/newbuildroot/buildroot/build_arm/staging_dir/usr source code location: . Building with Debug: no Building with gcov: no Building with gprof: no Building unit tests: no Building with Xft: no Building with Pango: no Building with PNG: yes Building with JPG: yes Building with XSettings: no Building with API Documentation: no touch /home/christopher/newbuildroot/buildroot/build_arm/libmatchbox-1.9/.configured make -j1 -C /home/christopher/newbuildroot/buildroot/build_arm/libmatchbox-1.9 make[1]: Entering directory `/home/christopher/newbuildroot/buildroot/build_arm/libmatchbox-1.9' make all-recursive make[2]: Entering directory `/home/christopher/newbuildroot/buildroot/build_arm/libmatchbox-1.9' Making all in libmb make[3]: Entering directory `/home/christopher/newbuildroot/buildroot/build_arm/libmatchbox-1.9/libmb' if /bin/sh ../libtool --tag=CC --mode=compile /home/christopher/newbuildroot/buildroot/build_arm/staging_dir/bin/arm-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -Wall -fno-strict-aliasing -I/home/christopher/newbuildroot/buildroot/build_arm/staging_dir/include/libpng12 -DDATADIR=\"/usr/share/matchbox\" -Os -pipe -I/home/christopher/newbuildroot/buildroot/build_arm/staging_dir/usr/include -MT mbmenu.lo -MD -MP -MF ".deps/mbmenu.Tpo" -c -o mbmenu.lo mbmenu.c; \ then mv -f ".deps/mbmenu.Tpo" ".deps/mbmenu.Plo"; else rm -f ".deps/mbmenu.Tpo"; exit 1; fi mkdir .libs /home/christopher/newbuildroot/buildroot/build_arm/staging_dir/bin/arm-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -Wall -fno-strict-aliasing -I/home/christopher/newbuildroot/buildroot/build_arm/staging_dir/include/libpng12 -DDATADIR=\"/usr/share/matchbox\" -Os -pipe -I/home/christopher/newbuildroot/buildroot/build_arm/staging_dir/usr/include -MT mbmenu.lo -MD -MP -MF .deps/mbmenu.Tpo -c mbmenu.c -fPIC -DPIC -o .libs/mbmenu.o if /bin/sh ../libtool --tag=CC --mode=compile /home/christopher/newbuildroot/buildroot/build_arm/staging_dir/bin/arm-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -Wall -fno-strict-aliasing -I/home/christopher/newbuildroot/buildroot/build_arm/staging_dir/include/libpng12 -DDATADIR=\"/usr/share/matchbox\" -Os -pipe -I/home/christopher/newbuildroot/buildroot/build_arm/staging_dir/usr/include -MT mbtray.lo -MD -MP -MF ".deps/mbtray.Tpo" -c -o mbtray.lo mbtray.c; \ then mv -f ".deps/mbtray.Tpo" ".deps/mbtray.Plo"; else rm -f ".deps/mbtray.Tpo"; exit 1; fi /home/christopher/newbuildroot/buildroot/build_arm/staging_dir/bin/arm-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -Wall -fno-strict-aliasing -I/home/christopher/newbuildroot/buildroot/build_arm/staging_dir/include/libpng12 -DDATADIR=\"/usr/share/matchbox\" -Os -pipe -I/home/christopher/newbuildroot/buildroot/build_arm/staging_dir/usr/include -MT mbtray.lo -MD -MP -MF .deps/mbtray.Tpo -c mbtray.c -fPIC -DPIC -o .libs/mbtray.o if /bin/sh ../libtool --tag=CC --mode=compile /home/christopher/newbuildroot/buildroot/build_arm/staging_dir/bin/arm-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -Wall -fno-strict-aliasing -I/home/christopher/newbuildroot/buildroot/build_arm/staging_dir/include/libpng12 -DDATADIR=\"/usr/share/matchbox\" -Os -pipe -I/home/christopher/newbuildroot/buildroot/build_arm/staging_dir/usr/include -MT mbdotdesktop.lo -MD -MP -MF ".deps/mbdotdesktop.Tpo" -c -o mbdotdesktop.lo mbdotdesktop.c; \ then mv -f ".deps/mbdotdesktop.Tpo" ".deps/mbdotdesktop.Plo"; else rm -f ".deps/mbdotdesktop.Tpo"; exit 1; fi /home/christopher/newbuildroot/buildroot/build_arm/staging_dir/bin/arm-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -Wall -fno-strict-aliasing -I/home/christopher/newbuildroot/buildroot/build_arm/staging_dir/include/libpng12 -DDATADIR=\"/usr/share/matchbox\" -Os -pipe -I/home/christopher/newbuildroot/buildroot/build_arm/staging_dir/usr/include -MT mbdotdesktop.lo -MD -MP -MF .deps/mbdotdesktop.Tpo -c mbdotdesktop.c -fPIC -DPIC -o .libs/mbdotdesktop.o if /bin/sh ../libtool --tag=CC --mode=compile /home/christopher/newbuildroot/buildroot/build_arm/staging_dir/bin/arm-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -Wall -fno-strict-aliasing -I/home/christopher/newbuildroot/buildroot/build_arm/staging_dir/include/libpng12 -DDATADIR=\"/usr/share/matchbox\" -Os -pipe -I/home/christopher/newbuildroot/buildroot/build_arm/staging_dir/usr/include -MT mbpixbuf.lo -MD -MP -MF ".deps/mbpixbuf.Tpo" -c -o mbpixbuf.lo mbpixbuf.c; \ then mv -f ".deps/mbpixbuf.Tpo" ".deps/mbpixbuf.Plo"; else rm -f ".deps/mbpixbuf.Tpo"; exit 1; fi /home/christopher/newbuildroot/buildroot/build_arm/staging_dir/bin/arm-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -Wall -fno-strict-aliasing -I/home/christopher/newbuildroot/buildroot/build_arm/staging_dir/include/libpng12 -DDATADIR=\"/usr/share/matchbox\" -Os -pipe -I/home/christopher/newbuildroot/buildroot/build_arm/staging_dir/usr/include -MT mbpixbuf.lo -MD -MP -MF .deps/mbpixbuf.Tpo -c mbpixbuf.c -fPIC -DPIC -o .libs/mbpixbuf.o mbpixbuf.c: In function '_load_jpg_file': mbpixbuf.c:153: warning: implicit declaration of function 'mb_want_warnings' mbpixbuf.c: In function 'mb_pixbuf_img_fill': mbpixbuf.c:1400: warning: value computed is not used if /bin/sh ../libtool --tag=CC --mode=compile /home/christopher/newbuildroot/buildroot/build_arm/staging_dir/bin/arm-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -Wall -fno-strict-aliasing -I/home/christopher/newbuildroot/buildroot/build_arm/staging_dir/include/libpng12 -DDATADIR=\"/usr/share/matchbox\" -Os -pipe -I/home/christopher/newbuildroot/buildroot/build_arm/staging_dir/usr/include -MT mbutil.lo -MD -MP -MF ".deps/mbutil.Tpo" -c -o mbutil.lo mbutil.c; \ then mv -f ".deps/mbutil.Tpo" ".deps/mbutil.Plo"; else rm -f ".deps/mbutil.Tpo"; exit 1; fi /home/christopher/newbuildroot/buildroot/build_arm/staging_dir/bin/arm-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -Wall -fno-strict-aliasing -I/home/christopher/newbuildroot/buildroot/build_arm/staging_dir/include/libpng12 -DDATADIR=\"/usr/share/matchbox\" -Os -pipe -I/home/christopher/newbuildroot/buildroot/build_arm/staging_dir/usr/include -MT mbutil.lo -MD -MP -MF .deps/mbutil.Tpo -c mbutil.c -fPIC -DPIC -o .libs/mbutil.o mbutil.c: In function 'mb_want_warnings': mbutil.c:381: warning: control reaches end of non-void function if /bin/sh ../libtool --tag=CC --mode=compile /home/christopher/newbuildroot/buildroot/build_arm/staging_dir/bin/arm-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -Wall -fno-strict-aliasing -I/home/christopher/newbuildroot/buildroot/build_arm/staging_dir/include/libpng12 -DDATADIR=\"/usr/share/matchbox\" -Os -pipe -I/home/christopher/newbuildroot/buildroot/build_arm/staging_dir/usr/include -MT mbexp.lo -MD -MP -MF ".deps/mbexp.Tpo" -c -o mbexp.lo mbexp.c; \ then mv -f ".deps/mbexp.Tpo" ".deps/mbexp.Plo"; else rm -f ".deps/mbexp.Tpo"; exit 1; fi /home/christopher/newbuildroot/buildroot/build_arm/staging_dir/bin/arm-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -Wall -fno-strict-aliasing -I/home/christopher/newbuildroot/buildroot/build_arm/staging_dir/include/libpng12 -DDATADIR=\"/usr/share/matchbox\" -Os -pipe -I/home/christopher/newbuildroot/buildroot/build_arm/staging_dir/usr/include -MT mbexp.lo -MD -MP -MF .deps/mbexp.Tpo -c mbexp.c -fPIC -DPIC -o .libs/mbexp.o mbexp.c: In function 'mb_font_get_txt_width': mbexp.c:858: warning: pointer targets in passing argument 2 of 'XTextWidth' differ in signedness mbexp.c: In function '_render_some_text': mbexp.c:1051: warning: pointer targets in passing argument 6 of 'XDrawString' differ in signedness mbexp.c: In function 'mb_layout_get_geometry': mbexp.c:1252: warning: value computed is not used mbexp.c: In function 'mb_util_next_utf8_char': mbexp.c:1586: warning: value computed is not used mbexp.c:1592: warning: value computed is not used if /bin/sh ../libtool --tag=CC --mode=compile /home/christopher/newbuildroot/buildroot/build_arm/staging_dir/bin/arm-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -Wall -fno-strict-aliasing -I/home/christopher/newbuildroot/buildroot/build_arm/staging_dir/include/libpng12 -DDATADIR=\"/usr/share/matchbox\" -Os -pipe -I/home/christopher/newbuildroot/buildroot/build_arm/staging_dir/usr/include -MT hash.lo -MD -MP -MF ".deps/hash.Tpo" -c -o hash.lo hash.c; \ then mv -f ".deps/hash.Tpo" ".deps/hash.Plo"; else rm -f ".deps/hash.Tpo"; exit 1; fi /home/christopher/newbuildroot/buildroot/build_arm/staging_dir/bin/arm-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -Wall -fno-strict-aliasing -I/home/christopher/newbuildroot/buildroot/build_arm/staging_dir/include/libpng12 -DDATADIR=\"/usr/share/matchbox\" -Os -pipe -I/home/christopher/newbuildroot/buildroot/build_arm/staging_dir/usr/include -MT hash.lo -MD -MP -MF .deps/hash.Tpo -c hash.c -fPIC -DPIC -o .libs/hash.o /bin/sh ../libtool --tag=CC --mode=link /home/christopher/newbuildroot/buildroot/build_arm/staging_dir/bin/arm-linux-uclibc-gcc -g -Wall -fno-strict-aliasing -I/home/christopher/newbuildroot/buildroot/build_arm/staging_dir/include/libpng12 -DDATADIR=\"/usr/share/matchbox\" -Os -pipe -I/home/christopher/newbuildroot/buildroot/build_arm/staging_dir/usr/include -L/home/christopher/newbuildroot/buildroot/build_arm/staging_dir/usr/lib -o libmb.la -rpath /home/christopher/newbuildroot/buildroot/build_arm/staging_dir/usr/lib -version-info 1:9:0 mbmenu.lo mbtray.lo mbdotdesktop.lo mbpixbuf.lo mbutil.lo mbexp.lo hash.lo -ljpeg -L/home/christopher/newbuildroot/buildroot/build_arm/staging_dir/lib -lpng12 /home/christopher/newbuildroot/buildroot/build_arm/staging_dir/bin/arm-linux-uclibc-gcc -shared .libs/mbmenu.o .libs/mbtray.o .libs/mbdotdesktop.o .libs/mbpixbuf.o .libs/mbutil.o .libs/mbexp.o .libs/hash.o -Wl,--rpath -Wl,/home/christopher/newbuildroot/buildroot/build_arm/staging_dir/lib -Wl,--rpath -Wl,/home/christopher/newbuildroot/buildroot/build_arm/staging_dir/lib -L/home/christopher/newbuildroot/buildroot/build_arm/staging_dir/usr/lib -ljpeg -L/home/christopher/newbuildroot/buildroot/build_arm/staging_dir/lib /home/christopher/newbuildroot/buildroot/build_arm/staging_dir/lib/libpng12.so -Wl,-soname -Wl,libmb.so.1 -o .libs/libmb.so.1.0.9 (cd .libs && rm -f libmb.so.1 && ln -s libmb.so.1.0.9 libmb.so.1) (cd .libs && rm -f libmb.so && ln -s libmb.so.1.0.9 libmb.so) creating libmb.la (cd .libs && rm -f libmb.la && ln -s ../libmb.la libmb.la) make[3]: Leaving directory `/home/christopher/newbuildroot/buildroot/build_arm/libmatchbox-1.9/libmb' Making all in doc make[3]: Entering directory `/home/christopher/newbuildroot/buildroot/build_arm/libmatchbox-1.9/doc' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/christopher/newbuildroot/buildroot/build_arm/libmatchbox-1.9/doc' Making all in tests make[3]: Entering directory `/home/christopher/newbuildroot/buildroot/build_arm/libmatchbox-1.9/tests' Making all in menu make[4]: Entering directory `/home/christopher/newbuildroot/buildroot/build_arm/libmatchbox-1.9/tests/menu' make[4]: Nothing to be done for `all'. make[4]: Leaving directory `/home/christopher/newbuildroot/buildroot/build_arm/libmatchbox-1.9/tests/menu' make[4]: Entering directory `/home/christopher/newbuildroot/buildroot/build_arm/libmatchbox-1.9/tests' if /home/christopher/newbuildroot/buildroot/build_arm/staging_dir/bin/arm-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../libmb -g -Wall -fno-strict-aliasing -I/home/christopher/newbuildroot/buildroot/build_arm/staging_dir/include/libpng12 -Os -pipe -I/home/christopher/newbuildroot/buildroot/build_arm/staging_dir/usr/include -MT dump-image.o -MD -MP -MF ".deps/dump-image.Tpo" -c -o dump-image.o dump-image.c; \ then mv -f ".deps/dump-image.Tpo" ".deps/dump-image.Po"; else rm -f ".deps/dump-image.Tpo"; exit 1; fi /bin/sh ../libtool --tag=CC --mode=link /home/christopher/newbuildroot/buildroot/build_arm/staging_dir/bin/arm-linux-uclibc-gcc -Os -pipe -I/home/christopher/newbuildroot/buildroot/build_arm/staging_dir/usr/include -L../libmb -lmb -L/home/christopher/newbuildroot/buildroot/build_arm/staging_dir/usr/lib -o dump-image dump-image.o mkdir .libs /home/christopher/newbuildroot/buildroot/build_arm/staging_dir/bin/arm-linux-uclibc-gcc -Os -pipe -I/home/christopher/newbuildroot/buildroot/build_arm/staging_dir/usr/include -o .libs/dump-image dump-image.o -L/home/christopher/newbuildroot/buildroot/build_arm/libmatchbox-1.9/libmb /home/christopher/newbuildroot/buildroot/build_arm/libmatchbox-1.9/libmb/.libs/libmb.so -L/home/christopher/newbuildroot/buildroot/build_arm/staging_dir/usr/lib -Wl,--rpath -Wl,/home/christopher/newbuildroot/buildroot/build_arm/staging_dir/usr/lib dump-image.o: In function `main': /home/christopher/newbuildroot/buildroot/build_arm/libmatchbox-1.9/tests/dump-image.c:30: undefined reference to `XOpenDisplay' /home/christopher/newbuildroot/buildroot/build_arm/libmatchbox-1.9/tests/dump-image.c:41: undefined reference to `XCloseDisplay' /home/christopher/newbuildroot/buildroot/build_arm/libmatchbox-1.9/libmb/.libs/libmb.so: undefined reference to `XFreePixmap' /home/christopher/newbuildroot/buildroot/build_arm/libmatchbox-1.9/libmb/.libs/libmb.so: undefined reference to `XShmDetach' /home/christopher/newbuildroot/buildroot/build_arm/libmatchbox-1.9/libmb/.libs/libmb.so: undefined reference to `XDrawString' /home/christopher/newbuildroot/buildroot/build_arm/libmatchbox-1.9/libmb/.libs/libmb.so: undefined reference to `XGrabKeyboard' /home/christopher/newbuildroot/buildroot/build_arm/libmatchbox-1.9/libmb/.libs/libmb.so: undefined reference to `XSync' /home/christopher/newbuildroot/buildroot/build_arm/libmatchbox-1.9/libmb/.libs/libmb.so: undefined reference to `XDrawLines' /home/christopher/newbuildroot/buildroot/build_arm/libmatchbox-1.9/libmb/.libs/libmb.so: undefined reference to `XMapWindow' /home/christopher/newbuildroot/buildroot/build_arm/libmatchbox-1.9/libmb/.libs/libmb.so: undefined reference to `XPending' /home/christopher/newbuildroot/buildroot/build_arm/libmatchbox-1.9/libmb/.libs/libmb.so: undefined reference to `XCreateSimpleWindow' /home/christopher/newbuildroot/buildroot/build_arm/libmatchbox-1.9/libmb/.libs/libmb.so: undefined reference to `XCreateImage' /home/christopher/newbuildroot/buildroot/build_arm/libmatchbox-1.9/libmb/.libs/libmb.so: undefined reference to `XSetForeground' /home/christopher/newbuildroot/buildroot/build_arm/libmatchbox-1.9/libmb/.libs/libmb.so: undefined reference to `XGetWindowAttributes' /home/christopher/newbuildroot/buildroot/build_arm/libmatchbox-1.9/libmb/.libs/libmb.so: undefined reference to `XResizeWindow' /home/christopher/newbuildroot/buildroot/build_arm/libmatchbox-1.9/libmb/.libs/libmb.so: undefined reference to `XFreeGC' /home/christopher/newbuildroot/buildroot/build_arm/libmatchbox-1.9/libmb/.libs/libmb.so: undefined reference to `XCopyArea' /home/christopher/newbuildroot/buildroot/build_arm/libmatchbox-1.9/libmb/.libs/libmb.so: undefined reference to `XUngrabServer' /home/christopher/newbuildroot/buildroot/build_arm/libmatchbox-1.9/libmb/.libs/libmb.so: undefined reference to `XGrabPointer' /home/christopher/newbuildroot/buildroot/build_arm/libmatchbox-1.9/libmb/.libs/libmb.so: undefined reference to `XGetImage' /home/christopher/newbuildroot/buildroot/build_arm/libmatchbox-1.9/libmb/.libs/libmb.so: undefined reference to `XTextWidth' /home/christopher/newbuildroot/buildroot/build_arm/libmatchbox-1.9/libmb/.libs/libmb.so: undefined reference to `XSendEvent' /home/christopher/newbuildroot/buildroot/build_arm/libmatchbox-1.9/libmb/.libs/libmb.so: undefined reference to `XFree' /home/christopher/newbuildroot/buildroot/build_arm/libmatchbox-1.9/libmb/.libs/libmb.so: undefined reference to `XGetWindowProperty' /home/christopher/newbuildroot/buildroot/build_arm/libmatchbox-1.9/libmb/.libs/libmb.so: undefined reference to `XSetErrorHandler' /home/christopher/newbuildroot/buildroot/build_arm/libmatchbox-1.9/libmb/.libs/libmb.so: undefined reference to `XChangeProperty' /home/christopher/newbuildroot/buildroot/build_arm/libmatchbox-1.9/libmb/.libs/libmb.so: undefined reference to `XDestroyWindow' /home/christopher/newbuildroot/buildroot/build_arm/libmatchbox-1.9/libmb/.libs/libmb.so: undefined reference to `XGetSelectionOwner' /home/christopher/newbuildroot/buildroot/build_arm/libmatchbox-1.9/libmb/.libs/libmb.so: undefined reference to `XKeycodeToKeysym' /home/christopher/newbuildroot/buildroot/build_arm/libmatchbox-1.9/libmb/.libs/libmb.so: undefined reference to `XParseColor' /home/christopher/newbuildroot/buildroot/build_arm/libmatchbox-1.9/libmb/.libs/libmb.so: undefined reference to `XRefreshKeyboardMapping' /home/christopher/newbuildroot/buildroot/build_arm/libmatchbox-1.9/libmb/.libs/libmb.so: undefined reference to `XQueryColor' /home/christopher/newbuildroot/buildroot/build_arm/libmatchbox-1.9/libmb/.libs/libmb.so: undefined reference to `XFreeFont' /home/christopher/newbuildroot/buildroot/build_arm/libmatchbox-1.9/libmb/.libs/libmb.so: undefined reference to `XShmCreateImage' /home/christopher/newbuildroot/buildroot/build_arm/libmatchbox-1.9/libmb/.libs/libmb.so: undefined reference to `XSetCommand' /home/christopher/newbuildroot/buildroot/build_arm/libmatchbox-1.9/libmb/.libs/libmb.so: undefined reference to `XShmPutImage' /home/christopher/newbuildroot/buildroot/build_arm/libmatchbox-1.9/libmb/.libs/libmb.so: undefined reference to `XSetWindowBackgroundPixmap' /home/christopher/newbuildroot/buildroot/build_arm/libmatchbox-1.9/libmb/.libs/libmb.so: undefined reference to `XSynchronize' /home/christopher/newbuildroot/buildroot/build_arm/libmatchbox-1.9/libmb/.libs/libmb.so: undefined reference to `XShmAttach' /home/christopher/newbuildroot/buildroot/build_arm/libmatchbox-1.9/libmb/.libs/libmb.so: undefined reference to `XMaskEvent' /home/christopher/newbuildroot/buildroot/build_arm/libmatchbox-1.9/libmb/.libs/libmb.so: undefined reference to `XGrabServer' /home/christopher/newbuildroot/buildroot/build_arm/libmatchbox-1.9/libmb/.libs/libmb.so: undefined reference to `XLoadQueryFont' /home/christopher/newbuildroot/buildroot/build_arm/libmatchbox-1.9/libmb/.libs/libmb.so: undefined reference to `XPeekEvent' /home/christopher/newbuildroot/buildroot/build_arm/libmatchbox-1.9/libmb/.libs/libmb.so: undefined reference to `XTranslateCoordinates' /home/christopher/newbuildroot/buildroot/build_arm/libmatchbox-1.9/libmb/.libs/libmb.so: undefined reference to `XCheckTypedEvent' /home/christopher/newbuildroot/buildroot/build_arm/libmatchbox-1.9/libmb/.libs/libmb.so: undefined reference to `XQueryColors' /home/christopher/newbuildroot/buildroot/build_arm/libmatchbox-1.9/libmb/.libs/libmb.so: undefined reference to `XInternAtom' /home/christopher/newbuildroot/buildroot/build_arm/libmatchbox-1.9/libmb/.libs/libmb.so: undefined reference to `XAllocColor' /home/christopher/newbuildroot/buildroot/build_arm/libmatchbox-1.9/libmb/.libs/libmb.so: undefined reference to `XSetFont' /home/christopher/newbuildroot/buildroot/build_arm/libmatchbox-1.9/libmb/.libs/libmb.so: undefined reference to `XShmQueryExtension' /home/christopher/newbuildroot/buildroot/build_arm/libmatchbox-1.9/libmb/.libs/libmb.so: undefined reference to `XFlush' /home/christopher/newbuildroot/buildroot/build_arm/libmatchbox-1.9/libmb/.libs/libmb.so: undefined reference to `XCreateWindow' /home/christopher/newbuildroot/buildroot/build_arm/libmatchbox-1.9/libmb/.libs/libmb.so: undefined reference to `XNextEvent' /home/christopher/newbuildroot/buildroot/build_arm/libmatchbox-1.9/libmb/.libs/libmb.so: undefined reference to `XDrawRectangle' /home/christopher/newbuildroot/buildroot/build_arm/libmatchbox-1.9/libmb/.libs/libmb.so: undefined reference to `XSelectInput' /home/christopher/newbuildroot/buildroot/build_arm/libmatchbox-1.9/libmb/.libs/libmb.so: undefined reference to `XGetGeometry' /home/christopher/newbuildroot/buildroot/build_arm/libmatchbox-1.9/libmb/.libs/libmb.so: undefined reference to `XSetLineAttributes' /home/christopher/newbuildroot/buildroot/build_arm/libmatchbox-1.9/libmb/.libs/libmb.so: undefined reference to `XSetStandardProperties' /home/christopher/newbuildroot/buildroot/build_arm/libmatchbox-1.9/libmb/.libs/libmb.so: undefined reference to `XEventsQueued' /home/christopher/newbuildroot/buildroot/build_arm/libmatchbox-1.9/libmb/.libs/libmb.so: undefined reference to `XClearWindow' /home/christopher/newbuildroot/buildroot/build_arm/libmatchbox-1.9/libmb/.libs/libmb.so: undefined reference to `XFillRectangle' /home/christopher/newbuildroot/buildroot/build_arm/libmatchbox-1.9/libmb/.libs/libmb.so: undefined reference to `XUngrabKeyboard' /home/christopher/newbuildroot/buildroot/build_arm/libmatchbox-1.9/libmb/.libs/libmb.so: undefined reference to `XUngrabPointer' /home/christopher/newbuildroot/buildroot/build_arm/libmatchbox-1.9/libmb/.libs/libmb.so: undefined reference to `XPutImage' /home/christopher/newbuildroot/buildroot/build_arm/libmatchbox-1.9/libmb/.libs/libmb.so: undefined reference to `XCreatePixmap' /home/christopher/newbuildroot/buildroot/build_arm/libmatchbox-1.9/libmb/.libs/libmb.so: undefined reference to `XCreateGC' /home/christopher/newbuildroot/buildroot/build_arm/libmatchbox-1.9/libmb/.libs/libmb.so: undefined reference to `XMapRaised' collect2: ld returned 1 exit status make[4]: *** [dump-image] Error 1 make[4]: Leaving directory `/home/christopher/newbuildroot/buildroot/build_arm/libmatchbox-1.9/tests' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/christopher/newbuildroot/buildroot/build_arm/libmatchbox-1.9/tests' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/christopher/newbuildroot/buildroot/build_arm/libmatchbox-1.9' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/christopher/newbuildroot/buildroot/build_arm/libmatchbox-1.9' make: *** [/home/christopher/newbuildroot/buildroot/build_arm/libmatchbox-1.9/.compiled] Error 2 rederlinux:/home/christopher/newbuildroot/buildroot# m On Thu, 2007-05-17 at 13:21 +0300, Assen Stoyanov wrote: > Hello All, > > Please find attached patch that adds to current buildroot: > - x11r7 libs and kdrive (TinyX) servers > - tslib (Touchscreen support & utils) > - matchbox (window manager, panel, desktop, etc...) > > Any remarks and bug-reports are welcome! > > Best Regards, > Assen Stoyanov > No virus found in this outgoing message. > Checked by AVG Free Edition. > Version: 7.5.467 / Virus Database: 269.7.1/807 - Release Date: 5/16/2007 6:05 PM > _______________________________________________ > buildroot mailing list > buildroot at uclibc.org > http://busybox.net/mailman/listinfo/buildroot ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2007-10-18 16:41 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <2825817.260931192589489912.JavaMail.nabble@isper.nabble.com>
2007-10-17 9:44 ` [Buildroot] x11r7-matchbox-tslib patch softa at ttechgroup.com
2007-10-17 12:22 ` Leonid
2007-10-17 14:41 ` Leonid
2007-10-18 7:18 ` softa at ttechgroup.com
2007-10-18 16:41 ` Leonid
2007-10-17 4:11 Leonid
-- strict thread matches above, loose matches on Subject: below --
2007-05-17 10:21 Assen Stoyanov
2007-05-24 16:49 ` Christopher Reder
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox