- 主题:紧急求救,关于编译ytht!!!!!!!!!
..
#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
重新co代码再试试
【 在 ASHOW (阿兽) 的大作中提到: 】
: 我觉得应该不是cygwin的问题,而是路径的问题。
: 【 在 lepton (在黑夜中等待黎明) 的大作中提到: 】
: : 给我shell吧
: : 你启动cygwin环境的sshd
: : 给我一个帐号 密码
--
FROM 211.155.251.247
update 就可以了...
【 在 dinger (test) 的大作中提到: 】
: 重新co代码再试试
: 【 在 ASHOW (阿兽) 的大作中提到: 】
: : 我觉得应该不是cygwin的问题,而是路径的问题。
--
FROM 220.249.10.10
哦 他似乎说已经自己改了很多。。
【 在 lepton (在黑夜中等待黎明) 的大作中提到: 】
: update 就可以了...
: 【 在 dinger (test) 的大作中提到: 】
: : 重新co代码再试试
--
FROM 211.155.251.247
吃霸王餐归来,接着找问题!
【 在 dinger 的大作中提到: 】
: 哦 他似乎说已经自己改了很多。。
: 【 在 lepton (在黑夜中等待黎明) 的大作中提到: 】
: : update 就可以了...
--
FROM 218.197.192.162
这是我在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':
/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+0x23): In function `try_get_shm':
/home/bbs/bbssrc/ythtlib/shmop.c:13: undefined reference to `_shmget'
collect2: ld returned 1 exit status
make: *** [showuser] Error 1
还是搞不定!!!!
【 在 dinger 的大作中提到: 】
: 哦 他似乎说已经自己改了很多。。
: 【 在 lepton (在黑夜中等待黎明) 的大作中提到: 】
: : update 就可以了...
--
FROM 218.197.192.162
为什么没有 -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
什么意思?可以说的详细一点吗???
【 在 lepton 的大作中提到: 】
: 为什么没有 -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
: (以下引言省略...)
--
FROM 218.197.192.162
cygcheck -svr 看下cygwin1.dll版本
用1.5.7或以上版本吧 呵呵
【 在 ASHOW (阿兽) 的大作中提到: 】
: 什么意思?可以说的详细一点吗???
: 【 在 lepton 的大作中提到: 】
: : 为什么没有 -lcygipc呢
: : 【 在 ASHOW (阿兽) 的大作中提到: 】
: : (以下引言省略...)
--
FROM 211.155.251.247
cygwin 1.5.5-1这个版本应该是可以的啊?
sjtu上的是什么版本?我的gcc是3.3.1-2,是不是应该用3.2版?
【 在 dinger 的大作中提到: 】
: cygcheck -svr 看下cygwin1.dll版本
: 用1.5.7或以上版本吧 呵呵
: 【 在 ASHOW (阿兽) 的大作中提到: 】
: : 什么意思?可以说的详细一点吗???
--
FROM 218.197.192.162