• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

suse10.3 vmware5.5.1 C-compiler error

gattacca

Member
Hallo,

beim Ausführen von vmware-config.pl erhalte ich folgenden C-CompilerERROR:

Building for VMware Workstation 5.5.0 or 5.5.1.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config12/vmmon-only'
make -C /lib/modules/2.6.22.9-0.4-default/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.22.9-0.4-obj/i386/default'
make -C ../../../linux-2.6.22.9-0.4 O=../linux-2.6.22.9-0.4-obj/i386/default modules
CC [M] /tmp/vmware-config12/vmmon-only/linux/driver.o
CC [M] /tmp/vmware-config12/vmmon-only/linux/hostif.o
CC [M] /tmp/vmware-config12/vmmon-only/common/cpuid.o
CC [M] /tmp/vmware-config12/vmmon-only/common/hash.o
CC [M] /tmp/vmware-config12/vmmon-only/common/memtrack.o
CC [M] /tmp/vmware-config12/vmmon-only/common/phystrack.o
CC [M] /tmp/vmware-config12/vmmon-only/common/task.o
cc1plus: warning: command line option "-Werror-implicit-function-declaration" is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wdeclaration-after-statement" is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wno-pointer-sign" is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
cc1plus: warning: command line option "-ffreestanding" is valid for C/ObjC but not for C++
In file included from /tmp/vmware-config12/vmmon-only/common/hostKernel.h:56,
from /tmp/vmware-config12/vmmon-only/common/task.c:24:
include2/asm/page.h: In function ‘pte_t native_make_pte(long unsigned int)’:
include2/asm/page.h:112: error: expected primary-expression before ‘)’ token
include2/asm/page.h:112: error: expected ‘;’ before ‘{’ token
include2/asm/page.h:112: error: expected primary-expression before ‘.’ token
include2/asm/page.h:112: error: expected `;' before ‘}’ token
make[4]: *** [/tmp/vmware-config12/vmmon-only/common/task.o] Error 1
make[3]: *** [_module_/tmp/vmware-config12/vmmon-only] Error 2
make[2]: *** [modules] Error 2
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.22.9-0.4-obj/i386/default'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config12/vmmon-only'
Unable to build the vmmon module.

For more information on how to troubleshoot module-related problems, please
visit our Web site at "http://www.vmware.com/download/modules/modules.html" and
"http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html".

Execution aborted.

Auch der neueste any-any-patch bringt kein besseres Ergebnis.
Kernel Version: 2.6.22.9-0.4-default i686
Ich sehe natürlich, das es wohl an der
"cc1plus: warning: command line option "-Wdeclaration-after-statement" is valid for C/ObjC but not for C++" liegt aber ich bin kein Programmierer...:-(

Hat jemand eine Idee wie ich das lösen könnte?
Danke im Voraus
 

Martin Breidenbach

Ultimate Guru
gattacca schrieb:
Building for VMware Workstation 5.5.0 or 5.5.1.

Zur Info: Es gibt auch eine Version 5.5.5. Ob die das Problem löst weiß ich nicht. Der Update von 5.x auf 5.5.5 ist kostenlos.

http://www.vmware.com/download/ws/ws5.html

(Version 6.0.2 gibts auch aber der Update von 5.x auf 6.x kostet Geld)
 

Mystique

Member
Gibt es schon eine Lösung für das Problem. Versuche hier ebenfalls die 5.5.3 und 5.5.4 unter Suse 10.3 zu installieren. Bekomme die selben Fehlermeldungen. :(
 

whois

Ultimate Guru
Mystique schrieb:
Weiß jetzt nicht was Du meinst? :roll:
Naja hast du dir den any-any Patch schon installiert.
Siehe Link zweites Posting. :wink:
http://www.linuxforen.de/forums/showthread.php?threadid=47553%3Cbr%20/%3E


cu
 
OP
G

gattacca

Member
Hatte nicht so viel Zeit mich darum zu kümmern.
Die Antwort (für mich) lautet:
Ich benutze weiterhin Suse 10.1 da fluppts ja, der Rest kommt mit der Zeit.
Bin da ganz pragmatisch.. 8) :lol: :idea:
 

freshxx

Newbie
Ich hänge mal einen Link zu gleichem Thema an:

http://www.linux-club.de/ftopic87307.html

Ich wäre immer noch an einer Lösung interressiert denn obwohl ich auf WS6 upgegradet habe bin ich immer noch nicht glücklich :( Leider habe ich mit WS6, obwohl es ohne AnyAny läuft, mit den vorhandenen Images Probleme (Im WS5 Kompatibilitätsmodus).

Gruß
 
Oben