这是我在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