Kirjoittaja Aihe: [RATKAISTU] Mistä uudempi gcc versio suselle ??  (Luettu 4136 kertaa)

0 jäsentä ja 1 Vieras katselee tätä aihetta.

Poissa jkaija

  • Jäsen
  • Viestejä: 551
  • Sukupuoli: Mies
    • OtaNetti
[RATKAISTU] Mistä uudempi gcc versio suselle ??
« : 10.07.2008 - klo:19:16 »
Yritin asentaa vmware-workstation:ia openSUSE 11.0 32bit, alla lopputulos 'vmware-config.pl' suorittamisesta.

Koodia: [Valitse]
Your kernel was built with "gcc" version "4.3.1", while you are trying to use
"/usr/bin/gcc" version "4.3". This configuration is not recommended and VMware
Workstation may crash if you'll continue. Please try to use exactly same
compiler as one used for building your kernel. Do you want to go with compiler
"/usr/bin/gcc" version "4.3" anyway? [no] y

What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.6.25.9-0.2-default/build/include]

Extracting the sources of the vmmon module.

Building the vmmon module.

Using 2.6.x kernel build system.
make: Siirrytään hakemistoon "/tmp/vmware-config1/vmmon-only"
make -C /lib/modules/2.6.25.9-0.2-default/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Siirrytään hakemistoon "/usr/src/linux-2.6.25.9-0.2-obj/i386/default"
make -C /usr/src/linux-2.6.25.9-0.2 O=/usr/src/linux-2.6.25.9-0.2-obj/i386/default/. modules
  CC [M]  /tmp/vmware-config1/vmmon-only/linux/driver.o
In file included from /tmp/vmware-config1/vmmon-only/./include/vmware.h:25,
                 from /tmp/vmware-config1/vmmon-only/linux/driver.c:83:
/tmp/vmware-config1/vmmon-only/./include/vm_basic_types.h:170: error: conflicting types for ‘uintptr_t’
/usr/src/linux-2.6.25.9-0.2/include/linux/types.h:40: error: previous declaration of ‘uintptr_t’ was here
In file included from /tmp/vmware-config1/vmmon-only/./include/x86.h:23,
                 from /tmp/vmware-config1/vmmon-only/linux/driver.h:15,
                 from /tmp/vmware-config1/vmmon-only/linux/driver.c:84:
/tmp/vmware-config1/vmmon-only/./include/x86cpuid.h:383:1: warning: "BIT_MASK" redefined
In file included from /usr/src/linux-2.6.25.9-0.2/include/linux/kernel.h:15,
                 from /tmp/vmware-config1/vmmon-only/linux/driver.c:11:
/usr/src/linux-2.6.25.9-0.2/include/linux/bitops.h:7:1: warning: this is the location of the previous definition
In file included from /tmp/vmware-config1/vmmon-only/./include/vmci_kernel_defs.h:26,
                 from /tmp/vmware-config1/vmmon-only/./common/vmciContext.h:19,
                 from /tmp/vmware-config1/vmmon-only/linux/driver.h:21,
                 from /tmp/vmware-config1/vmmon-only/linux/driver.c:84:
/tmp/vmware-config1/vmmon-only/./include/compat_wait.h:37:5: warning: "VMW_HAVE_EPOLL" is not defined
/tmp/vmware-config1/vmmon-only/./include/compat_wait.h:43:5: warning: "VMW_HAVE_EPOLL" is not defined
In file included from /tmp/vmware-config1/vmmon-only/./include/vmci_kernel_defs.h:26,
                 from /tmp/vmware-config1/vmmon-only/./common/vmciContext.h:19,
                 from /tmp/vmware-config1/vmmon-only/linux/driver.h:21,
                 from /tmp/vmware-config1/vmmon-only/linux/driver.c:84:
/tmp/vmware-config1/vmmon-only/./include/compat_wait.h:60: error: conflicting types for ‘poll_initwait’
/usr/src/linux-2.6.25.9-0.2/include/linux/poll.h:65: error: previous declaration of ‘poll_initwait’ was here
/tmp/vmware-config1/vmmon-only/linux/driver.c:198: warning: initialization from incompatible pointer type
make[4]: *** [/tmp/vmware-config1/vmmon-only/linux/driver.o] Virhe 1
make[3]: *** [_module_/tmp/vmware-config1/vmmon-only] Virhe 2
make[2]: *** [sub-make] Virhe 2
make[1]: *** [all] Virhe 2
make[1]: Poistutaan hakemistosta "/usr/src/linux-2.6.25.9-0.2-obj/i386/default"
make: *** [vmmon.ko] Virhe 2
make: Poistutaan hakemistosta "/tmp/vmware-config1/vmmon-only"
Unable to build the vmmon module.
« Viimeksi muokattu: 10.07.2008 - klo:22:13 kirjoittanut jkaija »
HP Pavilion15-p076no, Tumbleweed 64bit Plasma
Asus Prime X570P, AMD Ryzen 5 3600, 32GT, GeForce RTX2080, Tumbleweed 64bit Plasma

Poissa arijoutsi

  • Käännösryhmä
  • *
  • Viestejä: 2062
  • Sukupuoli: Mies
Vs: Mistä uudempi gcc versio suselle ??
« Vastaus #1 : 10.07.2008 - klo:19:29 »
Olikohan kernelin sorsat asentamatta!
HP Elite book, openSUSE Leap 15.2
Mac mini Catalina.
Puhelin, iPhone SE.

Poissa jmp

  • openSUSE Member
  • *
  • Viestejä: 4553
  • Sukupuoli: Mies
    • openSUSEa suomeksi
Vs: Mistä uudempi gcc versio suselle ??
« Vastaus #2 : 10.07.2008 - klo:20:43 »
Yritin asentaa vmware-workstation:ia openSUSE 11.0 32bit, alla lopputulos 'vmware-config.pl' suorittamisesta.

Hae uusin versio vmware-workstationista.
Varmista että tarvittavat paketit on asennettu (zypper in -t pattern devel_basis ja zypper in kernel-source)
Tai kokeile vmware-any-any-update-pakettia (löytyy googlella)

Edit: niin joo,
 
Koodia: [Valitse]
jmp@phenom:~> gcc --version
gcc (SUSE Linux) 4.3.1 20080507 (prerelease) [gcc-4_3-branch revision 135036]
Copyright (C) 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Ja muistakaa pitää hauskaa ;)

openSUSE Tumbleweed (x86_64)

Poissa jkaija

  • Jäsen
  • Viestejä: 551
  • Sukupuoli: Mies
    • OtaNetti
[RATKAISTU] Vs: Mistä uudempi gcc versio suselle ??
« Vastaus #3 : 10.07.2008 - klo:22:10 »
Hae uusin versio vmware-workstationista.

Jeps, tuo auttoi. Mikä lie kun ei oma pää toimi tuon vertaa.  ???
HP Pavilion15-p076no, Tumbleweed 64bit Plasma
Asus Prime X570P, AMD Ryzen 5 3600, 32GT, GeForce RTX2080, Tumbleweed 64bit Plasma