LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1294|回复: 5

为什么MICROWINDOWS编译会出这样的问题啊

[复制链接]
发表于 2005-4-1 12:01:08 | 显示全部楼层 |阅读模式
各位好,小弟在这请大家帮忙了,谢谢啊

用的是REDHAT9。0
内核是2。4。19

准备交叉编译 移植MICROWINDOWS到ARM9200上  可在./xconfigure(在microwindows的src 目录下)配置完后,运行make  却出现了问题
请看

ot@localhost src]# make
Updating dependencies in /root/microwindows-0.90/src/drivers ...
Compiling fblin8.c ...
Compiling fblin16.c ...
Compiling fblin24.c ...
Compiling fblin32.c ...
Compiling fblin32alpha.c ...
Compiling genmem.c ...
Compiling fb.c ...
Compiling fblin1.c ...
Compiling fblin2.c ...
Compiling vgaplan4.c ...
Compiling memplan4.c ...
Compiling genfont.c ...
Compiling scr_fb.c ...
scr_fb.c: In function `fb_open':
scr_fb.c:196: warning: int format, long int arg (arg 3)
Compiling fbportrait_left.c ...
Compiling fbportrait_right.c ...
Compiling fbportrait_down.c ...
Compiling fblin4.c ...
Compiling vtswitch.c ...
Compiling mou_null.c ...
Compiling kbd_tty.c ...
kbd_tty.c: In function `TTY_Open':
kbd_tty.c:56: warning: unused variable `ledstate'
kbd_tty.c:55: warning: unused variable `i'
Compiling kbd_ttyscan.c ...
Creating library /root/microwindows-0.90/src/lib/libmwdrivers.a ...
Updating dependencies in /root/microwindows-0.90/src/mwin ...
Updating dependencies in /root/microwindows-0.90/src/mwin/bmp ...
Compiling car8.c ...
Compiling min4.c ...
Compiling max4.c ...
Compiling close4.c ...
Compiling under4.c ...
Compiling zion208.c ...
Compiling cs1.c ...
Compiling rle8.c ...
Compiling microwin.c ...
Compiling penguin.c ...
Creating library /root/microwindows-0.90/src/lib/libmwimages.a ...
Creating shared library /root/microwindows-0.90/src/lib/libmwimages.so ...
Updating dependencies in /root/microwindows-0.90/src/mwin/winlib ...
Compiling draw3d.c ...
Compiling ptinsid.c ...
Compiling insetr.c ...
Compiling fastfill.c ...
Compiling graph3d.c ...
Compiling mwuser.c ...
Compiling button.c ...
Compiling edit.c ...
Compiling listbox.c ...
Compiling progbar.c ...
Compiling static.c ...
Compiling combobox.c ...
Compiling caret.c ...
Compiling scrlbar.c ...
Compiling medit.c ...
Creating library /root/microwindows-0.90/src/lib/libmwinlib.a ...
Creating shared library /root/microwindows-0.90/src/lib/libmwinlib.so ...
Compiling winmain.c ...
Compiling winuser.c ...
Compiling wingdi.c ...
Compiling winexpos.c ...
Compiling winclip.c ...
Compiling winevent.c ...
Compiling windefw.c ...
Compiling winrgn.c ...
Compiling winfont.c ...
Compiling winsbar.c ...
Creating library /root/microwindows-0.90/src/lib/libmwin.a ...
Creating shared library /root/microwindows-0.90/src/lib/libmwin.so ...
Updating dependencies in /root/microwindows-0.90/src/engine ...
Compiling devopen.c ...
Compiling devdraw.c ...
Compiling devfont.c ...
Compiling devmouse.c ...
Compiling devkbd.c ...
Compiling devclip.c ...
Compiling devrgn.c ...
Compiling devpal1.c ...
Compiling devpal2.c ...
Compiling devimage.c ...
Compiling devlist.c ...
Compiling selfont.c ...
Compiling error.c ...
Compiling devrgn2.c ...
Compiling devarc.c ...
Compiling devpoly.c ...
Compiling devstipple.c ...
Compiling font_dbcs.c ...
Compiling font_fnt.c ...
Compiling font_pcf.c ...
font_pcf.c:30: zlib.h: ?????????
make[1]: *** [font_pcf.o] Error 1
make: *** [subdir-engine] Error 2
[root@localhost src]# whereis zlib.h
zlib: /usr/include/zlib.h /usr/share/man/man3/zlib.3.gz

[root@localhost src]#


明明有这个头文件啊 为什么编译不过去啊 请帮忙啊 谢谢谢谢!!!!
 楼主| 发表于 2005-4-1 12:01:27 | 显示全部楼层

为什么MICROWINDOWS编译会出这样的问题啊

请帮忙啊 各位大侠  谢谢了 :help  :thank
回复 支持 反对

使用道具 举报

发表于 2005-4-1 22:30:08 | 显示全部楼层
看看font_pcf.c的第30行是怎么回事!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-4-2 11:45:22 | 显示全部楼层

谢谢大哥回答啊 第30行是 #include <zlib.h>

所以很不知道头绪  还请大哥和各位朋友帮忙啊 谢谢了  :thank  :help
回复 支持 反对

使用道具 举报

发表于 2005-4-2 22:34:01 | 显示全部楼层
你安装freetype包没有呀
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-4-3 20:41:23 | 显示全部楼层
恩 好象没  跟那个有关系的吗???
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表