BeagleBoard 循环计数器

发布于 2024-10-09 06:09:56 字数 309 浏览 0 评论 0原文

我没有成功激活 beagleboard 上的周期计数器寄存器。 我读过我必须编译一个 linux 模块,但我也没有成功。

我的Linux内核是 2.6.35.8-l7

这是beagleboard提出的linux版本 http://elinux.org/BeagleBoard

所以我想我不是这个版本的唯一用户。

任何人都可以给我编译的模块或解释我如何编译该模块! gcc 总是告诉我它错过了一些标头。

谢谢

I do not succed to activate the cycle counter registrer on my beagleboard.
I've read that I have to compile a linux module but I do not succed too.

my linux kernel is
2.6.35.8-l7

This is the linux version proposed by beagleboard
http://elinux.org/BeagleBoard

so I suppose that I'm not the only one user of this version.

Can anybody give me the compiled module or explain me how I can compile the module !
gcc always tell me it miss some header.

Thank's

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

月亮坠入山谷 2024-10-16 06:09:56

如果编译器告诉您缺少标头,则很可能您没有安装内核标头。

如果您的发行版是 Debian,请阅读以下内容: http://kernel-handbook.alioth .debian.org/ch-common-tasks.html

If compiler tells you about missing header, most probably you don't have kernel headers installed.

If your distro is Debian read this: http://kernel-handbook.alioth.debian.org/ch-common-tasks.html

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文