lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 22 Nov 2010 09:55:14 -0700
From:	Derek Nielson <dereknielson@...il.com>
To:	linux-kernel@...r.kernel.org
Subject: Best place to ask this question: error with compiler.h when switching
 from 2.6.32 to 2.6.36

Last week I posted on here about a problem I am having switching from
kernel 2.6.32 to 2.6.36 and compiling modules against the kernel.  I
was not able to get a response and I'm thinking it's because this is
the wrong place to post this question.  Where is the best place to ask
this kind of question?  Is there another mailing list that I should be
posting to?

Thanks

Previous Post:

I am switching from Kernel 2.6.32 to Kernel 2.6.36.  The kernel builds
fine but when I compile a module (that worked with the previously
kernel) against the new kernel I am getting an error that I don't
understand.

Here is the error:

In file included from include/linux/string.h:10,
                 from
/mnt/local/home/linux-omap-2.6/arch/arm/include/asm/uaccess.h:14,
                 from /home/my_module/my_module.c:24:
include/linux/compiler.h:62: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘struct’
make[2]: *** [/home/my_module/my_module.o] Error 1
make[1]: *** [_module_/home/my_module] Error 2
make[1]: Leaving directory `/mnt/local/home/linux-omap-2.6'
make: *** [release] Error 2

I found this thread http://lkml.org/lkml/2007/10/17/213 and tried
following their solution but it didn't fix the problem.

Does anyone know how to fix this error?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ