[<<] [<] Page 1 of 1 [>] [>>] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Compilation problems
From: Raymond ####@####.#### Date: 17 Oct 2001 04:02:26 -0000 Message-Id: <20011017040224.21211.qmail@web20809.mail.yahoo.com> Hi, I'm new in microwindows, maybe this is stupid question I asked. Now, I want to compile microwindows for strongarm Assabet. I've gcc cross compiler getting from handhelds.org. This is untar to /skiff/local. And then I copy config.ipaq to /src and modify some config option. After that, just type make, some errors occur. So how can I fix it???? In file included from /skiff/local/lib/gcc-lib/arm-linux/2.95.2/../../../../arm-linux/include/sys/types.h:121, from /skiff/local/lib/gcc-lib/arm-linux/2.95.2/../../../../arm-linux/include/stdlib.h:339, from fblin8.c:17: /skiff/local/lib/gcc-lib/arm-linux/2.95.2/../../../../arm-linux/include/time.h:10: parse error before `time_t' /skiff/local/lib/gcc-lib/arm-linux/2.95.2/../../../../arm-linux/include/time.h:10: warning: no semicolon at end of struct or union /skiff/local/lib/gcc-lib/arm-linux/2.95.2/../../../../arm-linux/include/time.h:12: parse error before `}' Rgds, Raymond _______________________________________________________________________ Do You Yahoo!? Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
compilation problems
From: "ffguillaume pachoud" ####@####.#### Date: 4 Mar 2002 12:41:12 -0000 Message-Id: <F24m0kMccv5FPhTQJYp0000670f@hotmail.com> Could you help, please ? I want to run Microwindows on my Linux. I use the config.x11 file for configuration. I have installed the Free86 3.3.6 Devel packages(4.2.0 needs lots of others packages, and I have only the Free86 3.3.6 libs package on my distibution). Is it necessary to use the 4.2.0 package ? I still have compilation errors : kbd_x11.c: In function `X11_Read': kbd_x11.c:356: warning: passing arg 2 of `XLookupString' from incompatible pointer type devopen.c: In function `GdCaptureScreen': devopen.c:431: warning: implicit declaration of function `memset' error.c: In function `GdError': error.c:22: warning: implicit declaration of function `strlen' move.c: In function `main': move.c:101: warning: implicit declaration of function `exit' landmine.c: In function `drawbutton': landmine.c:798: warning: implicit declaration of function `strlen' world.c: In function `main': world.c:174: warning: implicit declaration of function `exit' nterm.c: In function `printg': nterm.c:274: warning: implicit declaration of function `strlen' demo2.c: In function `main': demo2.c:17: warning: implicit declaration of function `exit' ftdemo.c: In function `main': ftdemo.c:49: warning: implicit declaration of function `exit' ntetris.c: In function `draw_score': ntetris.c:266: warning: implicit declaration of function `strlen' Compiling mtest2.c ... /home/gpachoud/microwindows-0.89pre8/src/lib/libmwdrivers.a(scr_x11.o): In function `lookup_color': scr_x11.o(.text+0xd6): undefined reference to `XLookupColor' scr_x11.o(.text+0xec): undefined reference to `XAllocColor' /home/gpachoud/microwindows-0.89pre8/src/lib/libmwdrivers.a(scr_x11.o): In function `_expose': scr_x11.o(.text+0x227): undefined reference to `XDefaultDepth' scr_x11.o(.text+0x2a8): undefined reference to `XCreateImage' scr_x11.o(.text+0x347): undefined reference to `XPutImage' /home/gpachoud/microwindows-0.89pre8/src/lib/libmwdrivers.a(scr_x11.o): In function `select_visual': scr_x11.o(.text+0x372): undefined reference to `XDefaultVisual' scr_x11.o(.text+0x37e): undefined reference to `XScreenOfDisplay' /home/gpachoud/microwindows-0.89pre8/src/lib/libmwdrivers.a(scr_x11.o): In function `x11_setup_display': scr_x11.o(.text+0x590): undefined reference to `XOpenDisplay' scr_x11.o(.text+0x5b1): undefined reference to `XSetErrorHandler' scr_x11.o(.text+0x5be): undefined reference to `XDefaultScreen' scr_x11.o(.text+0x5ec): undefined reference to `XDefaultGC' scr_x11.o(.text+0x6bd): undefined reference to `XSetFunction' /home/gpachoud/microwindows-0.89pre8/src/lib/libmwdrivers.a(scr_x11.o): In function `X11_open': scr_x11.o(.text+0x745): undefined reference to `XDefaultRootWindow' scr_x11.o(.text+0x754): undefined reference to `XCreateWindow' scr_x11.o(.text+0x76f): undefined reference to `XDefaultColormap' scr_x11.o(.text+0x794): undefined reference to `XCopyColormapAndFree' scr_x11.o(.text+0x7bb): undefined reference to `XCreateBitmapFromData' scr_x11.o(.text+0x7d5): undefined reference to `XCreatePixmapCursor' scr_x11.o(.text+0x7eb): undefined reference to `XDefineCursor' scr_x11.o(.text+0x806): undefined reference to `XStoreName' scr_x11.o(.text+0x81b): undefined reference to `XMapWindow' scr_x11.o(.text+0x828): undefined reference to `XFlush' scr_x11.o(.text+0x83d): undefined reference to `XInstallColormap' /home/gpachoud/microwindows-0.89pre8/src/lib/libmwdrivers.a(scr_x11.o): In function `X11_blit': scr_x11.o(.text+0xb5c): undefined reference to `XSetFunction' scr_x11.o(.text+0xbb4): undefined reference to `XCopyArea' scr_x11.o(.text+0xc40): undefined reference to `XDefaultDepth' scr_x11.o(.text+0xcbe): undefined reference to `XCreateImage' scr_x11.o(.text+0x1003): undefined reference to `XPutImage' /home/gpachoud/microwindows-0.89pre8/src/lib/libmwdrivers.a(scr_x11.o): In function `X11_setpalette': scr_x11.o(.text+0x12aa): undefined reference to `XLookupColor' scr_x11.o(.text+0x12c3): undefined reference to `XAllocColor' /home/gpachoud/microwindows-0.89pre8/src/lib/libmwdrivers.a(scr_x11.o): In function `X11_drawpixel': scr_x11.o(.text+0x134e): undefined reference to `XSetForeground' scr_x11.o(.text+0x1405): undefined reference to `XSetFunction' scr_x11.o(.text+0x142f): undefined reference to `XDrawPoint' /home/gpachoud/microwindows-0.89pre8/src/lib/libmwdrivers.a(scr_x11.o): In function `X11_drawhline': scr_x11.o(.text+0x14be): undefined reference to `XSetForeground' scr_x11.o(.text+0x1575): undefined reference to `XSetFunction' scr_x11.o(.text+0x15a2): undefined reference to `XDrawLine' /home/gpachoud/microwindows-0.89pre8/src/lib/libmwdrivers.a(scr_x11.o): In function `X11_drawvline': scr_x11.o(.text+0x160e): undefined reference to `XSetForeground' scr_x11.o(.text+0x16c5): undefined reference to `XSetFunction' scr_x11.o(.text+0x16f2): undefined reference to `XDrawLine' /home/gpachoud/microwindows-0.89pre8/src/lib/libmwdrivers.a(scr_x11.o): In function `X11_fillrect': scr_x11.o(.text+0x175e): undefined reference to `XSetForeground' scr_x11.o(.text+0x1815): undefined reference to `XSetFunction' scr_x11.o(.text+0x184e): undefined reference to `XFillRectangle' /home/gpachoud/microwindows-0.89pre8/src/lib/libmwdrivers.a(scr_x11.o): In function `x11_handle_event': scr_x11.o(.text+0x1913): undefined reference to `XInstallColormap' /home/gpachoud/microwindows-0.89pre8/src/lib/libmwdrivers.a(scr_x11.o): In function `x11_error': scr_x11.o(.text+0x19a7): undefined reference to `XGetErrorText' /home/gpachoud/microwindows-0.89pre8/src/lib/libmwdrivers.a(scr_x11.o): In function `X11_close': scr_x11.o(.text+0x1221): undefined reference to `XCloseDisplay' /home/gpachoud/microwindows-0.89pre8/src/lib/libmwdrivers.a(scr_x11.o): In function `X11_preselect': scr_x11.o(.text+0x1891): undefined reference to `XFlush' /home/gpachoud/microwindows-0.89pre8/src/lib/libmwdrivers.a(scr_x11.o): In function `x11_handle_event': scr_x11.o(.text+0x1945): undefined reference to `XRefreshKeyboardMapping' /home/gpachoud/microwindows-0.89pre8/src/lib/libmwdrivers.a(mou_x11.o): In function `X11_Read': mou_x11.o(.text+0x16a): undefined reference to `XCheckMaskEvent' mou_x11.o(.text+0x19d): undefined reference to `XPutBackEvent' mou_x11.o(.text+0x1ae): undefined reference to `XNextEvent' /home/gpachoud/microwindows-0.89pre8/src/lib/libmwdrivers.a(kbd_x11.o): In function `X11_Read': kbd_x11.o(.text+0x19): undefined reference to `XCheckMaskEvent' kbd_x11.o(.text+0x37): undefined reference to `XKeycodeToKeysym' kbd_x11.o(.text+0x122): undefined reference to `XUngrabPointer' kbd_x11.o(.text+0x131): undefined reference to `XUngrabKeyboard' kbd_x11.o(.text+0x153): undefined reference to `XChangePointerControl' kbd_x11.o(.text+0x186): undefined reference to `XGetPointerControl' kbd_x11.o(.text+0x19e): undefined reference to `XChangePointerControl' kbd_x11.o(.text+0x1bc): undefined reference to `XGrabKeyboard' kbd_x11.o(.text+0x1df): undefined reference to `XGrabPointer' kbd_x11.o(.text+0x21c): undefined reference to `XChangePointerControl' kbd_x11.o(.text+0x61a): undefined reference to `XLookupString' /home/gpachoud/microwindows-0.89pre8/src/lib/libmwdrivers.a(kbd_x11.o): In function `init_modstate': kbd_x11.o(.text+0x756): undefined reference to `XkbGetIndicatorState' collect2: ld returned 1 exit status make[2]: *** [/home/gpachoud/microwindows-0.89pre8/src/bin/mdemo] Error 1 _________________________________________________________________ Discutez en ligne avec vos amis, essayez MSN Messenger : http://messenger.msn.fr | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[<<] [<] Page 1 of 1 [>] [>>] |