* [gentoo-user] Can't recompile vmware modules
@ 2006-07-23 3:22 Vladimir G. Ivanovic
2006-07-23 18:20 ` [gentoo-user] " David Talkington
2006-07-24 5:39 ` [gentoo-user] " Richard Fish
0 siblings, 2 replies; 6+ messages in thread
From: Vladimir G. Ivanovic @ 2006-07-23 3:22 UTC (permalink / raw
To: gentoo-amd64, gentoo-user
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 <vgivanovic@comcast.net>
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
* [gentoo-user] Re: Can't recompile vmware modules
2006-07-23 3:22 [gentoo-user] Can't recompile vmware modules Vladimir G. Ivanovic
@ 2006-07-23 18:20 ` David Talkington
2006-07-23 19:37 ` Vladimir G. Ivanovic
2006-07-24 5:39 ` [gentoo-user] " Richard Fish
1 sibling, 1 reply; 6+ messages in thread
From: David Talkington @ 2006-07-23 18:20 UTC (permalink / raw
To: gentoo-user
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Vladimir G. Ivanovic wrote:
> When I run vmware-config.pl, I get the following error:
...
> Has anyone else run into this kind of problem, and if so, how did you
> solve it?
Make sure you're using the latest build of VMware Workstation.
Assuming that to be true, then this might help -- it solved a similar
build problem for me:
http://www.vmware.com/community/thread.jspa?messageID=76957&tstart=0
Cheers -d
- --
David Talkington
PGP key: http://www.prairienet.org/~dtalk/004B8F8B.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (GNU/Linux)
iD8DBQFEw73k5FKhdwBLj4sRAlvNAJ45tyQzoxlXN0bFMOLonH8zYDGa9gCgo+PM
ZQmVDxe3j5/QG5wCVoJWO/w=
=7vxY
-----END PGP SIGNATURE-----
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Re: Can't recompile vmware modules
2006-07-23 18:20 ` [gentoo-user] " David Talkington
@ 2006-07-23 19:37 ` Vladimir G. Ivanovic
0 siblings, 0 replies; 6+ messages in thread
From: Vladimir G. Ivanovic @ 2006-07-23 19:37 UTC (permalink / raw
To: gentoo-user
On Sun, 2006-07-23 at 11:20 -0700, David Talkington wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Vladimir G. Ivanovic wrote:
>
> > When I run vmware-config.pl, I get the following error:
> ...
> > Has anyone else run into this kind of problem, and if so, how did you
> > solve it?
>
> Make sure you're using the latest build of VMware Workstation.
> Assuming that to be true, then this might help -- it solved a similar
> build problem for me:
>
> http://www.vmware.com/community/thread.jspa?messageID=76957&tstart=0
>
I am using the latest version of VMware (5.5.1.19175) with the latest
update (101) applied.
BTW, I didn't mention that VMware workstation used to work with some
kernel version (later than 2.6.16), with gcc 4.1.1 and with some version
of binutils, coreutils, etc. Like an idiot, I didn't save the working
setup after I installed a new kernel, so I can't go back to a known,
working version.
--- Vladimir
--
Vladimir G. Ivanovic <vgivanovic@comcast.net>
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Can't recompile vmware modules
2006-07-23 3:22 [gentoo-user] Can't recompile vmware modules Vladimir G. Ivanovic
2006-07-23 18:20 ` [gentoo-user] " David Talkington
@ 2006-07-24 5:39 ` Richard Fish
2006-07-24 16:19 ` Vladimir G. Ivanovic
1 sibling, 1 reply; 6+ messages in thread
From: Richard Fish @ 2006-07-24 5:39 UTC (permalink / raw
To: gentoo-user
On 7/22/06, Vladimir G. Ivanovic <vgivanovic@comcast.net> 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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Can't recompile vmware modules
2006-07-24 5:39 ` [gentoo-user] " Richard Fish
@ 2006-07-24 16:19 ` Vladimir G. Ivanovic
2006-07-25 8:59 ` Richard Fish
0 siblings, 1 reply; 6+ messages in thread
From: Vladimir G. Ivanovic @ 2006-07-24 16:19 UTC (permalink / raw
To: gentoo-user
On Sun, 2006-07-23 at 22:39 -0700, Richard Fish wrote:
> On 7/22/06, Vladimir G. Ivanovic <vgivanovic@comcast.net> 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 (root@scarlatti) (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 <vgivanovic@comcast.net>
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Can't recompile vmware modules
2006-07-24 16:19 ` Vladimir G. Ivanovic
@ 2006-07-25 8:59 ` Richard Fish
0 siblings, 0 replies; 6+ messages in thread
From: Richard Fish @ 2006-07-25 8:59 UTC (permalink / raw
To: gentoo-user
On 7/24/06, Vladimir G. Ivanovic <vgivanovic@comcast.net> 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
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2006-07-25 9:05 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-23 3:22 [gentoo-user] Can't recompile vmware modules Vladimir G. Ivanovic
2006-07-23 18:20 ` [gentoo-user] " David Talkington
2006-07-23 19:37 ` Vladimir G. Ivanovic
2006-07-24 5:39 ` [gentoo-user] " Richard Fish
2006-07-24 16:19 ` Vladimir G. Ivanovic
2006-07-25 8:59 ` Richard Fish
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox