注册 登录  
 加关注
   显示下一条  |  关闭
温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!立即重新绑定新浪微博》  |  关闭

deisp的博客

 
 
 

日志

 
 

[分享]我的minigui安装经验  

2008-07-15 23:08:58|  分类: 默认分类 |  标签: |举报 |字号 订阅

  下载LOFTER 我的照片书  |

[分享]我的minigui安装经验

(这条文章已经被阅读了 22060 次) 时间:2005/04/10 10:58pm 来源:esposido


1.install qvfb:
在X windows下,用Qt的frameBuffer比较容易
首先在http://www.minigui.com/download/c3rdparty.shtml下载qvfb-1.0.tar.gz,然后
tar -zxvf qvfb-1.0.tar.gz
cd qvfb-1.0
./autogen-sh
./configure
make
make install
2.安装minigui资源文件
在http://www.minigui.com/download/cindex.shtml下载minigui-res-str-1.6.tar.gz,然后
tar -zxvf minigui-res-str-1.6.tar.gz
cd minigui-res-str-1.6
make install
3.安装lib文件
在http://www.minigui.com/download/cindex.shtml下载libminigui-str-1.6.2.tar.gz,然后
tar -zxvf libminigui-str-1.6.2.tar.gz
cd libminigui-str-1.6.2
./autogen-sh
./configure --disable-lite
make
make install
vi /etc/ld.so.conf 在最后添加一行 /usr/local/lib 然后:wq保存推出
vi /usr/local/etc/Minigui.cfg 把输入fbcon输出console都改为qvfb 然后保存退出
ldconfig
4.编译实例文件
在http://www.minigui.com/download/cindex.shtml下载mg-samples-str-1.6.2.tar.gz,然后
tar -zxvf mg-samples-str-1.6.2.tar.gz
cd mg-samples-str-1.6.2
./configure --disable-lite
make
5.运行qvfb
重新开一个终端terminal,输入
qvfb &
然后再qvfb的左上角选择configure,设置为640X480 --16bpp,然后确定后不要退出
进入编译好的mg-samples-str-1.6.2目录,随便运行编译好的程序应该没有问题



6.建立交叉编译环境
我用的是pxa255,arm-linux-gcc,默认安装目录为/usr/local/arm/3.3.2/bin
在你的bashrc中添加环境变量即可
vi /etc/bashrc
最后一行加入:
export PATH=$PATH:/usr/local/arm/3.3.2/bin  保存退出后执行
source /etc/bashrc
7.交叉编译你的minigui-lib
我用的是1.3.3版本
make menuconfig
注意去掉jpg,png support,不要incoreres,不要lite模式,交叉编译选择arm-linux-gcc然后
make
make install
这时minigui被安装到/usr/local/arm-linux/arm-linux/ 下
8.交叉编译你的mde
export TARGET=arm-linux
export PREFIX=/usr/local/arm-linux/arm-linux/
CC=arm-linuc-gcc LDFLAGS=-L/$PREFIX/lib CPPFLAGS=-I/$PREFIX/include \
./configure --target=$TARGET --host=$TARGET --prefix=$PREFIX -exec-prefix=$prefix --enable-static
make
此时应经生成可执行文件
9.把你板子上的romfs用mount -o loop 到一个目录,然后全部cpoy出来,再不刚才的东西全部cpoy进取,重新生成romfs
ok,大功告成了!
什么?没反应,这个
为什么晶晶姑娘对我的新造型完全没有反应
[这个贴子最后由cz2sy在 2005/04/19 10:05am 第 11 次编辑]

学习中
谢谢
(安装问题请教楼主及各位大侠)
PS:
(1)QVFB的错误:./autogen-sh   执行错误:没有那个文件或目录我用RH9,自带的automake autoconf  需要我再运行吗?  
      后面我试图运行qvfb & 错误:command not found

   这是我跳过./autogen-sh 直接./configure, make , make install 后的结果:  

[root@chenzhi qvfb-1.0]# ./configure
(最后一个CHECK错误)
checking for X... configure: error: Can't find X includes. Please check your installation and add the correct paths!
[root@chenzhi qvfb-1.0]# make
make: *** No targets specified and no
makefile found.  Stop.
[root@chenzhi qvfb-1.0]# su chenzhi
[chenzhi@chenzhi qvfb-1.0]$ make
make: *** No targets specified and no
makefile found.  Stop.
[chenzhi@chenzhi qvfb-1.0]$ su
Password:
[root@chenzhi qvfb-1.0]# make install
make: *** No rule to make target
`install'.  Stop.

ok,其实1.6有很多新功能,特别是skin,哈哈,真的让我爱不释手我现在帮别人做产品,准备弄个彩蛋什么的,激活后就换成很cool的skin,hehe言归正传,学习版资源有限是主要原因.学习版定位本来就是让大家熟悉minigui的,真正做产品还是要掏$拉.你在移植的时候,最需要注意的就是路径,我的做法是在常用的路径下都加连接到一个固定的lib目录下,然后所有东西统统放在其中.这样就不怕找不到路径了:)


我安装了 automake 和autoconf 可是在qvfb中 还是 不能执行./autogen-sh这个步骤,不知道各位大人有什么高见


我也是 [root@localhost mde-1.6.0]# CC=arm-linuc-gcc      ./configure --target=arm-linux --host=arm-linux --prefix=/usr/local/arm-linux/arm-linux/ -exec-prefix=/usr/local/arm-linux/arm-linux/ --enable-static
configure: WARNING: If you wanted to set the --build type, don't use --host.
   If a cross compiler is detected then cross compile mode will be used.
checking build system type... i686-pc-linux-gnu
checking host system type... arm-unknown-linux-gnu
checking target system type... arm-unknown-linux-gnu
checking whether make sets ${MAKE}... yes
checking for arm-linux-gcc... arm-linuc-gcc
checking for C compiler default output... configure: error: C compiler cannot create executables
(若不说明,目录都是指板子上的目录)
我用的也是PXA255的CPU

前面交叉编译的过程也和你基本上是一样的,

交叉编译也通过了,生成了最后的可执行文件

但是最后一步我和你不一样

我用的是flashdisk,而且我编译的是mg-sample,我将res文件copy到/usr/local/lib/minigui下,将安装lib.minigui生成的文件copy
到/usr/local/lib下,,然后在/etc/ld.so.conf里加入
/usr/local/lib,然后
#ldconfig

下一步:用nfs服务将服务器上的目录mount上
最后将minigui.cfg文件copy到/etc目录中
运行,,呵呵,出错

错误信息:
DESKTOP: Can not initialize colors of window element!
InitGUI failure when using /etc/MiniGUI.cfg as cfg file.

目前正在解决这个问题中

运行qvfb后怎么运行编译好的文件啊
是在终端用命令吗?
我得到的是


root@ src]# gcc -o helloworld helloworld.c -lpthread -lminigui -ljpeg -lz
/usr/local/lib/libminigui.so: undefined reference to `png_set_gray_1_2_4_to_8'
/usr/local/lib/libminigui.so: undefined reference to `png_error'
/usr/local/lib/libminigui.so: undefined reference to `png_set_strip_alpha'
/usr/local/lib/libminigui.so: undefined reference to `png_get_rowbytes'
/usr/local/lib/libminigui.so: undefined reference to `png_set_strip_16'
/usr/local/lib/libminigui.so: undefined reference to `png_create_read_struct'
/usr/local/lib/libminigui.so: undefined reference to `png_set_sig_bytes'
/usr/local/lib/libminigui.so: undefined reference to `png_set_read_fn'
/usr/local/lib/libminigui.so: undefined reference to `png_set_packing'
/usr/local/lib/libminigui.so: undefined reference to `png_get_sRGB'
/usr/local/lib/libminigui.so: undefined reference to `png_set_gray_to_rgb'
/usr/local/lib/libminigui.so: undefined reference to `png_get_channels'
/usr/local/lib/libminigui.so: undefined reference to `png_get_gAMA'
/usr/local/lib/libminigui.so: undefined reference to `png_get_valid'
/usr/local/lib/libminigui.so: undefined reference to `png_set_palette_to_rgb'
/usr/local/lib/libminigui.so: undefined reference to `png_get_PLTE'
/usr/local/lib/libminigui.so: undefined reference to `png_get_IHDR'
/usr/local/lib/libminigui.so: undefined reference to `png_read_info'
/usr/local/lib/libminigui.so: undefined reference to `png_destroy_read_struct'
/usr/local/lib/libminigui.so: undefined reference to `png_check_sig'
/usr/local/lib/libminigui.so: undefined reference to `png_read_update_info'
/usr/local/lib/libminigui.so: undefined reference to `png_read_image'
/usr/local/lib/libminigui.so: undefined reference to `png_get_tRNS'
/usr/local/lib/libminigui.so: undefined reference to `png_create_info_struct'
/usr/local/lib/libminigui.so: undefined reference to `png_set_gamma'
/usr/local/lib/libminigui.so: undefined reference to `png_read_end'
collect2: ld returned 1 exit status
[root@ src]# gcc -o helloworld helloworld.c -lpthread -lminigui -ljpeg -lz
/usr/local/lib/libminigui.so: undefined reference to `png_set_gray_1_2_4_to_8'
/usr/local/lib/libminigui.so: undefined reference to `png_error'
/usr/local/lib/libminigui.so: undefined reference to `png_set_strip_alpha'
/usr/local/lib/libminigui.so: undefined reference to `png_get_rowbytes'
/usr/local/lib/libminigui.so: undefined reference to `png_set_strip_16'
/usr/local/lib/libminigui.so: undefined reference to `png_create_read_struct'
/usr/local/lib/libminigui.so: undefined reference to `png_set_sig_bytes'
/usr/local/lib/libminigui.so: undefined reference to `png_set_read_fn'
/usr/local/lib/libminigui.so: undefined reference to `png_set_packing'
/usr/local/lib/libminigui.so: undefined reference to `png_get_sRGB'
/usr/local/lib/libminigui.so: undefined reference to `png_set_gray_to_rgb'
/usr/local/lib/libminigui.so: undefined reference to `png_get_channels'
/usr/local/lib/libminigui.so: undefined reference to `png_get_gAMA'
/usr/local/lib/libminigui.so: undefined reference to `png_get_valid'
/usr/local/lib/libminigui.so: undefined reference to `png_set_palette_to_rgb'
/usr/local/lib/libminigui.so: undefined reference to `png_get_PLTE'
/usr/local/lib/libminigui.so: undefined reference to `png_get_IHDR'
/usr/local/lib/libminigui.so: undefined reference to `png_read_info'
/usr/local/lib/libminigui.so: undefined reference to `png_destroy_read_struct'
/usr/local/lib/libminigui.so: undefined reference to `png_check_sig'
/usr/local/lib/libminigui.so: undefined reference to `png_read_update_info'
/usr/local/lib/libminigui.so: undefined reference to `png_read_image'
/usr/local/lib/libminigui.so: undefined reference to `png_get_tRNS'
/usr/local/lib/libminigui.so: undefined reference to `png_create_info_struct'
/usr/local/lib/libminigui.so: undefined reference to `png_set_gamma'
/usr/local/lib/libminigui.so: undefined reference to `png_read_end'


我直接双击*.o文件,说是没有显示器能打开
希望高手指点一下

我是在gnome下安装的,这有影响吗?

还有一个问题

vi /usr/local/etc/Minigui.cfg 把输入fbcon输出console都改为qvfb 然后保存退出
ldconfig

这一步"输入fbcon输出console"在哪里?
我只找到一个fbcon,如下所示:


[system]
# GAL engine
gal_engine=fbcon
                                                                                     
# IAL engine
ial_engine=console
                                                                                     
mdev=/dev/mouse
mtype=IMPS2
                                                                                     
[fbcon]
defaultmode=1024x768-16bpp
                                                                                     
[qvfb]
defaultmode=640x480-16bpp
display=0


这几天被minigui彻底搞晕了

[system]
# GAL engine
gal_engine=qvfb
                                                                                   
# IAL engine
ial_engine=qvfb
                                                                                   
mdev=/dev/mouse
mtype=IMPS2
[这个贴子最后由zyj0310在 2005/05/18 11:08am 第 2 次编辑]

真的弄不懂呀,我用的是minigui1.6.0, 交叉编译的工具是minigui网站上面提供的.rpm的3个安装包,  交叉编译mde有下面问题, 我自己写了个程序也是同样的问题,实在弄不懂了,也是刚刚接触minigui 不久,很多概念还是不很清楚的
[root@localhost mde-1.6.0]# CC=arm-linuc-gcc LDFLAGS=-L/usr/local/arm-linux/arm-linux/lib CPPFLAGS=-I/usr/local/arm-linux/arm-linux/include ./configure --target=arm-linux --host=arm-linux --build=i386-linux --prefix=/usr/local/arm-linux/arm-linux -exec-prefix=$prefix --enable-static
checking build system type... i386-linux--prefix=/usr/local/arm-linux/arm-linux
checking host system type... arm-unknown-linux-gnu
checking target system type... arm-unknown-linux-gnu
checking whether make sets ${MAKE}... yes
checking for arm-linux-gcc... arm-linuc-gcc
checking for C compiler default output... configure: error: C compiler cannot create executables
大家帮帮忙,很急的
路径不对,没有找到arm-linux-gcc
先export=/../bin/arm-linux-gcc
再./configure CC=arm-linuc-gcc LDFLAGS=-L/usr/local/arm-linux/arm-linux/lib CPPFLAGS=-I/usr/local/arm-linux/arm-linux/include ./configure --target=arm-linux --host=arm-linux --build=i386-linux --prefix=/usr/local/arm-linux/arm-linux -exec-prefix=$prefix --enable-static
试试看
[这个贴子最后由cz2sy在 2005/05/04 05:04pm 第 1 次编辑]

谢谢楼主
我在师兄的机器上已经可以运行MDE-130中的DEMO了(我的机器就是不行,编译了4次,还重装都又错误,师兄的机器完全按你的步骤来,只有一点LITTLE ERROR 我靠!)
好高兴
中间一段时间还转去学习了一点QT/E,唉,累得个半死,今天突击了一下,也是照楼主的葫芦画了个瓢只进行到了步骤5
晕啊 晕啊! !   偶是菜鸟~~~~~

请教个位大侠!  我可以用gcc编译示例程序 成功运行

但不会用交叉编译器arm-linux-gcc编译

不会配置交叉编译器的连接库,而着不到头文件路径

[root@localhost hello]# armv4l-unknown-linux-gcc -o helloworld helloworld.c
helloworld.c:16: minigui/common.h: ?????????
helloworld.c:17: minigui/minigui.h: ?????????
helloworld.c:18: minigui/gdi.h: ?????????
helloworld.c:19: minigui/window.h: ?????????
helloworld.c:83: minigui/dti.c: ?????????

我装的是minigui-dev-1.6.2-1.i386.rpm  头文件装在/usr/include/minigu下 库文件在/usr/lib下  
请问怎么使交叉编译器寻到这一路径啊?

楼主,我在fc1的系统上装的minigui,在按照你的步棸,在装qvfb的时候出现了这样的情况:./configure到是没什呒问题,但是在make的时候出现的是下面的情况:
[root@localhost qvfb-1.0]# make
make: *** No targets specified and no makefile found.  Stop.
[root@localhost qvfb-1.0]#
在装 minigui-res-str-1.6的时候在make install后一下就好了,在/usr/local/lib里面也有了minigui这个文件,不知道这是不是把 minigui-res-str-1.6装好了
然而在装libminigui-str-1.6.2 的时候就基本上出现了好多错误,首先在解压的时候就出现了这样的情况:
[root@localhost minigui]# tar zxvf libminigui-str-1\[1\].6.2.tar.gz
libminigui-str-1.6.2/
libminigui-str-1.6.2/README
libminigui-str-1.6.2/config.h
libminigui-str-1.6.2/AUTHORS
libminigui-str-1.6.2/COPYING
libminigui-str-1.6.2/ChangeLog
libminigui-str-1.6.2/INSTALL
libminigui-str-1.6.2/Makefile.am
libminigui-str-1.6.2/Makefile.in
libminigui-str-1.6.2/NEWS
libminigui-str-1.6.2/TODO
libminigui-str-1.6.2/acinclude.m4
libminigui-str-1.6.2/aclocal.m4
libminigui-str-1.6.2/config.guess
libminigui-str-1.6.2/config.h.in
libminigui-str-1.6.2/config.sub
libminigui-str-1.6.2/configure
libminigui-str-1.6.2/configure.in
libminigui-str-1.6.2/depcomp
libminigui-str-1.6.2/install-sh
libminigui-str-1.6.2/ltmain.sh
libminigui-str-1.6.2/missing
libminigui-str-1.6.2/mkinstalldirs
libminigui-str-1.6.2/autogen.sh
libminigui-str-1.6.2/CREDITS
libminigui-str-1.6.2/Version
libminigui-str-1.6.2/LICENSE.POLICY
libminigui-str-1.6.2/LICENSE.POLICY.zh
libminigui-str-1.6.2/README.zh
libminigui-str-1.6.2/RELEASE.NOTE
libminigui-str-1.6.2/src/
libminigui-str-1.6.2/src/Makefile.am
libminigui-str-1.6.2/src/Makefile.in
libminigui-str-1.6.2/src/template.c
libminigui-str-1.6.2/src/template.h
libminigui-str-1.6.2/src/misc/
libminigui-str-1.6.2/src/misc/Makefile.am
libminigui-str-1.6.2/src/misc/Makefile.in
libminigui-str-1.6.2/src/misc/misc.c
libminigui-str-1.6.2/src/misc/systext.c
libminigui-str-1.6.2/src/misc/rwops.c
libminigui-str-1.6.2/src/misc/endianrw.c
libminigui-str-1.6.2/src/misc/nposix.c
libminigui-str-1.6.2/src/misc/clipboard.c
libminigui-str-1.6.2/src/misc/math.c
libminigui-str-1.6.2/src/misc/math3d.c
libminigui-str-1.6.2/src/misc/about.c
libminigui-str-1.6.2/src/misc/drawsemop.c
libminigui-str-1.6.2/src/misc/error.c
libminigui-str-1.6.2/src/misc/errorlog.c
libminigui-str-1.6.2/src/misc/sockio.c
libminigui-str-1.6.2/src/misc/listenfd.c
libminigui-str-1.6.2/src/main/
libminigui-str-1.6.2/src/main/Makefile.am
libminigui-str-1.6.2/src/main/Makefile.in
libminigui-str-1.6.2/src/main/main.c
libminigui-str-1.6.2/src/kernel/
libminigui-str-1.6.2/src/kernel/Makefile.am
libminigui-str-1.6.2/src/kernel/Makefile.in
libminigui-str-1.6.2/src/kernel/timer.c
libminigui-str-1.6.2/src/kernel/init.c
libminigui-str-1.6.2/src/kernel/desktop.c
libminigui-str-1.6.2/src/kernel/cursor.c
libminigui-str-1.6.2/src/kernel/message.c
libminigui-str-1.6.2/src/kernel/blockheap.c
libminigui-str-1.6.2/src/kernel/fixstr.c
libminigui-str-1.6.2/src/kernel/event.c
libminigui-str-1.6.2/src/kernel/timer-lite.c
libminigui-str-1.6.2/src/kernel/cursor-lite.c
libminigui-str-1.6.2/src/kernel/desktop-comm.c
libminigui-str-1.6.2/src/kernel/sharedres.c
libminigui-str-1.6.2/src/kernel/desktop-lite.c
libminigui-str-1.6.2/src/kernel/init-lite.c
libminigui-str-1.6.2/src/kernel/cursor-sa.c
libminigui-str-1.6.2/src/sysres/
libminigui-str-1.6.2/src/sysres/Makefile.am
libminigui-str-1.6.2/src/sysres/Makefile.in
libminigui-str-1.6.2/src/sysres/syscfg.c
libminigui-str-1.6.2/src/sysres/resource.c
libminigui-str-1.6.2/src/gal/
libminigui-str-1.6.2/src/gal/Makefile.am
libminigui-str-1.6.2/src/gal/Makefile.in
libminigui-str-1.6.2/src/gal/gal.c
libminigui-str-1.6.2/src/gal/native/
libminigui-str-1.6.2/src/gal/native/README
libminigui-str-1.6.2/src/gal/native/Makefile.am
libminigui-str-1.6.2/src/gal/native/Makefile.in
libminigui-str-1.6.2/src/gal/native/native.c
libminigui-str-1.6.2/src/gal/native/native.h
libminigui-str-1.6.2/src/gal/native/fb.c
libminigui-str-1.6.2/src/gal/native/fb.h
libminigui-str-1.6.2/src/gal/native/scr_fb.c
libminigui-str-1.6.2/src/gal/native/qvfb.c
libminigui-str-1.6.2/src/gal/native/qvfb.h
libminigui-str-1.6.2/src/gal/native/genfunc.c
libminigui-str-1.6.2/src/gal/native/genfunc_clipline.c
libminigui-str-1.6.2/src/gal/native/fblin32.c
libminigui-str-1.6.2/src/gal/native/fblin16.c
libminigui-str-1.6.2/src/gal/native/fblin8.c
libminigui-str-1.6.2/src/gal/native/fblin4.c
libminigui-str-1.6.2/src/gal/native/fblin-4.c
libminigui-str-1.6.2/src/gal/native/fblin2.c
libminigui-str-1.6.2/src/gal/native/fblin-2.c
libminigui-str-1.6.2/src/gal/native/fblin1.c
libminigui-str-1.6.2/src/gal/native/fblin-1.c
libminigui-str-1.6.2/src/gdi/
libminigui-str-1.6.2/src/gdi/Makefile.am
libminigui-str-1.6.2/src/gdi/Makefile.in
libminigui-str-1.6.2/src/gdi/attr.c
libminigui-str-1.6.2/src/gdi/bitmap.c
libminigui-str-1.6.2/src/gdi/clip.c
libminigui-str-1.6.2/src/gdi/coor.c
libminigui-str-1.6.2/src/gdi/draw.c
libminigui-str-1.6.2/src/gdi/drawtext.c
libminigui-str-1.6.2/src/gdi/drawtext.h
libminigui-str-1.6.2/src/gdi/gdi.c
libminigui-str-1.6.2/src/gdi/icon.c
libminigui-str-1.6.2/src/gdi/map.c
libminigui-str-1.6.2/src/gdi/rect.c
libminigui-str-1.6.2/src/gdi/screen.c
libminigui-str-1.6.2/src/gdi/text.c
libminigui-str-1.6.2/src/gdi/logfont.c
libminigui-str-1.6.2/src/gdi/readbmp.c
libminigui-str-1.6.2/src/gdi/palette.c
libminigui-str-1.6.2/src/gdi/cliprect.c
libminigui-str-1.6.2/src/gdi/gdidecl.h
libminigui-str-1.6.2/src/gdi/bitmap-comm.c
libminigui-str-1.6.2/src/gdi/loadicon.c
libminigui-str-1.6.2/src/ial/
libminigui-str-1.6.2/src/ial/Makefile.am
libminigui-str-1.6.2/src/ial/Makefile.in
libminigui-str-1.6.2/src/ial/ial.c
libminigui-str-1.6.2/src/ial/arm3000.c
libminigui-str-1.6.2/src/ial/arm3000.h
libminigui-str-1.6.2/src/ial/ipaq.c
libminigui-str-1.6.2/src/ial/ipaq.h
libminigui-str-1.6.2/src/ial/l7200.c
libminigui-str-1.6.2/src/ial/l7200.h
libminigui-str-1.6.2/src/ial/dummy.c
libminigui-str-1.6.2/src/ial/dummy.h
libminigui-str-1.6.2/src/ial/qvfb.c
libminigui-str-1.6.2/src/ial/qvfb.h
libminigui-str-1.6.2/src/ial/px255b.c
libminigui-str-1.6.2/src/ial/px255b.h
libminigui-str-1.6.2/src/ial/mc68x328.c
libminigui-str-1.6.2/src/ial/mc68x328.h
libminigui-str-1.6.2/src/ial/2410.c
libminigui-str-1.6.2/src/ial/2410.h
libminigui-str-1.6.2/src/ial/auto.c
libminigui-str-1.6.2/src/ial/auto.h
libminigui-str-1.6.2/src/ial/hh2410r3.c
libminigui-str-1.6.2/src/ial/hh2410r3.h
libminigui-str-1.6.2/src/ial/embest2410.c
libminigui-str-1.6.2/src/ial/embest2410.h
libminigui-str-1.6.2/src/ial/fft7202.c
libminigui-str-1.6.2/src/ial/fft7202.h
libminigui-str-1.6.2/src/ial/fxrm9200.c
libminigui-str-1.6.2/src/ial/fxrm9200.h
libminigui-str-1.6.2/src/ial/spec_general_ts_drv.html
libminigui-str-1.6.2/src/ial/native/
libminigui-str-1.6.2/src/ial/native/README
libminigui-str-1.6.2/src/ial/native/Makefile.am
libminigui-str-1.6.2/src/ial/native/Makefile.in

gzip: stdin: unexpected end of file
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
[root@localhost libminigui-str-1.6.2]# ./configure --disable-lite
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for ranlib... ranlib
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking for a sed that does not truncate output... /bin/sed
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking command to parse /usr/bin/nm -B output... ok
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for ranlib... (cached) ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... no
creating libtool
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking whether make sets ${MAKE}... yes
checking whether build environment is sane... yes
checking for gawk... gawk
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for ANSI C header files... (cached) yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for sys/types.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking termio.h usability... yes
checking termio.h presence... yes
checking for termio.h... yes
checking for unistd.h... (cached) yes
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for gcc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for working alloca.h... yes
checking for alloca... yes
checking for working memcmp... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for vprintf... yes
checking for _doprnt... no
checking for strdup... yes
checking for strcasecmp... yes
checking for strerror... yes
checking for setenv... yes
checking for tmpfile... yes
checking for pthread library... yes
checking for jpeg_std_error in -ljpeg... yes
checking for png_check_sig in -lpng... yes
checking for pow in -lm... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/control/Makefile
config.status: error: cannot find input file: src/control/Makefile.in
[root@localhost libminigui-str-1.6.2]# make
cd . && /bin/sh ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
make  all-recursive
make[1]: Entering directory `/usr/minigui/libminigui-str-1.6.2'
Making all in src
make[2]: Entering directory `/usr/minigui/libminigui-str-1.6.2/src'
Makefile:279: .deps/template.Plo: 没有那个文件或目录
make[2]: *** No rule to make target `.deps/template.Plo'.  Stop.
make[2]: Leaving directory `/usr/minigui/libminigui-str-1.6.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/minigui/libminigui-str-1.6.2'
make: *** [all] Error 2
[root@localhost libminigui-str-1.6.2]# make install
Making install in src
make[1]: Entering directory `/usr/minigui/libminigui-str-1.6.2/src'
Makefile:279: .deps/template.Plo: 没有那个文件或目录
make[1]: *** No rule to make target `.deps/template.Plo'.  Stop.
make[1]: Leaving directory `/usr/minigui/libminigui-str-1.6.2/src'
make: *** [install-recursive] Error 1
情况就是上面的,请大家帮我看看问题出在哪???
minigui的软件包都放在/usr/minigui下面


向第一位先生说的那样把文件考入romfs.img挂起考出的文件,然后生成新的romfs.img
不可实现啊,因为,当你考出以后,你的romfs下/dev/路径下的设备驱动就不存在了
而且我试了下,用skyeye这样仿真平台上跑这样的文件系统镜象,出现如下错误(我重建了romfs/dev/下mknod了设备驱动),出现如下错误,
***************************************************************
****                                                       ****
****   SkyEye  Simulator Ver 0.8.6 with  GDB 5.3 Interface ****
****                                                       ****
***************************************************************
GNU gdb 5.3
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This SkyEye was configured as "--host=i686-pc-linux-gnu --target=arm-elf"...
(SkyEye) tar s
cpu info: armv4, arm720t, 41807200, ffffff00, 1
mach info: name ep7312, mach_init addr 0x8146ef4
lcd info: turn on lcd!
nic[0] info: state=1, ethmod num=1, mac addr=0:4:3:2:1:f, hostip=10.0.0.1
nic_init_begin
tapif_init begin
tapif_init: fd 6
tapif_init: system("ifconfig tap0 inet 10.0.0.1");
tapif_init end
nic_init_end
SKYEYE: use arm7100 mmu ops
Loaded ROM ./romfs.img
Connected to the simulator.
(SkyEye) lo
Loading section .init, size 0x13000 vma 0xc0028000
Loading section .text, size 0x11fd70 vma 0xc003b000
Loading section __ex_table, size 0x900 vma 0xc015ad70
Loading section .data, size 0xe73f vma 0xc015c000
Start address 0xc0028000
Transfer rate: 10546552 bits in <1 sec.
(SkyEye) r
Starting program: /wangchao/vmlinux
Linux version 2.4.13-ac4-rmk1 (root@localhost.localdomain) (gcc version 2.95.3 2 0010315 (release)) #10 ?? 5)) #10 ?? 5?? 20 15:17:07 CST 2005
Processor: ARM ARM720T revision 0
Architecture: Cirrus Logic EDB7312 (EP7312 evaluation board)
Warning: bad configuration page, trying to continue
On node 0 totalpages: 4096
zone(0): 4096 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line:
Console: colour dummy device 80x30
Calibrating delay loop... 26.00 BogoMIPS
Memory: 16MB = 16MB total
Memory: 14452KB available (1151K code, 258K data, 76K init)
Dentry-cache hash table entries: 2048 (order: 2, 16384 bytes)
Inode-cache hash table entries: 1024 (order: 1, 8192 bytes)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 4096 (order: 2, 16384 bytes)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Starting kswapd v1.8

LCDCON:will call ep7312_update_lcd()
SKYEYE:  lcd_addr_begin 0xc0000000,lcd_addr_end 0xc0012bff, width 320, height 24 0, depth 8
Console: switching to colour frame buffer device 40x30
pty: 256 Unix98 ptys configured
skyeye_ts_drv.c: SkyEye touch screen driver initialize
skyeye_ts_drv.c: Device register with name: skyeye touch screen and number: 10 9
block: queued sectors max/low 9485kB/3161kB, 64 slots per queue
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
cs89x0:cs89x0_probe(0x0)
PP_addr=0x0
eth0: incorrect signature 0x0
cs89x0: no cs8900 or cs8920 detected.  Be sure to disable PnP with SETUP
Blkmem copyright 1998,1999 D. Jeff Dionne
Blkmem copyright 1998 Kenneth Albanowski
Blkmem 1 disk images:
0: FB0C0000-FB0BFFFF [VIRTUAL FB0C0000-FB0BFFFF] (RO)
SkyEye NE2k Ethernet driver version 0.2 (2003-04-27)
sene2k dev name: eth0: <5>Can't allocate major number 31 for Memory Technology D evices.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 1024 bind 1024)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NetWinder Floating Point Emulator V0.95 (c) 1998-1999 Rebel.com
Blkmem: bad access: block=2, count=2 (pos=800, len=0)
end_request: I/O error, dev 1f:00 (Blkmem), sector 2
EXT2-fs: unable to read superblock
Blkmem: bad access: block=0, count=2 (pos=400, len=0)
end_request: I/O error, dev 1f:00 (Blkmem), sector 0
romfs: unable to read superblock
Kernel panic: VFS: Unable to mount root fs on 1f:00

我的skyeye.conf被我改过
#Skyeye config for MiniGUI sample
cpu:arm720t
mach:ep7312
lcd:state=on
mem_bank:map=I,type=RW,addr=0x80000000,size=0x00010000
mem_bank:map=M,type=R,addr=0x00000000,size=0x000C0000
mem_bank:map=M,type=R,addr=0x000C0000,size=0x02000000,file=./romfs.img
mem_bank:map=M,type=RW,addr=0xC0000000,size=0x01000000
net: state=on, mac=0:4:3:2:1:f, ethmod=tuntap, hostip=10.0.0.1

多谢指点!  

我不大能看懂关于交叉编译miniguilib的说明:  

"7.交叉编译你的minigui-lib
我用的是1.3.3版本
make menuconfig
注意去掉jpg,png support,不要incoreres,不要lite模式,交叉编译选择arm-linux-gcc"

具体用什么样的命令去掉jpg,png support,不要incoreres,不要lite模式,交叉编译选择arm-linux-gcc? ?

直接make menuconfig好像不对:  

[root@localhost minigui-free]# cd libminigui-str-1.6.2/
[root@localhost libminigui-str-1.6.2]# make menuconfig
make: *** No rule to make target `menuconfig'.  Stop.

帮帮偶这个菜鸟,请指教~~~~~~~

大虾们,我在建立MINIGUI的PC机运行环境,进行./configure出现了如下错误:
cheching for Qt...configure:error: Qt(>= Qt 3.0.3)(headers and libraries)not found.please check your installation!

弱弱的问一下,这是什么原因造成的?我用的是redhat9.0  

楼主你好!
非常感谢你的文章,但是最后两步有一点儿不是很清楚,请教一下
minigui交叉编译以后,修改目标版的根文件系统,此时拷贝的是交叉编译生成的整个lib库,还是仅仅与minigui相关的那些链接库,具体的应该是那些文件呢?拷贝的时候是直接cp,还是需要加上选项-d?
mde交叉编译以后,是不是只要在目标版上保存其生成的可执行文件就ok了,不需要那些源代码文件吧

不好意思,新手,希望得到帮助!

只需要libminigui.so.0.0.0, mgext.so.0.0.0和vconsole.so.0.0.0三个估计就可以了,将他们靠到文件系统下面需要修改一下名称为:libminigui.so.0, mgext.so.0和vconsole.so.0即可
mde下面生成的文件,不用拷贝.o文件和源代码,但是需要程序中的一些用到的图片等资源
按照楼主的安装步骤,在第一步安装qvfb的时候,tar 之后没有运行./autogen -sh,因为没有这个文件,跳过去之后运行./configure 之后在make 出现warning:Clock skew detected.Your build may be imcompleted.不知道这是一个什么错误这样是不是再运行make install也没有用了这样的话说明qvfb没有装上啊?
我安装了qvfb, minigui-res-str-1.6, libminigui-str-1.6.2, 也编译了实例文件minigui-samples-str-1.6.2. 可是我运行qvfb后,再运行任何实例可执行文件都会报错,提示找不到libminigui-1.6.so.2,但是我用命令可以在/usr/local/lib下找到libminigui-1.6.so.2.

下面是我运行的结果:
[root@mothlinux root]# qvfb&
[1] 9305
[root@mothlinux root]# Using display 0
cd /home/moth/minigui-str
[root@mothlinux minigui-str]# cd mg-samples-str-1.6.2
[root@mothlinux mg-samples-str-1.6.2]# cd src
[root@mothlinux src]# ls -l helloworld
-rwxr-xr-x    1 root     root        32842  9月 20 11:37 helloworld
[root@mothlinux src]# ./helloworld
./helloworld: error while loading shared libraries: libminigui-1.6.so.2: cannot
open shared object file: No such file or directory
[root@mothlinux src]# whereis libminigui-1.6.so.2
libminigui-1.6.so: /usr/local/lib/libminigui-1.6.so.2
[root@mothlinux src]# ./cursordemo
./cursordemo: error while loading shared libraries: libminigui-1.6.so.2: cannot
open shared object file: No such file or directory
[root@mothlinux src]#

我才接触linux不久,希望大家多多指教!

我找到了
[system]
# GAL engine
gal_engine=qvfb
                                                                                   
# IAL engine
ial_engine=qvfb
                                                                                   
mdev=/dev/mouse
mtype=IMPS2
可是不能修改啊,还有,我在vi /etc/ld.so.conf 在最后添加一行 /usr/local/lib 后,怎么保存修改啊?
我是菜鸟,linux和minigui都是刚接触!


我找到了

# GAL engine
gal_engine=qvfb
...



呵呵,我跟你一样呢! 这个文件要以ROOT的身份登录才可以修改,因为它对一般用户是只读属性.
我没有做autogen.sh,直接configure,结果说我  checking for X... configure: error: Can't find X includes. Please check your installation and add the correct paths!
我用的是rh9,不知道问题在哪里?请赐教
你好,我在交叉编译的时候,make menuconfig按照你说的作的,然后make的时候出险如下错误
stretch.c:265:47: missing terminating " character
stretch.c:267:25: missing terminating " character
make[4]: *** [stretch.lo] Error 1
make[4]: Leaving directory `/home/dalewang/libminigui-1.3.3/src/newgal'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/dalewang/libminigui-1.3.3/src/newgal'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/dalewang/libminigui-1.3.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/dalewang/libminigui-1.3.3'
make: *** [all] Error 2
请问如何解决,谢谢.还有 make menuconfig的时候不用指定安装目录吗?我的交叉编译环境也cross3.3.2一经配置完毕,在终端可以执行arm-linux-gcc命令.麻烦你解答,交叉编译minigui已经花了我3天时见了,郁闷死了.谢谢.
另外,可否把一直到扳子上的过程详悉告知,我的是YL2410的扳子.
我的信箱是dalewang@vip.sina.com!!谢谢你了!!

tar -zxvf qvfb-1.0.tar.gz
cd qvfb-1.0
./autogen.sh
出现 command not found
./configure
最后一行出现 configure:error:no acceptable C compiler found in $PATH
然后执行
make  
出现 make :***No targets specified and no makefile found. stop
make install
出现 make :***No rule to make target 'install'. Stop


不知道为何?请高人指点    RED HAT 9.0

tar -zxvf libminigui-str-1.3.3.tar.gz
cd libminigui-str-1.3.3
./autogen-sh
显示:没有那个文件或目录
./configure --disable-lite
显示:checking build system type...configure:error:cannot guess build type:you must specify one
make
显示 You may need to run configure scripe to build makefile

我安装的是RED HAT 9.0,不知道是啥原因?请高人指点一下

to ip4347:
I did this:
[root@redhat9 root]# ! /bin/sh
sh-2.05b# aclocal
sh-2.05b# cd qvfb-1.0
sh-2.05b# aclocal
sh-2.05b# automake
sh-2.05b# autoconf
configure.in:63: error: m4_popdef: undefined macro: AC_Dest
autoconf/status.m4:844: AC_CONFIG_FILES is expanded from...
configure.in:63: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
could anyone help me ? Thank you
我在用LINUX自代的AUTOCONF,和AUTOMAKE,出现了下边的错误
[root@localhost qvfb-1.0]# autoconf
configure.in:26: warning: do not use m4_patsubst: use patsubst or m4_bpatsubst
configure.in:63: error: m4_popdef: undefined macro: AC_Dest
autoconf/status.m4:844: AC_CONFIG_FILES is expanded from...
configure.in:63: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
[root@localhost qvfb-1.0]# automake
aclocal.m4:2773: your implementation of AM_INIT_AUTOMAKE comes from an
aclocal.m4:2773: old Automake version.  You should recreate aclocal.m4
aclocal.m4:2773: with aclocal and run automake again.

好像是这个路径不存在的意思/usr/bin/m4
请高手指点一下

8.交叉编译你的mde
export TARGET=arm-linux
export PREFIX=/usr/local/arm-linux/arm-linux/
CC=arm-linuc-gcc LDFLAGS=-L/$PREFIX/lib CPPFLAGS=-I/$PREFIX/include \
./configure --target=$TARGET --host=$TARGET --prefix=$PREFIX -exec-prefix=$prefix --enable-static
make
///////////////////////////////////////////////////////////
很明显,这里有手误
CC=arm-linuc-gcc 应该是CC=arm-linux-gcc
我第8步是这样的
8.交叉编译你的mde
export TARGET=arm-linux
export PREFIX=/usr/local/arm-linux/arm-linux/
export CC=arm-linux-gcc LDFLAGS=-L/$PREFIX/lib CPPFLAGS="-I/$PREFIX/include -I/usr/include"
./configure --target=$TARGET --host=$TARGET --prefix=$PREFIX -exec-prefix=$prefix --enable-static
make

加上了-I/usr/include,因为不加上这个路径,提示找不到popt.h
但编译的时候还是出错
arm-linux-gcc  -g -O2 -Wall -Wstrict-prototypes -pipe -D_REENTRANT  -L/usr/arm-minigui/minigui/lib -o notebook  main.o -lmgext -lpthread -lminigui
/usr/arm-minigui/minigui/lib/libminigui.so: undefined reference to `vbf_Courier8x13'
/usr/arm-minigui/minigui/lib/libminigui.so: undefined reference to `vbf_System14x16'

知道的说一下

1. go to , download popt-1.7.tar.gz
2. cross complie ur popt with arm-linux-gcc
3. -I/ur path of popt/
that will be ok!
我在安装automake时出现下列问题 (先装的autoconf)
[root@linux9 automake-1.9.6]# ./configure --prefix=/home/automakegnu
checking build system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for perl... /usr/bin/perl
checking for tex... tex
checking whether autoconf is installed... yes
checking whether autoconf works... yes
checking whether autoconf is recent enough... no
configure: error: Autoconf 2.58 or better is required.
[root@linux9 automake-1.9.6]# ./configure --prefix=/home/autoconfgnu
checking build system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for perl... /usr/bin/perl
checking for tex... tex
checking whether autoconf is installed... yes
checking whether autoconf works... yes
checking whether autoconf is recent enough... no
configure: error: Autoconf 2.58 or better is required.


checking whether autoconf is recent enough... no??????????????
是什么意思?
麻烦朋友们给个建议 .

我在安装automake时出现下列问题 (先装的autoconf)

[root@linux9 automake-1.9.6]# ./configure --prefix=/home/autoconfgnu
checking build system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for perl... /usr/bin/perl
checking for tex... tex
checking whether autoconf is installed... yes
checking whether autoconf works... yes
checking whether autoconf is recent enough... no
configure: error: Autoconf 2.58 or better is required.


checking whether autoconf is recent enough... no??????????????
是什么意思?
麻烦朋友们给个建议 ,
大侠们,出来一下啦

楼主,我的问题又来了

[root@linux9 home]# vi autogen-sh
[root@linux9 home]# ./autogen-sh
bash: ./autogen-sh: 权限不够
[root@linux9 home]# chmod +x autogen-sh
[root@linux9 home]# ./autogen-sh
bash: ./autogen-sh: bin/sh: bad interpreter: 没有那个文件或目录


麻烦帮忙解决一下,怎么回事啊
谁来帮我 ??

我的在建立交叉编译环境时,按楼主的设的之后

make menuconfig


make -C scripts/lxdialog -f makefile.lx all
make[1]: Entering directory `/home/cvtech/jx2410/examples/minigui/libminigui-1.3.3/scripts/lxdialog'
make[1]: Leaving directory `/home/cvtech/jx2410/examples/minigui/libminigui-1.3.3/scripts/lxdialog'
/bin/sh scripts/Menuconfig configs/config.in
Using defaults found in .config
Preparing scripts: functions, parsing..............done.

Saving your MiniGUI configuration...
install prefix = /usr/local
compiler = arm-linux-gcc
target = arm-linux
host = arm-linux
checking build system type... i386-pc-linux-gnu
checking host system type... arm-unknown-linux-gnu
checking target system type... arm-unknown-linux-gnu
checking for arm-linux-gcc... arm-linux-gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... yes
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether arm-linux-gcc accepts -g... yes
checking for arm-linux-gcc option to accept ANSI C... none needed
checking for ld used by GCC... ld
checking if the linker (ld) is GNU ld... yes
checking for ld option to reload object files... -r
checking for BSD-compatible nm... nm
checking whether ln -s works... yes
checking how to recognise dependant libraries... file_magic ELF [0-9][0-9]*-bit
[LM]SB (shared object|dynamic lib )
checking command to parse nm output... ok
checking how to run the C preprocessor... arm-linux-gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for arm-linux-file... no
checking for file... /usr/bin/file
checking for arm-linux-ranlib... arm-linux-ranlib
checking for arm-linux-strip... strip
checking for objdir... .libs
checking for arm-linux-gcc option to produce PIC... -fPIC
checking if arm-linux-gcc PIC flag -fPIC works... yes
checking if arm-linux-gcc static flag -static works... yes
checking if arm-linux-gcc supports -c -o file.o... yes
checking if arm-linux-gcc supports -c -o file.lo... yes
checking if arm-linux-gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... no
creating libtool
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking whether make sets $(MAKE)... yes
checking whether build environment is sane... yes
checking for gawk... gawk
checking for style of include used by make... GNU
checking for arm-linux-strip... (cached) strip
checking dependency style of arm-linux-gcc... gcc3
checking for ANSI C header files... (cached) yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for sys/types.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking termio.h usability... yes
checking termio.h presence... yes
checking for termio.h... yes
checking for unistd.h... (cached) yes
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for working alloca.h... yes
checking for alloca... yes
checking for working memcmp... no
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... no
checking for vprintf... yes
checking for _doprnt... no
checking for gettimeofday... yes
checking for alloca... no
checking for strdup... yes
checking for strcasecmp... yes
checking for strerror... yes
checking for setenv... yes
checking for tmpfile... yes
checking for FrameBuffer console support... yes
checking for pthread library... yes
checking for TT_FreeType_Version in -lttf... no
checking for T1_InitLib in -lt1... no
checking for pow in -lm... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/control/Makefile
config.status: creating src/font/Makefile
config.status: creating src/font/in-core/Makefile
config.status: creating src/gal/Makefile
config.status: creating src/gal/native/Makefile
config.status: creating src/newgal/Makefile
config.status: creating src/newgal/fbcon/Makefile
config.status: creating src/newgal/qvfb/Makefile
config.status: creating src/newgal/ecoslcd/Makefile
config.status: creating src/newgal/dummy/Makefile
config.status: creating src/ial/Makefile
config.status: creating src/ial/native/Makefile
config.status: creating src/mybmp/Makefile
config.status: creating src/gdi/Makefile
config.status: creating src/newgdi/Makefile
config.status: creating src/gui/Makefile
config.status: creating src/ime/Makefile
config.status: creating src/misc/Makefile
config.status: creating src/main/Makefile
config.status: creating src/kernel/Makefile
config.status: creating src/server/Makefile
config.status: creating src/client/Makefile
config.status: creating src/standalone/Makefile
config.status: creating src/sysres/Makefile
config.status: creating src/include/Makefile
config.status: creating src/include/control/Makefile
config.status: creating ext/Makefile
config.status: creating ext/control/Makefile
config.status: creating ext/mywins/Makefile
config.status: creating ext/skin/Makefile
config.status: creating ext/image/Makefile
config.status: creating ext/include/Makefile
config.status: creating ext/res/Makefile
config.status: creating examples/Makefile
config.status: creating vcongui/Makefile
config.status: creating include/Makefile
config.status: creating etc/Makefile
config.status: creating m4/Makefile
config.status: creating configs/Makefile
config.status: creating scripts/Makefile
config.status: creating scripts/lxdialog/Makefile
config.status: creating config.h
config.status: executing depfiles commands


*** End of MiniGUI configuration.
*** Next, you must run 'make'.


make


arm-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I../include -g -O2 -D__MINIGUI_LIB__ -D_REENTRANT -O2 -Wall -Wstrict-prototypes -pipe -DNDEBUG -DENABLE_DUMMYVIDEO -DENABLE_FBCON -DENABLE_QVFB -c stretch.c -MT stretch.lo -MD -MP -MF .deps/stretch.TPlo  -fPIC -DPIC -o .libs/stretch.lo
stretch.c:265:47: missing terminating " character
stretch.c:267:25: missing terminating " character
make[4]: *** [stretch.lo] Error 1
make[4]: Leaving directory `/home/cvtech/jx2410/examples/minigui/libminigui-1.3.3/src/newgal'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/cvtech/jx2410/examples/minigui/libminigui-1.3.3/src/newgal'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/cvtech/jx2410/examples/minigui/libminigui-1.3.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/cvtech/jx2410/examples/minigui/libminigui-1.3.3'
make: *** [all] Error 2


怎么回事?

我有个问题,安装这个好几次了,我用的是FC4,miniGUI是minigui-dev-2.0.2-linux.i386.rpm,我先装好qvfb后,输入命令qvfb &可以出来Vitural framebuffer的界面,命令后出来的是:
[1] 31492
[root@localhost mginit]# Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
Using display 0
这些好像都正常.
我装minigui-dev-2.0.2-linux.i386.rpm后编译mde-2.0.2.tar.gz解压后的目录,输入
./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for an ANSI C-conforming const... yes
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking whether time.h and sys/time.h may both be included... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking minigui/common.h usability... yes
checking minigui/common.h presence... yes
checking for minigui/common.h... yes
checking whether _MGRM_THREADS is declared... no
checking whether _MGRM_PROCESSES is declared... yes
checking whether _MGRM_STANDALONE is declared... no
checking whether _USE_NEWGAL is declared... yes
checking whether _HAVE_MATH_LIB is declared... yes
checking whether _PNG_FILE_SUPPORT is declared... yes
checking whether _JPG_FILE_SUPPORT is declared... yes
checking whether _TYPE1_SUPPORT is declared... no
checking whether _TTF_SUPPORT is declared... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating notebook/Makefile
config.status: creating notebook/res/Makefile
config.status: creating tools/Makefile
config.status: creating same/Makefile
config.status: creating same/res/Makefile
config.status: creating bomb/Makefile
config.status: creating bomb/res/Makefile
config.status: creating housekeeper/Makefile
config.status: creating housekeeper/res/Makefile
config.status: creating gdidemo/Makefile
config.status: creating gdidemo/res/Makefile
config.status: creating fontdemo/Makefile
config.status: creating dlgdemo/Makefile
config.status: creating ctrldemo/Makefile
config.status: creating ctrldemo/res/Makefile
config.status: creating picview/Makefile
config.status: creating picview/res/Makefile
config.status: creating painter/Makefile
config.status: creating mginit/Makefile
config.status: creating mginit/res/Makefile
config.status: creating resmanager/Makefile
config.status: creating resmanager/res/Makefile
config.status: executing depfiles commands

make
Making all in notebook
make[1]: Entering directory `/home/ppy/mde-2.0.2/notebook'
Making all in res
make[2]: Entering directory `/home/ppy/mde-2.0.2/notebook/res'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/ppy/mde-2.0.2/notebook/res'
make[2]: Entering directory `/home/ppy/mde-2.0.2/notebook'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/home/ppy/mde-2.0.2/notebook'
make[1]: Leaving directory `/home/ppy/mde-2.0.2/notebook'
Making all in tools
make[1]: Entering directory `/home/ppy/mde-2.0.2/tools'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/ppy/mde-2.0.2/tools'
Making all in bomb
make[1]: Entering directory `/home/ppy/mde-2.0.2/bomb'
Making all in res
make[2]: Entering directory `/home/ppy/mde-2.0.2/bomb/res'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/ppy/mde-2.0.2/bomb/res'
make[2]: Entering directory `/home/ppy/mde-2.0.2/bomb'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/home/ppy/mde-2.0.2/bomb'
make[1]: Leaving directory `/home/ppy/mde-2.0.2/bomb'
Making all in housekeeper
make[1]: Entering directory `/home/ppy/mde-2.0.2/housekeeper'
Making all in res
make[2]: Entering directory `/home/ppy/mde-2.0.2/housekeeper/res'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/ppy/mde-2.0.2/housekeeper/res'
make[2]: Entering directory `/home/ppy/mde-2.0.2/housekeeper'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/home/ppy/mde-2.0.2/housekeeper'
make[1]: Leaving directory `/home/ppy/mde-2.0.2/housekeeper'
Making all in same
make[1]: Entering directory `/home/ppy/mde-2.0.2/same'
Making all in res
make[2]: Entering directory `/home/ppy/mde-2.0.2/same/res'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/ppy/mde-2.0.2/same/res'
make[2]: Entering directory `/home/ppy/mde-2.0.2/same'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/home/ppy/mde-2.0.2/same'
make[1]: Leaving directory `/home/ppy/mde-2.0.2/same'
Making all in fontdemo
make[1]: Entering directory `/home/ppy/mde-2.0.2/fontdemo'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/ppy/mde-2.0.2/fontdemo'
Making all in dlgdemo
make[1]: Entering directory `/home/ppy/mde-2.0.2/dlgdemo'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/ppy/mde-2.0.2/dlgdemo'
Making all in ctrldemo
make[1]: Entering directory `/home/ppy/mde-2.0.2/ctrldemo'
Making all in res
make[2]: Entering directory `/home/ppy/mde-2.0.2/ctrldemo/res'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/ppy/mde-2.0.2/ctrldemo/res'
make[2]: Entering directory `/home/ppy/mde-2.0.2/ctrldemo'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/home/ppy/mde-2.0.2/ctrldemo'
make[1]: Leaving directory `/home/ppy/mde-2.0.2/ctrldemo'
Making all in picview
make[1]: Entering directory `/home/ppy/mde-2.0.2/picview'
Making all in res
make[2]: Entering directory `/home/ppy/mde-2.0.2/picview/res'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/ppy/mde-2.0.2/picview/res'
make[2]: Entering directory `/home/ppy/mde-2.0.2/picview'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/home/ppy/mde-2.0.2/picview'
make[1]: Leaving directory `/home/ppy/mde-2.0.2/picview'
Making all in resmanager
make[1]: Entering directory `/home/ppy/mde-2.0.2/resmanager'
Making all in res
make[2]: Entering directory `/home/ppy/mde-2.0.2/resmanager/res'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/ppy/mde-2.0.2/resmanager/res'
make[2]: Entering directory `/home/ppy/mde-2.0.2/resmanager'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/home/ppy/mde-2.0.2/resmanager'
make[1]: Leaving directory `/home/ppy/mde-2.0.2/resmanager'
Making all in mginit
make[1]: Entering directory `/home/ppy/mde-2.0.2/mginit'
Making all in res
make[2]: Entering directory `/home/ppy/mde-2.0.2/mginit/res'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/ppy/mde-2.0.2/mginit/res'
make[2]: Entering directory `/home/ppy/mde-2.0.2/mginit'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/home/ppy/mde-2.0.2/mginit'
make[1]: Leaving directory `/home/ppy/mde-2.0.2/mginit'
Making all in gdidemo
make[1]: Entering directory `/home/ppy/mde-2.0.2/gdidemo'
Making all in res
make[2]: Entering directory `/home/ppy/mde-2.0.2/gdidemo/res'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/ppy/mde-2.0.2/gdidemo/res'
make[2]: Entering directory `/home/ppy/mde-2.0.2/gdidemo'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/home/ppy/mde-2.0.2/gdidemo'
make[1]: Leaving directory `/home/ppy/mde-2.0.2/gdidemo'
Making all in painter
make[1]: Entering directory `/home/ppy/mde-2.0.2/painter'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/ppy/mde-2.0.2/painter'
make[1]: Entering directory `/home/ppy/mde-2.0.2'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/home/ppy/mde-2.0.2'

cd mginit
ls
Makefile     Makefile.in  mginit.c  mginit.rc  taskbar.c  taskbar.o
Makefile.am  mginit       mginit.o  res        taskbar.h

./mginit
./mginit: error while loading shared libraries: libmgext-2.0.so.0: cannot open shared object file: No such file or directory
不知道为什么,我的/usr/local/lib底下的文件如下
libmgext-2.0.so.0      libminigui-2.0.so.0.0.2  libvcongui.a
libmgext-2.0.so.0.0.2  libminigui.a             libvcongui.la
libmgext.a             libminigui.la            libvcongui.so
libmgext.la            libminigui.so            minigui
libmgext.so            libvcongui-2.0.so.0
libminigui-2.0.so.0    libvcongui-2.0.so.0.0.2
错误中说的是
while loading shared libraries: libmgext-2.0.so.0: cannot open shared object file: No such file or directory
然后我改了一些可能的情况,还是不行,有没有高手指点一下,错在哪里了 啊~~谢谢了.


上面的问题我已经解决了,mginit已经可以在qvfb下面运行.
在编译helloworld.c的时候出现了问题:
[root@localhost minigui-dev-2.0.2-linux]# gcc -o helloworld helloworld.c -lpthread -lminigui -ljpeg -lpng -lz
[root@localhost minigui-dev-2.0.2-linux]# ./helloworld AttachSharedResource: No such file or directory
Error in step 8: Can not attach shared resource!
有人知道怎么回事吗?~shared resource!是指的哪里的阿?

你好:请问你的这个问题是怎么解决的?我也遇到了类似的问题
./mginit: error while loading shared libraries: libmgext-2.0.so.0: cannot open shared object file: No such file or directory


进行./configure出现了如下错误:
cheching for Qt...configure:error: Qt(>= Qt 3.0.3)(headers and libraries)not found.please check your installation!

这就说明我没有安装qt库,那怎么才能装上呢?

QVFB这里出现这样,什么原因呢 ??谢谢拉
linux:~/bin # cd qvfb-1.0/
linux:~/bin/qvfb-1.0 # ./autogen-sh
bash: ./autogen-sh: No such file or directory
楼主你好
 我现在就是HELLOWORLD编译能通过
gcc -o helloworld helloworld.c -lpthread -lminigui -ljpeg -lpng -lz
但是./helloworld执行就不行,出现如下错误请指点

GAL fbcon engine:error when opening /dev/fbo: No such device please check kernel config
GAL:Init GAL engine failure:fbcon
GDI:Can not initialize graphics engine!

真的是不知道怎么回事,如过看见我的回复,一定要帮我啊!多谢了



(若不说明,目录都是指板子上的目录)
我用的也是PXA255的CPU
前面交叉编译的过程也和你基本上是一样的,
交叉编译也通过了,生成了最后的可执行文件
...



请问这个问题解决了吗?我也遇到这样的问题,不知道怎么解决,可否告知一声呢. chenxian@chenxian-desktop:~/Desktop/qvfb-1.0$ ./autogen.sh
bash: ./autogen.sh: No such file or directory
chenxian@chenxian-desktop:~/Desktop/qvfb-1.0$ ./configure
......
checking for X... configure: error: Can't find X includes. Please check your installation and add the correct paths!

请问这是怎么回事?我用的是ubuntu





引文来源  [分享]我的minigui安装经验

----------------------------
一键转贴,快速捕捉生活精彩,赢每周好礼!查看活动首页>>

  评论这张
 
阅读(5651)| 评论(0)
推荐 转载

历史上的今天

评论

<#--最新日志,群博日志--> <#--推荐日志--> <#--引用记录--> <#--博主推荐--> <#--随机阅读--> <#--首页推荐--> <#--历史上的今天--> <#--被推荐日志--> <#--上一篇,下一篇--> <#-- 热度 --> <#-- 网易新闻广告 --> <#--右边模块结构--> <#--评论模块结构--> <#--引用模块结构--> <#--博主发起的投票-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 

页脚

网易公司版权所有 ©1997-2017