Tracker item #2821693, was opened at 2009-07-15 00:23
Message generated for change (Settings changed) made by mvanzin
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=989708&aid=2821693&group_id=204462
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: misc
Group: None
>Status: Closed
>Resolution: Wont Fix
Priority: 5
Private: No
Submitted By: Vali (emptyspiral)
Assigned to: Nobody/Anonymous (nobody)
Summary: make failes for vsock on gcc 3.4.5
Initial Comment:
Hello.
Tried to compile open-vm-tools-2009.06.18-172495 with:
- gcc 3.4.5 (Configured with: ../gcc-3.4.5/configure --prefix=/usr
--enable-shared --enable-threads=posix --enable-__cxa_atexit --disable-checking
--with-gnu-ld --verbose --target=i486-slackware-linux
--host=i486-slackware-linux
Thread model: posix
gcc version 3.4.5)
- glibc 2.3.6
- configure line: ./configure --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
I also applied the patch from tichet #2799343.
After a while of compiling, it fails with the following error (kept the last
relevant lines):
make[2]: Leaving directory
`/projects/SOC/tmp/openvm/open-vm-tools-2009.06.18-172495/modules/linux/vmhgfs'
make VM_UNAME=2.4.36-soc9-intel MV=mv RM=rm \
OVT_SOURCE_DIR=/projects/SOC/tmp/openvm/open-vm-tools-2009.06.18-172495
\
MODULEBUILDDIR=/projects/SOC/tmp/openvm/open-vm-tools-2009.06.18-172495/modules/linux
\
-C
"/projects/SOC/tmp/openvm/open-vm-tools-2009.06.18-172495/modules/linux/vsock"
Using standalone build system.
make[2]: Entering directory
`/projects/SOC/tmp/openvm/open-vm-tools-2009.06.18-172495/modules/linux/vsock'
Makefile.normal:126: warning: overriding commands for target `driverLog.o'
Makefile.normal:100: warning: ignoring old commands for target `driverLog.o'
make[2]: *** No rule to make target `linux/driverLog.c', needed by
`driverLog.o'. Stop.
make[2]: Leaving directory
`/projects/SOC/tmp/openvm/open-vm-tools-2009.06.18-172495/modules/linux/vsock'
make[1]: *** [vsock] Error 2
make[1]: Leaving directory
`/projects/SOC/tmp/openvm/open-vm-tools-2009.06.18-172495/modules'
make: *** [all-recursive] Error 1
Any further information about the system is available on request.
Thank you for your time.
----------------------------------------------------------------------
>Comment By: Marcelo Vanzin (mvanzin)
Date: 2009-08-26 18:09
Message:
You're right, the "ifdef" in the makefile is wrong; but we dropped support
for kernels < 2.6.9 on newer releases, so if you really want to compile
that module you could try to apply the change and see if you have better
luck.
----------------------------------------------------------------------
Comment By: Vali (emptyspiral)
Date: 2009-08-05 07:24
Message:
The problem is cause by a target in
(SRCDIR)/modules/linux/vsock/Makefile.normal.
88: LINUX_OBJS := af_vsock.o
89: LINUX_OBJS += vsockAddr.o
90: LINUX_OBJS += util.o
91: LINUX_OBJS += driverLog.o
Line 91 specifies driverLog.o as one of the LINUX_OBJS. However, on line
125 when defining the target for LINUX_OBJS, it specifies this:
$(LINUX_OBJS): %.o: $(SRCROOT)/linux/%.c
Now: all the other files (except driverLog.*) are correctly located into
(SRCDIR)/modules/linux/vsock/linux, so that target is correcly specified.
However, driverLog sources are in (SRCDIR)/modules/linux/shared/
There is a "catch" for driverLog.o at lines 95-101:
ifdef OVT_SOURCE_PATH
driverLog.o: $(OVT_SOURCE_DIR)/modules/linux/shared/driverLog.c
$(CC) $(CC_OPTS) $(INCLUDE) -c $<
else
driverLog.o: shared/driverLog.c
$(CC) $(CC_OPTS) $(INCLUDE) -c $<
endif
. however, i believe in the ifdef it should be OVT_SOURCE_DIR and NOT
OVT_SOURCE_PATH. Anyway, even if corrected, still it does not work. I
believe the target for LINUX_OBJS overides the specification on lines
95-101, and my makefile knowledge is kind of rusty..
Thank you for your time.
----------------------------------------------------------------------
Comment By: Vali (emptyspiral)
Date: 2009-08-04 07:55
Message:
The problem still occurs on open-vm-tools-2009.07.22-179896.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=989708&aid=2821693&group_id=204462
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
open-vm-tools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/open-vm-tools-devel