WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Compile error on 2.6.32.12

On Thu, May 13, 2010 at 02:58:01PM +0100, Ian Tobin wrote:
>    just ran the complie again and ended with
> 
>      CC [M]  drivers/acpi/ac.o
>      CC [M]  drivers/acpi/button.o
>      CC [M]  drivers/acpi/fan.o
>      CC [M]  drivers/acpi/video.o
>      CC [M]  drivers/acpi/processor_core.o
>    drivers/acpi/processor_core.c:411: error: static declaration of
>    'acpi_processor_add_fs' follows non-static declaration
>    include/acpi/processor.h:242: error: previous declaration of
>    'acpi_processor_add_fs' was here
>    drivers/acpi/processor_core.c:415: error: static declaration of
>    'acpi_processor_remove_fs' follows non-static declaration
>    include/acpi/processor.h:243: error: previous declaration of
>    'acpi_processor_remove_fs' was here
>    make[2]: *** [drivers/acpi/processor_core.o] Error 1
>    make[1]: *** [drivers/acpi] Error 2
>    make: *** [drivers] Error 2
>    the only changes I made were to enable 64gb so i could enable XEN dom0,
>    nothing else was modified and this is a fresh download.
> 

Well try enabling CONFIG_ACPI_PROCFS and see if that fixes it.

You can also try my .config files:
http://pasik.reaktio.net/xen/pv_ops-dom0-debug/config-2.6.32.10-pvops-dom0-xen-stable-x86_32
http://pasik.reaktio.net/xen/pv_ops-dom0-debug/config-2.6.32.10-pvops-dom0-xen-stable-x86_64

See http://wiki.xensource.com/xenwiki/XenParavirtOps for more information.

$ grep -i acpi config-2.6.32.10-pvops-dom0-xen-stable-x86_64 |grep -i proc
CONFIG_ACPI_PROCFS=y
CONFIG_ACPI_PROCFS_POWER=y
CONFIG_ACPI_PROC_EVENT=y
CONFIG_ACPI_PROCESSOR=y
# CONFIG_ACPI_PROCESSOR_AGGREGATOR is not set

-- Pasi

>    thanks
> 
>    Ian
> 
> 
> 
>    --------------------------------------------------------------------------
> 
>    From: Pasi Kärkkäinen [mailto:pasik@xxxxxx]
>    Sent: Thu 13/05/2010 14:34
>    To: Ian Tobin
>    Cc: xen-users@xxxxxxxxxxxxxxxxxxx
>    Subject: Re: [Xen-users] Compile error on 2.6.32.12
> 
>    On Thu, May 13, 2010 at 02:24:37PM +0100, Ian Tobin wrote:
>    > Yes, the logs match.
>    >
>    > Is this a bug?
>    >
> 
>    See: [1]http://www.gossamer-threads.com/lists/xen/devel/168485
> 
>    Do you have CONFIG_ACPI_PROCFS enabled in your kernel .config ?
> 
>    -- Pasi
> 
>    >
>    >
>    >
>    > -----Original Message-----
>    > From: Pasi Kärkkäinen [[2]mailto:pasik@xxxxxx]
>    > Sent: 13 May 2010 14:21
>    > To: Ian Tobin
>    > Subject: Re: [Xen-users] Compile error on 2.6.32.12
>    >
>    > On Thu, May 13, 2010 at 02:15:31PM +0100, Ian Tobin wrote:
>    > > Hi,
>    > >
>    > > I issued today
>    > >
>    > >
>    > > $ cd linux-2.6-xen
>    > > $ git reset --hard
>    > > $ git checkout -b xen/stable-2.6.32.x origin/xen/stable-2.6.32.x
>    > > $ git pull
>    > >
>    > > I assume this is the latest tree?
>    > >
>    >
>    > Should be.
>    >
>    > try "git log | less" and compare to the web changelog.
>    >
>    > -- Pasi
>    >
>    > > Thanks
>    > >
>    > > Ian
>    > >
>    > >
>    > >
>    > >
>    > > -----Original Message-----
>    > > From: Pasi Kärkkäinen [[3]mailto:pasik@xxxxxx]
>    > > Sent: 13 May 2010 14:14
>    > > To: Ian Tobin
>    > > Cc: xen-users@xxxxxxxxxxxxxxxxxxx
>    > > Subject: Re: [Xen-users] Compile error on 2.6.32.12
>    > >
>    > > On Thu, May 13, 2010 at 02:09:45PM +0100, Ian Tobin wrote:
>    > > >    Hi,
>    > > >
>    > > >    im trying to compile the pv_ops kernel 2.6.32.12 and keep getting
>    this
>    > > >    error
>    > > >
>    > > >     CC      drivers/acpi/power.o
>    > > >      CC      drivers/acpi/system.o
>    > > >      CC      drivers/acpi/event.o
>    > > >      CC      drivers/acpi/video_detect.o
>    > > >      CC      drivers/acpi/processor_core.o
>    > > >    drivers/acpi/processor_core.c:411: error: static declaration of
>    > > >    'acpi_processor_add_fs' follows  non-static declaration
>    > > >    include/acpi/processor.h:242: error: previous declaration of
>    > > >    'acpi_processor_add_fs' was here
>    > > >    drivers/acpi/processor_core.c:415: error: static declaration of
>    > > >    'acpi_processor_remove_fs' follows non-static declaration
>    > > >    include/acpi/processor.h:243: error: previous declaration of
>    > > >    'acpi_processor_remove_fs' was here
>    > > >    make[2]: *** [drivers/acpi/processor_core.o] Error 1
>    > > >    make[1]: *** [drivers/acpi] Error 2
>    > > >    make: *** [drivers] Error 2
>    > > >    any ideas?
>    > > >
>    > >
>    > > Are you sure you have the latest xen/stable.2.6.32.x branch/tree?
>    > >
>    > > Changelog here:
>    
> [4]http://git.kernel.org/?p=linux/kernel/git/jeremy/xen.git;a=shortlog;h=xen/stable-2.6.32.x
>    > >
>    > > -- Pasi
>    > >
>    > >
>    > >
>    >
>    >
> 
> References
> 
>    Visible links
>    1. http://www.gossamer-threads.com/lists/xen/devel/168485
>    2. mailto:pasik@xxxxxx
>    3. mailto:pasik@xxxxxx
>    4. 
> http://git.kernel.org/?p=linux/kernel/git/jeremy/xen.git;a=shortlog;h=xen/stable-2.6.32.x

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>