Ask Your Question
0

Missing syscall_32.tbl file during module compilation

asked 2013-12-06 11:46:29 -0500

PL gravatar image

updated 2013-12-09 00:45:42 -0500

Hi:

I had missing the following syscall_32.tbl file when I tried to build my module. (I have followed the direction from fedoraproject.org to build the custom kernel.)

I would really appreciate if anyone shows me how to fix this. I am using Fedora 19.

[user-name@localhost TEST]$ sudo make
make -C /lib/modules/3.11.9-200.user-name.fc19.x86_64/build M= modules
make[1]: Entering directory `/usr/src/kernels/3.11.9-200.user-name.fc19.x86_64'
make[2]: *** No rule to make target `/usr/src/kernels/3.11.9-200.user-name.fc19.x86_64/arch/x86/syscalls/syscall_32.tbl', needed by `arch/x86/syscalls/../include/generated/uapi/asm/unistd_32.h'.  Stop.
make[1]: *** [archheaders] Error 2
make[1]: Leaving directory `/usr/src/kernels/3.11.9-200.user-name.fc19.x86_64'
make: *** [all] Error 2
[user-name@localhost TEST]$

Thanks, PL

edit retag flag offensive close merge delete

Comments

Careful with that sudo - a regular user can run make.

randomuser gravatar imagerandomuser ( 2013-12-09 00:46:39 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2013-12-09 00:51:41 -0500

updated 2013-12-09 00:53:01 -0500

Try this:

$ yum provides */syscall_32.tbl
...   
kcbench-data-3.9-0.1-14.fc20.noarch : Kernel sources from 3.9 to be used by kcbench
Repo        : fedora
Matched from:
Filename    : /usr/share/kcbench-data/linux-3.9/arch/x86/syscalls/syscall_32.tbl

I assume you read https://fedoraproject.org/wiki/Building_a_custom_kernel?rd=Docs/CustomKernel#Build_the_New_Kernel . There are some instructions at the bottom of that page for building modules, too.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-12-06 11:46:29 -0500

Seen: 9,905 times

Last updated: Dec 09 '13