Hi.
I tried building Linux Kernel 3.4 from the source on Ubuntu 10.04 (Linux
LAPTOP 2.6.32-21-generic #32-Ubuntu), gcc 4.4.3 on Intel processor. Here's
the output:
make[1]: Nothing to be done for `all'.
make[1]: Nothing to be done for `relocs'.
CHK include/linux/version.h
CHK
Dears:
My system is ubuntu 12.04. In my code, I include the file asm/system.h, but
when compiling the code, show the error as can't find the file or directory
asm/system.h. Why??
Thanks!___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
What is the kernel version that your are using?
If the kernel version 3.3
#inclued asm/switch_to.h [0]
else
#include asm/system.h [1]
Regards,
Varka Bhadram
[0] :
http://lxr.free-electrons.com/source/arch/x86/include/asm/switch_to.h?v=3.4
[1] :
The kernel version is 3.11.0-20-generic
jinz...@wingtech.com
From: Varka Bhadram
Date: 2014-06-03 16:20
To: kernelnewbies; jinzhao
Subject: Re: can't find asm/system.h
What is the kernel version that your are using?
If the kernel version 3.3
#inclued asm/switch_to.h [0]
else
#include
And I can find system.h in the path of
/usr/src/linux-headers-3.11.0-20-generic/arch/arm/include/asm .
jinz...@wingtech.com
From: jinz...@wingtech.com
Date: 2014-06-03 16:24
To: Varka Bhadram; kernelnewbies
Subject: Re: Re: can't find asm/system.h
The kernel version is 3.11.0-20-generic
For which architecture you are compiling ?
On June 3, 2014 at 1:58 PM jinz...@wingtech.com jinz...@wingtech.com wrote:
And I can find system.h in the path of
/usr/src/linux-headers-3.11.0-20-generic/arch/arm/include/asm .
Hi Peter,
I can think of two simple ways of achieving the same without messing
up with exported symbols.
1. If your intention is to use a common api to call
function_1/my_print_function and function_2, then use a common
placeholder.
Assign it to function_1/my_print_function.
Use the placeholder
Hi Jinzhao,
Did you specify the include path ( as /usr/src/linux-headers-3.11.
0-20-generic/arch/arm/ )
with -I option while compiling your code.
Regards,
Ayan Kumar Halder
On Tue, Jun 3, 2014 at 2:05 PM, Varka Bhadram var...@cdac.in wrote:
For which architecture you are compiling ?
On June
Il 31/05/2014 08:45, Raphael S Carvalho write:
net/netfilter/nfnetlink.c: In function 'nfnetlink_rcv':
net/netfilter/nfnetlink.c:363:14: warning: unused variable 'net'
[-Wunused-variable]
struct net *net = sock_net(skb-sk);
^
Have fun!
It's already fixed in linux-next
On Tue, 03 Jun 2014 14:23:22 +0800, jinz...@wingtech.com said:
In my code, I include the file asm/system.h, but when compiling the code,
show the error as can't find the file or directory asm/system.h. Why??
Probably because either:
1) Your Makefile isn't set up to use the Kbuild architecture,
On Mon, 02 Jun 2014 19:12:47 -0700, riya khanna said:
Thanks for pointing this out! I was wondering if it is possible to use
a remote GPU through /dev/gpu.
No.
The upshot is that whenever you open a character or block special device, it's
handled as a local reference, even if the directory
On Mon, 02 Jun 2014 20:29:16 -0700, Peter Tosh said:
function_1()
{
do some stuff
}
my_print_function = function_1
EXPORT_SYMBOL(my_print_function)
No, you want EXPORT_SYMBOL(function_1) here.
function_t()
{
doing different stuff
}
my_print_fuction = function_2
And
Hi i have one doubt when creating patch files. if consider a file a.txt it
contains
This
is
a
simple
file.
i added to git and commit it.
Next i changed the file as
This
is
a
slightly more complex
file.
Again i added to git and commit it.
Now if i create a patch by using the below commands
git
On Tue, 03 Jun 2014 22:15:21 +0530, me storage said:
diff --git a/a.txt b/a.txt
index 76e499a..c341c1c 100644
--- a/a.txt
+++ b/a.txt
@@ -1,5 +1,5 @@
this
is
a
-simple
+slightly more complex file
file.
My doubt is how to create patch file which contains the modifications only
On Tue, Jun 03, 2014 at 10:12:24AM +0530, Dipanjan Das wrote:
Hi,
Like there is section #2 of man pages dedicated to syscalls, is there any
official way to get the list of all supported Kernal APIs?
check out the man page for man itself (man man)
look for this:
9 Kernel routines [Non
On Die, 2014-06-03 at 22:15 +0530, me storage wrote:
[...]
My doubt is how to create patch file which contains the modifications only
i.e lines with + only why because for example initially if a file
contains 1000 rows after i changed 2 lines but in the patch file it is
taking entire 1000+2
Hi,
While adding a syscall, how do I test the syscall code itself? If I simply
try to compile the C file individually, will the compiler be able find the
includes?
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
17 matches
Mail list logo