- 主题:紧急求救,关于编译ytht!!!!!!!!!
肯定不止这些啊,都贴上来
【 在 ASHOW (阿兽) 的大作中提到: 】
: 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':
: ...................
--
FROM 220.249.10.36
就是这些了!
【 在 yuhuan 的大作中提到: 】
: 肯定不止这些啊,都贴上来
: 【 在 ASHOW (阿兽) 的大作中提到: 】
: : 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
: (以下引言省略...)
--
FROM 218.197.192.162
有一个编译参数
应该是-lcgypic之类的
应该是configure时候自动生成的
我很奇怪为什么没有生成...
你configure没有?>
【 在 ASHOW (阿兽) 的大作中提到: 】
: 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':
: ...................
--
FROM 220.249.10.10
1. 我怀疑你cygwin版本不足够高
2. 你把configure的输出全部贴出来
【 在 ASHOW (阿兽) 的大作中提到: 】
: 在此之前,我编译
: Telnet部分的安装
: ================
: $ cd /home/bbs/bbssrc
: $ ./makedist.sh
: $ ./configure --with-defaults
: (如果需要评价文章的功能,请使用
: ./configure --with-defaults --with-mysql,mysql需要另外安装)
: ...................
--
FROM 220.249.10.10
奇怪 我的cygwin可以找到flock啊
你cygwin版本最新吗?
【 在 ASHOW (阿兽) 的大作中提到: 】
: ...........................
: ... testing C Compiler ...
: ...........................
: checking for gcc... gcc
: checking for C compiler default output... a.exe
: checking whether the C compiler works... yes
: checking whether we are cross compiling... no
: checking for suffix of executables... .exe
: ...................
--
FROM 220.249.10.10
我也可以找到flock.只不过认为它里面有几个没有定义的变量:EAGAIN; errno;EACCES; EWOULDBLOCK;EINVAL;
我打开ythtlib/compatible.c看了一下确实没有定义阿,
怎么看cygwin的版本?
我的好像是 1.5.x把!
【 在 lepton 的大作中提到: 】
: 奇怪 我的cygwin可以找到flock啊
: 你cygwin版本最新吗?
: 【 在 ASHOW (阿兽) 的大作中提到: 】
: : ...........................
: : ... testing C Compiler ...
: : ...........................
: : checking for gcc... gcc
: (以下引言省略...)
--
FROM 218.197.192.162
你configure时候的输出:
checking for flock... no
【 在 ASHOW (阿兽) 的大作中提到: 】
: 我也可以找到flock.只不过认为它里面有几个没有定义的变量:EAGAIN; errno;EACCES; EWOULDBLOCK;EINVAL;
: 我打开ythtlib/compatible.c看了一下确实没有定义阿,
: 怎么看cygwin的版本?
: 我的好像是 1.5.x把!
: 【 在 lepton 的大作中提到: 】
: : 奇怪 我的cygwin可以找到flock啊
: : 你cygwin版本最新吗?
: : 【 在 ASHOW (阿兽) 的大作中提到: 】
: ...................
--
FROM 220.249.10.10
这是什么问题?如何解决阿?是我的cygwin版本不够????
【 在 lepton 的大作中提到: 】
: 你configure时候的输出:
: checking for flock... no
: 【 在 ASHOW (阿兽) 的大作中提到: 】
: : 我也可以找到flock.只不过认为它里面有几个没有定义的变量:EAGAIN; errno;EACCES; EWOULDBLOCK;EINVAL;
: : 我打开ythtlib/compatible.c看了一下确实没有定义阿,
: (以下引言省略...)
--
FROM 218.197.192.162
我觉得是 因为我的cygwin会输出
checking for flock ... yes
【 在 ASHOW (阿兽) 的大作中提到: 】
: 这是什么问题?如何解决阿?是我的cygwin版本不够????
: 【 在 lepton 的大作中提到: 】
: : 你configure时候的输出:
: : checking for flock... no
: : 【 在 ASHOW (阿兽) 的大作中提到: 】
: : (以下引言省略...)
--
FROM 220.249.10.10
flock在compatible.c里面有
这些没有的应该在<errno.h>或者<sys/errno.h>里面吧?
【 在 ASHOW (阿兽) 的大作中提到: 】
: 我也可以找到flock.只不过认为它里面有几个没有定义的变量:EAGAIN; errno;EACCES; EWOULDBLOCK;EINVAL;
: 我打开ythtlib/compatible.c看了一下确实没有定义阿,
: 怎么看cygwin的版本?
: 我的好像是 1.5.x把!
: 【 在 lepton 的大作中提到: 】
: : 奇怪 我的cygwin可以找到flock啊
: : 你cygwin版本最新吗?
: : 【 在 ASHOW (阿兽) 的大作中提到: 】
: ...................
--
FROM 211.155.251.247