[<<] [<] Page 1 of 1 [>] [>>] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Build problem
From: "John Waldron" ####@####.#### Date: 3 Jan 2001 14:19:04 -0000 Message-Id: <007601c07590$ba9bffa0$6401a8c0@fletchii> I can build mWin successfully, but then when trying to run nano-X and nanowm on my LPlanet, I get "cannot initialise screen" errors and "Error setting graphics mode: Invalid argument" errors. I have built using the default config.ppc that comes in the microwindows-0.89pre6 tarball. Any idea what I am doing wrong? John | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: Build problem
From: "Greg Haerr" ####@####.#### Date: 3 Jan 2001 18:19:37 -0000 Message-Id: <00e701c075b1$72f20a20$15320cd0@gregh> I can build mWin successfully, but then when trying to run nano-X and nanowm on my LPlanet, I get "cannot initialise screen" errors and "Error setting graphics mode: Invalid argument" errors. I have built using the default config.ppc that comes in the microwindows-0.89pre6 tarball. Any idea what I am doing wrong? John - Remember that when using the MV CDK, there are two versions of the kernel w/touch screen driver for the EP. The earlier one, v1.1, uses a nonstandard interface to the framebuffer, I think it's /dev/lcd or something. If you're using this, you'll need to #define EMBEDDEDPLANET in microwin/src/drivers/scr_fb.c. (That code may be removed by now, see an earlier version if necessary). Otherwise, you need to run the newer kernel, which will have a /dev/fb0 device that conforms to the Linux standard. I know that Microwindows works with both versions, the question is exactly which version you are running... Regards, Greg | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
build problem
From: 賈宏波 Harper ####@####.#### Date: 12 Oct 2001 07:18:53 -0000 Message-Id: <2C111A6965E01E4AB9DBCCF75D0F0AF919A27F@kes01.kinposh.com.cn> Hi: I originally run my application successfully under microwindow on X-windows with running nano-X& firstly, Then I changed the config option into LINK_APP_TO_SERVER=Y, run three commands make clean,make,make install Some demos in microwindow can run sucessfully without running nano-X& firstly, but I can't build my application successfully under microwindow on X-windows, Some error messages are: srvmain.o(.text+0xb7): undefined reference to `GdGetNextTimeout' srvmain.o(.text+0x199): undefined reference to `GdTimeout' srvmain.o(.text+0x1d3): undefined reference to `GdError' /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libnano-X.a(srvmain.o): In function `GsInitialize': srvmain.o(.text+0x206): undefined reference to `GdError' srvmain.o(.text+0x251): undefined reference to `GdOpenKeyboard' srvmain.o(.text+0x26e): undefined reference to `GdError' srvmain.o(.text+0x275): undefined reference to `GdOpenScreen' srvmain.o(.text+0x288): undefined reference to `GdError' .............. How can I do? What's wrong with it? Thanks Harper 2001. 10.12 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: [nanogui] build problem
From: Gary James ####@####.#### Date: 13 Oct 2001 03:34:17 -0000 Message-Id: <20011012233943.A784@pc.twcny.rr.com> Hi Harper, When you built our application in the client/server model you prpbably used "-lnano-X" when you linked. Now that you are linking the server into your application you need to link in a couple extra libraries. Try using "-lmwengine -lmwdrivers -lmwfonts -L/usr/X11R6/lib -lX11" or "-lmwengine -lmwdrivers -lmwfonts -lttf -L/usr/X11R6/lib -lX11" if you are using TrueType fonts. -- Gary James ####@####.#### http://home.twcny.rr.com/embedded/ On Fri, 12 Oct 2001 03:18:49 ¸ë§»ªi Harper Jia wrote: > Hi: > > I originally run my application successfully under microwindow on > X-windows > with running nano-X& firstly, > > Then I changed the config option into LINK_APP_TO_SERVER=Y, > run three commands > make clean,make,make install > > Some demos in microwindow can run sucessfully without running nano-X& > firstly, > but I can't build my application successfully under microwindow on > X-windows, > > Some error messages are: > srvmain.o(.text+0xb7): undefined reference to `GdGetNextTimeout' > srvmain.o(.text+0x199): undefined reference to `GdTimeout' > srvmain.o(.text+0x1d3): undefined reference to `GdError' > /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libnano-X.a(srvmain.o): > In > function `GsInitialize': > srvmain.o(.text+0x206): undefined reference to `GdError' > srvmain.o(.text+0x251): undefined reference to `GdOpenKeyboard' > srvmain.o(.text+0x26e): undefined reference to `GdError' > srvmain.o(.text+0x275): undefined reference to `GdOpenScreen' > srvmain.o(.text+0x288): undefined reference to `GdError' > > .............. > > How can I do? What's wrong with it? > > Thanks > > Harper > 2001. > 10.12 > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: ####@####.#### > For additional commands, e-mail: ####@####.#### > > | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
RE: [nanogui] build problem
From: "??? Harper Jia" ####@####.#### Date: 15 Oct 2001 08:58:13 -0000 Message-Id: <2C111A6965E01E4AB9DBCCF75D0F0AF91AE9AB@kes01.kinposh.com.cn> Hi,Gary: Thank you for your answer,I tried according to your reply.But my app can't get through. I compiled with command"gcc l.c -o l -lmwengine -lmwdrivers -lmwfonts -L/usr/X11R6/lib -lX11" Error mssages are l.c:49:1: warning: no newline at end of file /tmp/ccaXJeYR.o: In function `main': /tmp/ccaXJeYR.o(.text+0x7): undefined reference to `GrNewGC' /tmp/ccaXJeYR.o(.text+0x1c): undefined reference to `GrSetGCUseBackground' /tmp/ccaXJeYR.o(.text+0x32): undefined reference to `GrSetGCForeground' /tmp/ccaXJeYR.o(.text+0x56): undefined reference to `GrNewWindowEx' /tmp/ccaXJeYR.o(.text+0x6c): undefined reference to `GrMapWindow' /tmp/ccaXJeYR.o(.text+0x7c): undefined reference to `GrMainLoop' /tmp/ccaXJeYR.o: In function `event_handler': /tmp/ccaXJeYR.o(.text+0xc1): undefined reference to `GrText' /tmp/ccaXJeYR.o(.text+0xcd): undefined reference to `GrClose' collect2: ld returned 1 exit status What's problem?Lack more libs? Thanks. -----Original Message----- From: Gary James ####@####.#### Sent: Saturday, October 13, 2001 11:40 AM To: ¸ë§»ªi Harper Jia Cc: ####@####.#### Subject: Re: [nanogui] build problem Hi Harper, When you built our application in the client/server model you prpbably used "-lnano-X" when you linked. Now that you are linking the server into your application you need to link in a couple extra libraries. Try using "-lmwengine -lmwdrivers -lmwfonts -L/usr/X11R6/lib -lX11" or "-lmwengine -lmwdrivers -lmwfonts -lttf -L/usr/X11R6/lib -lX11" if you are using TrueType fonts. -- Gary James ####@####.#### http://home.twcny.rr.com/embedded/ On Fri, 12 Oct 2001 03:18:49 ¸ë§»ªi Harper Jia wrote: > Hi: > > I originally run my application successfully under microwindow on > X-windows > with running nano-X& firstly, > > Then I changed the config option into LINK_APP_TO_SERVER=Y, > run three commands > make clean,make,make install > > Some demos in microwindow can run sucessfully without running nano-X& > firstly, > but I can't build my application successfully under microwindow on > X-windows, > > Some error messages are: > srvmain.o(.text+0xb7): undefined reference to `GdGetNextTimeout' > srvmain.o(.text+0x199): undefined reference to `GdTimeout' > srvmain.o(.text+0x1d3): undefined reference to `GdError' > /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libnano-X.a(srvmain.o): > In > function `GsInitialize': > srvmain.o(.text+0x206): undefined reference to `GdError' > srvmain.o(.text+0x251): undefined reference to `GdOpenKeyboard' > srvmain.o(.text+0x26e): undefined reference to `GdError' > srvmain.o(.text+0x275): undefined reference to `GdOpenScreen' > srvmain.o(.text+0x288): undefined reference to `GdError' > > .............. > > How can I do? What's wrong with it? > > Thanks > > Harper > 2001. > 10.12 > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: ####@####.#### > For additional commands, e-mail: ####@####.#### > > | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: [nanogui] build problem
From: "Greg Haerr" ####@####.#### Date: 15 Oct 2001 16:42:21 -0000 Message-Id: <012e01c15597$74cd0360$3aba46a6@xmission.com> : I compiled with command"gcc l.c -o l -lmwengine -lmwdrivers -lmwfonts -L/usr/X11R6/lib -lX11" : What's problem?Lack more libs? Yes, you need the Nano-X library of course: -lnano-X Regards, Greg | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: [nanogui] build problem
From: Gary James ####@####.#### Date: 16 Oct 2001 02:53:37 -0000 Message-Id: <20011015225910.A739@pc.twcny.rr.com> On Mon, 15 Oct 2001 12:35:12 Greg Haerr wrote: > : I compiled with command"gcc l.c -o l -lmwengine -lmwdrivers -lmwfonts > -L/usr/X11R6/lib -lX11" > : What's problem?Lack more libs? > > Yes, you need the Nano-X library of course: -lnano-X > > Regards, > > Greg Yup, you caught me on a bad cut and paste. I have been using a little bash script to build some smaller test programs that looks like below. As Greg mentioned you need obviously the nano-X library. #!/bin/bash APP='play' DEBUG='YES' LINK2SERVER='NO' DEFINES= DEFINES=${DEFINES}' -DEMULATE' INCS= INCS=${INCS}' -I/usr/include/microwin' SRCS= SRCS=${SRCS}' play.c' LIBS= LIBS=${LIBS}' -lnano-X' if [ $LINK2SERVER = YES ]; then LIBS=${LIBS}' -lmwengine -lmwdrivers -lmwfonts -lttf -L/usr/X11R6/lib -lX11' fi if [ $DEBUG = YES ]; then gcc ${SRCS} ${DEFINES} -Wall -g ${INCS} -o ${APP} ${LIBS} else gcc ${SRCS} ${DEFINES} -Wall ${INCS} -o ${APP} ${LIBS} fi -- Gary James ####@####.#### http://home.twcny.rr.com/embedded/ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[<<] [<] Page 1 of 1 [>] [>>] |