Re: [gentoo-user] Can't recompile vmware modules

2006-07-25 Thread Richard Fish

On 7/24/06, Vladimir G. Ivanovic [EMAIL PROTECTED] wrote:

 What is the output of:

 1. cat /proc/version
 2. gcc -v
 3. gcc-config -l

To me everything looks OK, but I'd love another set of eyes to look at
my setup.


Yeah, it looks sane to me too.

The only thing I can think of is a problem in perl.  The
vmware-config.pl script passes some variables into the Makefile, and
it looks like maybe some of those are not being set correctly.

Which version of perl are you using (I have 5.8.8-r2 here)?  Have you
run perl-cleaner recently?

-Richard
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Can't recompile vmware modules

2006-07-24 Thread Vladimir G. Ivanovic
On Sun, 2006-07-23 at 22:39 -0700, Richard Fish wrote:
 On 7/22/06, Vladimir G. Ivanovic [EMAIL PROTECTED] wrote:
  When I run vmware-config.pl, I get the following error:
 
  Building for VMware Workstation 5.5.x.
  Using 2.6.x kernel build system.
  make: Entering directory `/tmp/vmware-config0/vmmon-only'
  Makefile:127: *** Inappropriate build environment: you wanted to
  use gcc version  while kernel attempts to use gcc version 4.1.1.
 
 What is the output of:
 
 1. cat /proc/version
 2. gcc -v
 3. gcc-config -l

To me everything looks OK, but I'd love another set of eyes to look at
my setup.

--- Vladimir

$ cat /proc/version
Linux version 2.6.17-gentoo-r4 ([EMAIL PROTECTED]) (gcc version
4.1.1 (Gentoo 4.1.1)) #1 PREEMPT Sat Jul 22 15:13:47 PDT 2006
$ gcc -v
Using built-in specs.
Target: x86_64-pc-linux-gnu
Configured
with: /var/tmp/portage/gcc-4.1.1/work/gcc-4.1.1/configure
--prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.1
--includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/include
--datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.1
--mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.1/man
--infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.1/info

--with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/include/g++-v4 
--host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec 
--enable-nls --without-included-gettext --with-system-zlib --disable-checking 
--disable-werror --disable-libunwind-exceptions --enable-multilib 
--disable-libmudflap --disable-libssp --enable-java-awt=gtk 
--enable-languages=c,c++,java,fortran --enable-shared --enable-threads=posix 
--enable-__cxa_atexit --enable-clocale=gnu
Thread model: posix
gcc version 4.1.1 (Gentoo 4.1.1)
$ gcc-config -l
Available compilers for CTARGET i686-pc-linux-gnu
  [1]   x86_64-pc-linux-gnu-3.4.6/x86-hardened
  [2]   x86_64-pc-linux-gnu-3.4.6/x86-hardenednopie
  [3]   x86_64-pc-linux-gnu-3.4.6/x86-hardenednopiessp
  [4]   x86_64-pc-linux-gnu-3.4.6/x86-hardenednossp
  [5]   x86_64-pc-linux-gnu-3.4.6/x86-vanilla
  [6]   x86_64-pc-linux-gnu-4.1.1/x86-vanilla
Available compilers for CTARGET x86_64-pc-linux-gnu
  [7]   x86_64-pc-linux-gnu-3.4.6/amd64-hardened
  [8]   x86_64-pc-linux-gnu-3.4.6/amd64-hardenednopie
  [9]   x86_64-pc-linux-gnu-3.4.6/amd64-hardenednopiessp
  [10]  x86_64-pc-linux-gnu-3.4.6/amd64-hardenednossp
  [11]  x86_64-pc-linux-gnu-3.4.6/amd64-vanilla
  [12]  x86_64-pc-linux-gnu-4.1.1/amd64-vanilla

Activated profiles:
  i686-pc-linux-gnu
x86_64-pc-linux-gnu-4.1.1/x86-vanilla
  x86_64-pc-linux-gnu *
x86_64-pc-linux-gnu-4.1.1/amd64-vanilla

-- 
Vladimir G. Ivanovic [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Can't recompile vmware modules

2006-07-23 Thread Richard Fish

On 7/22/06, Vladimir G. Ivanovic [EMAIL PROTECTED] wrote:

When I run vmware-config.pl, I get the following error:

Building for VMware Workstation 5.5.x.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config0/vmmon-only'
Makefile:127: *** Inappropriate build environment: you wanted to
use gcc version  while kernel attempts to use gcc version 4.1.1.


What is the output of:

1. cat /proc/version
2. gcc -v
3. gcc-config -l

-Richard
--
gentoo-user@gentoo.org mailing list



[gentoo-user] Can't recompile vmware modules

2006-07-22 Thread Vladimir G. Ivanovic
When I run vmware-config.pl, I get the following error:

Building for VMware Workstation 5.5.x.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config0/vmmon-only'
Makefile:127: *** Inappropriate build environment: you wanted to
use gcc version  while kernel attempts to use gcc version 4.1.1.
Makefile:129: *** For proper build you'll have to
replace /usr/bin/gcc with symbolic link to .  Stop.
make: Leaving directory `/tmp/vmware-config0/vmmon-only'
Unable to build the vmmon module.

When I explicitly set the GCC version and then run vmware-config.pl with
VM_CCVER=4.1.1 vmware-config.pl, I successfully pass the GCC version
test, but then make can't find the target auto-build:

Building for VMware Workstation 5.5.x.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config3/vmmon-only'
make: *** No rule to make target `auto-build'.  Stop.
make: Leaving directory `/tmp/vmware-config3/vmmon-only'
Unable to build the vmmon module.

Of course the target is there:

fgrep auto-build: /tmp/vmware-config0/vmmon-only/Makefile
auto-build: $(DRIVER_KO)

Falling back to an older version of gentoo-sources doesn't help. make,
perl, binutils and coreutils all seem OK.

Has anyone else run into this kind of problem, and if so, how did you
solve it?

Thanks.

-- 
Vladimir G. Ivanovic [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list