Osi2897 | 21 Apr 2012 19:22

3.3.2: conflicting types for sys_ni_syscall

Hi,

I tried to compile 3.3.2 UML on an old pentium III system (3.2.12 was no problem
on this system). With 3.3.2 I get the following error (conflicting types for
"sys_ni_syscall"):

CC      arch/x86/um/sys_call_table_32.o
arch/x86/um/sys_call_table_32.c:44:13: Fehler: In Konflikt stehende Typen für
»sys_ni_syscall«
In file included from arch/x86/um/sys_call_table_32.c:37:0:
arch/x86/include/generated/asm/syscalls_32.h:154:1: Anmerkung: Vorherige
Deklaration von »sys_ni_syscall« war hier
In file included from arch/x86/um/sys_call_table_32.c:52:0:
arch/x86/include/generated/asm/syscalls_32.h:1:1: Warnung: Initialisierung von
inkompatiblem Zeigertyp [standardmäßig aktiviert]
arch/x86/include/generated/asm/syscalls_32.h:1:1: Warnung: (nahe der
Initialisierung für »sys_call_table[0]«) [standardmäßig aktiviert]
arch/x86/include/generated/asm/syscalls_32.h:2:1: Warnung: Initialisierung von
inkompatiblem Zeigertyp [standardmäßig aktiviert]

Here is my .config:

#
# Automatically generated file; DO NOT EDIT.
# User Mode Linux/i386 3.3.2 Kernel Configuration
#
CONFIG_DEFCONFIG_LIST="arch/$ARCH/defconfig"
CONFIG_UML=y
CONFIG_MMU=y
CONFIG_NO_IOMEM=y
(Continue reading)

richard -rw- weinberger | 22 Apr 2012 13:21
Picon

Re: 3.3.2: conflicting types for sys_ni_syscall

On Sat, Apr 21, 2012 at 7:22 PM, Osi2897 <osi2897 <at> i2pmail.org> wrote:
> Hi,
>
> I tried to compile 3.3.2 UML on an old pentium III system (3.2.12 was no problem
> on this system). With 3.3.2 I get the following error (conflicting types for
> "sys_ni_syscall"):

Can you try building the kernel again after a "make mrproper ARCH=um"?

--

-- 
Thanks,
//richard

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
Osi2897 | 22 Apr 2012 22:19

Re: 3.3.2: conflicting types for sys_ni_syscall

richard -rw- weinberger <richard.weinberger <at> gmail.com> writes:

> Can you try building the kernel again after a "make mrproper ARCH=um"?

Just tried it... "make ARCH=um" stops with same error message (Archlinux on
PentiumIII, gcc is 4.7.0 20120414 (prerelease)).

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
Osi2897 | 12 Jun 2012 22:51

Re: 3.3.2: conflicting types for sys_ni_syscall

Just for the records: 
Here is the solution for the problem (working with gcc 4.7):
http://comments.gmane.org/gmane.linux.kernel/1304942

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/

Gmane