看板Maple
标 题Re: M3 的点歌机
发信站庄中资研搔手弄资 (Sun Nov 10 20:20:54 2002)
转信站Ptt!news.cs.nthu!HCSHCSC
※ 引述《[email protected] (恶魔党)》之铭言:
> ※ 引述《Ernie》之铭言:
> 请问各位前辈...
> 我已经改成我的系统的路径...
> 但是还是会出现
> (src/maple):
> song.o: In function `do_order':
> song.o(.text+0x1b0): undefined reference to `ve_alloc'
> song.o(.text+0x1bc): undefined reference to `ve_load'
> song.o(.text+0x1c7): undefined reference to `ve_line'
> song.o: In function `to_movie':
> song.o(.text+0x255): undefined reference to `gem_check'
> song.o: In function `to_mailbox':
> song.o(.text+0x324): undefined reference to `gem_check'
> collect2: ld returned 1 exit status
> make[1]: *** [bbsd] Error 1
> make[1]: Leaving directory `/home/bbs/src/maple'
> make: *** [linux] Error 2
到~/src/maple/下去grep
ve_alloc、ve_load、ve_line、gem_check
这几个function在哪个 .c 档里 ...
然後在那个function前面把前面的"static"注解掉(/* ... */)
> (src/util):
> camera.c: In function `main':
> camera.c:133: declaration for parameter `now' but no such parameter
> camera.c:133: declaration for parameter `i' but no such parameter
你确定你宣告过这些变数了?
> camera.c:137: warning: declaration of `i' shadows a parameter
> make[1]: *** [camera.o] Error 1
> make[1]: Leaving directory `/home/bbs/src/util'
> make: *** [linux] Error 2
> 请问该如何修正 ...? m(_ _)m
记得相关文章cs.nthu的plan板都有呀 ...
--
※ Origin: 搔 手 弄 资 <csc.hcsh.tpc.edu.tw>
◆ From: 61-216-44-182.HINET-IP.hinet.net