- 主题:提示please init shm first该这么办呢?
- 我记得介绍要运行
 /home/bbs/bin/shminit
 才可以的
 可是BBS的bin目录下没有那个文件啊
 是不是编译过程又有什么错误么?
 --
 FROM 219.216.80.241
 
- [root@WWX local_utl]# make shminit
 gcc -Wall -O2 -mmmx -msse -mcpu=pentium4 -march=pentium4 -pipe -DCONF_HAVE_OPENPTY -I../include -I../ythtlib -I../libythtbbs -g -DLINUX -o shminit shminit.c -L/home/bbs/bin -lythtbbs -lytht
 /usr/bin/ld: cannot find -lythtbbs
 collect2: ld returned 1 exit status
 make: *** [shminit] Error 1
 
 
 郁闷了,又提示这个错误了
 再帮帮忙
 谢谢
 
 
 【 在 wekey.bbs@bbs.tju.edu.cn.no.spam (北斗七星) 的大作中提到: 】
 : 先去local下编译
 : 【 在 wuweixin.bbs@ytht.net (有颜色的猫) 的大作中提到: 】
 : : 我记得介绍要运行
 : : /home/bbs/bin/shminit
 : : 才可以的
 : : 可是BBS的bin目录下没有那个文件啊
 : : 是不是编译过程又有什么错误么?
 --
 FROM 219.216.80.241
 
- 那个东西还要编译阿!
 郁闷了
 等我把编译结果贴出来
 
 【 在 woodhill (woodhill) 的大作中提到: 】
 : 是不是libytht没有编译啊?
 : 【 在 wuweixin (有颜色的猫) 的大作中提到: 】
 : : [root@WWX local_utl]# make shminit
 : : gcc -Wall -O2 -mmmx -msse -mcpu=pentium4 -march=pentium4 -pipe -DCONF_HAVE_OPENPTY -I../include -I../ythtlib -I../libythtbbs -g -DLINUX -o shminit shminit.c -L/home/bbs/bin -lythtbbs -lytht
 : : /usr/bin/ld: cannot find -lythtbbs
 : : collect2: ld returned 1 exit status
 : : make: *** [shminit] Error 1
 : : 郁闷了,又提示这个错误了
 : ...................
 --
 FROM 219.216.80.241
 
- 感谢,我把两个 ythtlib libythtbbs 下都 make 了一下
 然后再去 local下make
 然后再换 bbs 用户 运行 ./shminit
 就可以拉,BBS就启动了
 谢谢
 
 【 在 woodhill (woodhill) 的大作中提到: 】
 : 是不是libytht没有编译啊?
 : 【 在 wuweixin (有颜色的猫) 的大作中提到: 】
 : : [root@WWX local_utl]# make shminit
 : : gcc -Wall -O2 -mmmx -msse -mcpu=pentium4 -march=pentium4 -pipe -DCONF_HAVE_OPENPTY -I../include -I../ythtlib -I../libythtbbs -g -DLINUX -o shminit shminit.c -L/home/bbs/bin -lythtbbs -lytht
 : : /usr/bin/ld: cannot find -lythtbbs
 : : collect2: ld returned 1 exit status
 : : make: *** [shminit] Error 1
 : : 郁闷了,又提示这个错误了
 : ...................
 --
 FROM 219.216.80.241