Share

Open Virtual Machine Tools

Tracker: Tracker

5 2009.05.22 - compile inline error with GCC 3.4.5 - ID: 2799343
Last Update: Comment added ( emptyspiral )

Slackware 10.2 - GCC 3.4.5 - kernel 2.4.32 - compiling for a custom build
called 2.4.36-soc9-intel

Configure switches: --with-kernel-modules
--with-kernel-release=2.4.36-soc9-intel
--with-linuxdir=/usr/src/linux-2.4.36-soc9-intel --without-gtk2
--without-gtkmm --without-pic --with-gnu-ld --without-x --without-pam
--without-procps --without-dnet --without-icu --disable-multimon
--disable-docs

Error while running 'make':
Making all in modules
make[1]: Entering directory
`/projects/SOC/tmp/openvm/open-vm-tools-2009.05.22-167859/modules'
make VM_UNAME=2.4.36-soc9-intel MV=mv RM=rm \
OVT_SOURCE_DIR=/projects/SOC/tmp/openvm/open-vm-tools-2009.05.22-167859
\

MODULEBUILDDIR=/projects/SOC/tmp/openvm/open-vm-tools-2009.05.22-167859/mod
ules/linux \
-C
"/projects/SOC/tmp/openvm/open-vm-tools-2009.05.22-167859/modules/linux/vmm
emctl"
Using standalone build system.
make[2]: Entering directory
`/projects/SOC/tmp/openvm/open-vm-tools-2009.05.22-167859/modules/linux/vmm
emctl'
os.c: In function `compat_kthread_create':
/projects/SOC/tmp/openvm/open-vm-tools-2009.05.22-167859/modules/linux/shar
ed/compat_kthread.h:191: sorry, unimplemented: function
'compat_kthread_create' can never be inlined because it uses variable
argument lists
make[2]: *** [os.o] Error 1
make[2]: Leaving directory
`/projects/SOC/tmp/openvm/open-vm-tools-2009.05.22-167859/modules/linux/vmm
emctl'
make[1]: *** [vmmemctl] Error 2
make[1]: Leaving directory
`/projects/SOC/tmp/openvm/open-vm-tools-2009.05.22-167859/modules'
make: *** [all-recursive] Error 1


Vali ( emptyspiral ) - 2009-06-01 08:27

5

Closed

Fixed

Nobody/Anonymous

kernel modules

None

Public


Comments ( 2 )

Date: 2009-07-15 06:46
Sender: emptyspiral

Hello.

I can cofirm the patch works, the inline error does not show anymore,
however the make process gives another error later on. Since it's not
inline-related, this ticket can be closed, i will create a new bug report
with details about the make errors.

Thank you for your time.



Date: 2009-06-10 00:22
Sender: dtorProject Admin

Please try the patch I just uploaded, should be better now. Thanks!


Attached File ( 1 )

Filename Description Download
open-vm-tools-kthread-build-fix.patch Drop inline marking from compat_kthread_create Download

Changes ( 5 )

Field Old Value Date By
status_id Open 2009-07-15 06:46 emptyspiral
resolution_id None 2009-07-15 06:46 emptyspiral
allow_comments 1 2009-07-15 06:46 emptyspiral
close_date - 2009-07-15 06:46 emptyspiral
File Added 330415: open-vm-tools-kthread-build-fix.patch 2009-06-10 00:22 dtor