QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1517|回复: 3

eva 在slackware 10.1没法make?

[复制链接]
发表于 2005-3-17 23:04:23 | 显示全部楼层 |阅读模式
eva 2.0 在slackware 10.1
发表于 2005-3-18 07:45:11 | 显示全部楼层
./configure 正常吗?

另外,能否把 make 出错的信息贴上来?

多谢!
回复

使用道具 举报

发表于 2005-3-18 11:55:09 | 显示全部楼层
由 mengkezhi 发表于 3月 18 @ 09:08:32 CST

va 0.2.0在slackware 10.1 ./configure 通过,但无法make!!!
make all-recursive
make[1]: Entering directory `/hda5/Downloads/eva-0.2.0'
Making all in doc
make[2]: Entering directory `/hda5/Downloads/eva-0.2.0/doc'
Making all in .
make[3]: Entering directory `/hda5/Downloads/eva-0.2.0/doc'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/hda5/Downloads/eva-0.2.0/doc'
Making all in en
make[3]: Entering directory `/hda5/Downloads/eva-0.2.0/doc/en'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/hda5/Downloads/eva-0.2.0/doc/en'
make[2]: Leaving directory `/hda5/Downloads/eva-0.2.0/doc'
Making all in po
make[2]: Entering directory `/hda5/Downloads/eva-0.2.0/po'
Making all in .
make[3]: Entering directory `/hda5/Downloads/eva-0.2.0/po'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/hda5/Downloads/eva-0.2.0/po'
Making all in zh_CN
make[3]: Entering directory `/hda5/Downloads/eva-0.2.0/po/zh_CN'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/hda5/Downloads/eva-0.2.0/po/zh_CN'
make[2]: Leaving directory `/hda5/Downloads/eva-0.2.0/po'
Making all in src
make[2]: Entering directory `/hda5/Downloads/eva-0.2.0/src'
Making all in libeva
make[3]: Entering directory `/hda5/Downloads/eva-0.2.0/src/libeva'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/hda5/Downloads/eva-0.2.0/src/libeva'
Making all in api
make[3]: Entering directory `/hda5/Downloads/eva-0.2.0/src/api'
source='evaconnecter.cpp' object='evaconnecter.lo' libtool=yes
depfile='.deps/evaconnecter.Plo' tmpdepfile='.deps/evaconnecter.TPlo'
depmode=gcc3 /bin/sh ../../admin/depcomp
/bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/libeva -I/opt/kde/include -I/usr/lib/qt/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -c -o evaconnecter.lo `test -f 'evaconnecter.cpp' || echo './'`evaconnecter.cpp
evaconnecter.cpp: In member function `void EvaConnecter::sendOut(OutPacket*)':
evaconnecter.cpp:100: error: `malloc' undeclared (first use this function)
evaconnecter.cpp:100: error: (Each undeclared identifier is reported only once
for each function it appears in.)
evaconnecter.cpp:106: error: `free' undeclared (first use this function)
evaconnecter.cpp: In member function `void EvaConnecter::dataCommingSlot(int)':
evaconnecter.cpp:149: error: `malloc' undeclared (first use this function)
evaconnecter.cpp:152: error: `free' undeclared (first use this function)
make[3]: *** [evaconnecter.lo] 错误 1
make[3]: Leaving directory `/hda5/Downloads/eva-0.2.0/src/api'
make[2]: *** [all-recursive] 错误 1
make[2]: Leaving directory `/hda5/Downloads/eva-0.2.0/src'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/hda5/Downloads/eva-0.2.0'
make: *** [all] 错误 2
回复

使用道具 举报

发表于 2005-3-18 11:55:43 | 显示全部楼层
to mengkezhi

你这个问题, 也有人出现过. 都是malloc, free, getenv等函数找不到声明的错误。

解决办法,在出错的cpp文件的开始加上
#include
存盘, 重新make就可以。


因为在内测的时候, 在几个系统都没有出现上面的问题,所以没有捕捉到, 可能是系统设置的事情。 以后版本会改正。 对不起。
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-6-6 01:08 , Processed in 0.070717 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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