__linux_arm_arch__ is not 编译驱动,大人求助.......arch 编译virtualbox驱动出错....

该楼层疑似违规已被系统折叠 隐藏此楼查看此楼

DKMS make.log for vboxhost-4.3.16 for kernel 3.16.2-1-ARCH (x86_64)

Tue Sep 30 09:58:22 CST 2014

make: Entering directory */usr/lib/modules/3.16.2-1-ARCH/build*

LD /var/lib/dkms/vboxhost/4.3.16/build/built-in.o

LD /var/lib/dkms/vboxhost/4.3.16/build/vboxdrv/built-in.o

CC [M] /var/lib/dkms/vboxhost/4.3.16/build/vboxdrv/linux/SUPDrv-linux.o

In file included from /var/lib/dkms/vboxhost/4.3.16/build/vboxdrv/include/VBox/types.h:30:0,

from /var/lib/dkms/vboxhost/4.3.16/build/vboxdrv/linux/../SUPDrvInternal.h:35,

from /var/lib/dkms/vboxhost/4.3.16/build/vboxdrv/linux/SUPDrv-linux.c:31:

/var/lib/dkms/vboxhost/4.3.16/build/vboxdrv/include/iprt/types.h:109:7: warning: "LINUX_VERSION_CODE" is not defined [-Wundef]

# if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33)

^

/var/lib/dkms/vboxhost/4.3.16/build/vboxdrv/include/iprt/types.h:109:29: warning: "KERNEL_VERSION" is not defined [-Wundef]

# if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33)

^

/var/lib/dkms/vboxhost/4.3.16/build/vboxdrv/include/iprt/types.h:109:43: error: missing binary operator before token "("

# if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33)

^

/var/lib/dkms/vboxhost/4.3.16/build/vboxdrv/include/iprt/types.h:113:32: fatal error: linux/autoconf.h: No such file or directory

# include

^

compilation terminated.

scripts/Makefile.build:257: recipe for target */var/lib/dkms/vboxhost/4.3.16/build/vboxdrv/linux/SUPDrv-linux.o* failed

make[2]: *** [/var/lib/dkms/vboxhost/4.3.16/build/vboxdrv/linux/SUPDrv-linux.o] Error 1

scripts/Makefile.build:404: recipe for target */var/lib/dkms/vboxhost/4.3.16/build/vboxdrv* failed

make[1]: *** [/var/lib/dkms/vboxhost/4.3.16/build/vboxdrv] Error 2

Makefile:1333: recipe for target *_module_/var/lib/dkms/vboxhost/4.3.16/build* failed

make: *** [_module_/var/lib/dkms/vboxhost/4.3.16/build] Error 2

make: Leaving directory */usr/lib/modules/3.16.2-1-ARCH/build*

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
```python import arch # 使用help函数查看arch.arch_model的文档 help(arch.arch_model) ``` 输出结果为: ``` Help on function arch_model in module arch.univariate.mean: arch_model(y, x=None, mean='Constant', lags=0, vol='Garch', p=1, o=0, q=1, power=2.0, dist='Normal', hold_back=None, rescale=False, **kwargs) Construct a new ARCHModel instance using the provided specification. Parameters ---------- y : array_like The dependent variable x : array_like, optional Exogenous regressors. Ignored if model does not permit exogenous regressors. mean : str, optional Name of the mean model. Currently supported options are: 'Constant', 'Zero', 'AR', 'ARX', 'HAR', 'HARX', 'LS', 'GLS', 'ARMAX', 'HARMAX', 'CustomMean'. Default is 'Constant'. lags : int or list[int], optional Either a scalar integer value indicating lag length or a list of integers specifying lag locations. Used in the construction of the selected mean model. Default is 0. vol : str, optional Name of the volatility model. Currently supported options are: 'Garch', 'ConstantVariance', 'EWMAVariance', 'HARCH', 'Constant', 'EGARCH', 'FIGARCH', 'ARCH', 'TGARCH', 'GJR-GARCH', 'AVARCH', 'NAGARCH', 'MidasRegression', 'MidasVariance', 'CustomVolatility'. Default is 'Garch'. p : int, optional Order of the symmetric innovation. Used in the construction of the selected volatility model. Default is 1. o : int, optional Order of the asymmetric innovation. Used in the construction of the selected volatility model. Default is 0. q : int, optional Order of lagged volatility terms. Used in the construction of the selected volatility model. Default is 1. power : float, optional Power to use in the case of an ARCH in mean model. Default is 2.0. dist : str, optional Name of the distribution. Currently supported options are: 'Normal', 'StudentsT', 'SkewStudent', 'GED', 'Exponential', 'Beta', 'GeneralizedPareto', 'Gamma', 'LogNormal', 'Kernel'. Default is 'Normal'. hold_back : {None, int}, optional Integer offset from the start of the sample at which to begin fitting the model. Used to allow estimation of models with lags that cannot be included at the beginning of the sample. Default is None. rescale : bool, optional Flag indicating to rescale the data to improve optimization. Default is False. **kwargs Additional keyword arguments to pass to the mean or volatility model constructor. Returns ------- model : ARCHModel Configured ARCHModel instance. ```

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值