Ubuntu下我装了个ArrayRef的模块,但是import之后编译出错了!!
编译报错的信息是:
compilation IS NOT required
test2.o: In function `sEh_info':
(.text+0x8b9): undefined reference to `__stginit_ArrayRefzm0zi1zi3_DataziRef_'
collect2: ld 返回 1
我在代码里引用了:
import Data.Ref
引用自带的模块没问题,因为这个例子不光是用了ArrayRef一模块
欢迎光临 Chinaunix (http://bbs.chinaunix.net/) | Powered by Discuz! X3.2 |