- 主题:紧急求救,关于编译ytht!!!!!!!!!
你安装了cygwinipc库没有啊?
【 在 ASHOW (阿兽) 的大作中提到: 】
: 我的系统是:winxp+cygwin
: 按照YTHT BBS在Cygwin环境安装手册进行编译,在进行到:
: Telnet部分的安装
: ================
: 本地实用工具的安装
: ==================
: $ cd /home/bbs/bbssrc/local_utl
: $ make 进行这一步时出现错误:
: ...................
--
FROM 220.249.10.10
那你把输入输出多贴出来
我看看
【 在 ASHOW (阿兽) 的大作中提到: 】
: 装了!并且我把shm.h.和ipc.h拷贝到ythtlib目录下重新编译,还是同样的错误!
: 【 在 lepton 的大作中提到: 】
: : 你安装了cygwinipc库没有啊?
: : 【 在 ASHOW (阿兽) 的大作中提到: 】
: : (以下引言省略...)
--
FROM 220.249.10.10
#attach error.jpg
【 在 lepton 的大作中提到: 】
: 那你把输入输出多贴出来
: 我看看
: 【 在 ASHOW (阿兽) 的大作中提到: 】
: : 装了!并且我把shm.h.和ipc.h拷贝到ythtlib目录下重新编译,还是同样的错误!
这里本来有一个附件 error.JPG
但是目前CN BBS转信系统不转带有较大附件的信件,所以 YTHT BBS 去掉了.
--
FROM 218.197.192.162
我觉得好像是 编译程序的时候找不到头文件
【 在 ASHOW 的大作中提到: 】
: #attach error.jpg
: 【 在 lepton 的大作中提到: 】
: : 那你把输入输出多贴出来
: : 我看看
--
FROM 218.197.192.162
faint copy 文本啊
【 在 ASHOW (阿兽) 的大作中提到: 】
: #attach error.jpg
: 【 在 lepton 的大作中提到: 】
: : 那你把输入输出多贴出来
: : 我看看
: : 【 在 ASHOW (阿兽) 的大作中提到: 】
--
FROM 220.249.10.10
make &> errlog
把errlog贴出来
【 在 lepton (在黑夜中等待黎明) 的大作中提到: 】
: faint copy 文本啊
: 【 在 ASHOW (阿兽) 的大作中提到: 】
: : #attach error.jpg
--
FROM 220.249.10.10
【 在 lepton 的大作中提到: 】
: make &> errlog
: 把errlog贴出来
: 【 在 lepton (在黑夜中等待黎明) 的大作中提到: 】
: : faint copy 文本啊
这里本来有一个附件 errlog
但是目前CN BBS转信系统不转带有较大附件的信件,所以 YTHT BBS 去掉了.
--
FROM 218.197.192.162
faint 你能不能不用附件啊
【 在 ASHOW (阿兽) 的大作中提到: 】
: 【 在 lepton 的大作中提到: 】
: : make &> errlog
: : 把errlog贴出来
: : 【 在 lepton (在黑夜中等待黎明) 的大作中提到: 】
--
FROM 220.249.10.10
问的是能不能不用
【 在 ASHOW (阿兽) 的大作中提到: 】
: 我是用的附件阿!!!!
: 【 在 lepton 的大作中提到: 】
: : faint 你能不能不用附件啊
: : 【 在 ASHOW (阿兽) 的大作中提到: 】
--
FROM 220.249.10.36
sorry!!!!
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':
/home/bbs/bbssrc/libythtbbs/misc.c:48: undefined reference to `_msgget'
/home/bbs/bin/libythtbbs.a(misc.o)(.text+0x1ba): In function `newtrace':
/home/bbs/bbssrc/libythtbbs/misc.c:87: undefined reference to `_msgsnd'
/home/bbs/bin/libytht.a(shmop.o)(.text+0x20): In function `try_get_shm':
/home/bbs/bbssrc/ythtlib/shmop.c:11: undefined reference to `_shmget'
/home/bbs/bin/libytht.a(shmop.o)(.text+0x3e):/home/bbs/bbssrc/ythtlib/shmop.c:14: undefined reference to `_shmat'
collect2: ld returned 1 exit status
make: *** [showuser] Error 1
【 在 lepton 的大作中提到: 】
: faint 你能不能不用附件啊
: 【 在 ASHOW (阿兽) 的大作中提到: 】
--
FROM 218.197.192.162