水木社区手机版
首页
|版面-BBS安装管理(BBSMan_Dev)|
新版wap站已上线
返回
首页
|
上页
|
2/2
|
转到
主题:紧急求救,关于编译ytht!!!!!!!!!
20楼
|
lepton.
|
2004-05-03 18:43:14
|
展开
我没有 没有flock的环境
可能那个里面的flock确实编译有问题
【 在 dinger (test) 的大作中提到: 】
: flock在compatible.c里面有
: 这些没有的应该在<errno.h>或者<sys/errno.h>里面吧?
: 【 在 ASHOW (阿兽) 的大作中提到: 】
: : 我也可以找到flock.只不过认为它里面有几个没有定义的变量:EAGAIN; errno;EACCES; EWOULDBLOCK;EINVAL;
: : 我打开ythtlib/compatible.c看了一下确实没有定义阿,
: : 怎么看cygwin的版本?
: : 我的好像是 1.5.x把!
: : ...................
: ...................
--
FROM 220.249.10.10
22楼
|
lepton.
|
2004-05-03 18:48:44
|
展开
faint 好大啊
你可以从
http://www.cygwin.com
下载最新安装啊
我是网络安装的
【 在 ASHOW (阿兽) 的大作中提到: 】
: 你可以把你用的cygwin给我传过来吗?
:
ftp://1:1@218.197.192.163/
: 【 在 lepton (在黑夜中等待黎明) 的大作中提到: 】
: : 我觉得是 因为我的cygwin会输出
: : checking for flock ... yes
--
FROM 220.249.10.10
24楼
|
lepton.
|
2004-05-03 18:48:44
|
展开
btw:
或者你给我一个shell
我到你的cygwin环境看看...
【 在 ASHOW (阿兽) 的大作中提到: 】
: 你可以把你用的cygwin给我传过来吗?
:
ftp://1:1@218.197.192.163/
: 【 在 lepton (在黑夜中等待黎明) 的大作中提到: 】
: : 我觉得是 因为我的cygwin会输出
: : checking for flock ... yes
--
FROM 220.249.10.10
26楼
|
lepton.
|
2004-05-03 18:48:45
|
展开
给我shell吧
你启动cygwin环境的sshd
给我一个帐号 密码
【 在 ASHOW (阿兽) 的大作中提到: 】
: 那就是编译的时候找不到头文件了,我也是很奇怪,我按照安装说明
: 一步一步下来的,应该不会有这种问题啊!
: 【 在 dinger (test) 的大作中提到: 】
: : flock在compatible.c里面有
: : 这些没有的应该在<errno.h>或者<sys/errno.h>里面吧?
: : ...................
--
FROM 220.249.10.10
30楼
|
lepton.
|
2004-05-03 19:05:18
|
展开
..
#include把
【 在 ASHOW (阿兽) 的大作中提到: 】
: 有啊!
: 是路径的问题吗?
: 我的 compatible.c里是这样定义的
: #define <sys/errno.h>
: 我的 compatible在 home/bbs/bbssrc/ythtlib
: 【 在 dinger (test) 的大作中提到: 】
: : 你先看看有没/usr/include/errno.h
: : /usr/include/sys/errno.h
: ...................
--
FROM 220.249.10.10
32楼
|
lepton.
|
2004-05-03 19:16:55
|
展开
update 就可以了...
【 在 dinger (test) 的大作中提到: 】
: 重新co代码再试试
: 【 在 ASHOW (阿兽) 的大作中提到: 】
: : 我觉得应该不是cygwin的问题,而是路径的问题。
--
FROM 220.249.10.10
36楼
|
lepton.
|
2004-05-03 22:53:18
|
展开
为什么没有 -lcygipc呢
【 在 ASHOW (阿兽) 的大作中提到: 】
: 这是我在local_utl下面编译的错误结果
: gcc -Wall -O2 -mmmx -msse -mcpu=pentium4 -march=pentium4 -pipe -DCONF_HAVE_OPENPTY -I../include -I../ythtlib -I../libythtbbs -g -DCYGWIN -o showuser showuser.c -L/home/bbs/bin -lythtbbs -lytht
: /home/bbs/bin/libythtbbs.a(bbsinfo.o)(.text+0x13c): In function `initbbsinfo':
: /home/bbs/bbssrc/libythtbbs/bbsinfo.c:47: undefined reference to `_shmdt'
: /home/bbs/bin/libythtbbs.a(bbsinfo.o)(.text+0x146):/home/bbs/bbssrc/libythtbbs/bbsinfo.c:45: undefined reference to `_shmdt'
: /home/bbs/bin/libythtbbs.a(bbsinfo.o)(.text+0x150):/home/bbs/bbssrc/libythtbbs/bbsinfo.c:43: undefined reference to `_shmdt'
: /home/bbs/bin/libythtbbs.a(bbsinfo.o)(.text+0x15a):/home/bbs/bbssrc/libythtbbs/bbsinfo.c:41: undefined reference to `_shmdt'
: /home/bbs/bin/libythtbbs.a(misc.o)(.text+0xa8): In function `init_newtracelogmsq':
: ...................
--
FROM 220.249.10.10
首页
|
上页
|
2/2
|
转到
选择讨论区
首页
|
分区
|
热推
BYR-Team
©
2010.
KBS Dev-Team
©
2011
登录完整版