Tracker item #3373006, was opened at 2011-07-20 21:42
Message generated for change (Comment added) made by n-minker
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=989708&aid=3373006&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: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nate Muench (n-minker)
Assigned to: Nobody/Anonymous (nobody)
Summary: open-vm-tools still fails to build with GCC 4.6 or later

Initial Comment:
I just downloaded the new release for open-vm-tools (2011.07.19-450511),  There 
still appears to be issues, below are the remaining issues:

lib/file/
fileLockPrimitive.c:1404:8: error: variable 'cnt' set but not used

lib/file/
fileLockPosix.c:988:9: error: variable 'gotProcData' set but not used

I've also attached a partial build log (which is from later during the build), 
with more errors.  It may not be related to GCC 4.6 but I thought I'd bring it 
up.

----------------------------------------------------------------------

>Comment By: Nate Muench (n-minker)
Date: 2011-07-22 15:50

Message:
Adding "-Wno-unused-but-set-variable" to the CFLAGS worked, it built
successfully.

----------------------------------------------------------------------

Comment By: Marcelo Vanzin (mvanzin)
Date: 2011-07-21 12:33

Message:
Could you try to configure with "-Wno-unused-but-set-variable" in your
CFLAGS? You're interested in building, not in keeping the code clean, so
that should work for you. (FYI: it needs to come after "-Wall -Werror" in
the gcc command line; I believe just setting CFLAGS in the configure
command line will do that.)

We still don't use gcc 4.6 internally, so it's hard for us to keep track
of these warnings. We'll fix them as we run into them, but disabling that
warning is probably the easier solution for you guys.

As for the other build errors, they seem to be related to not finding the
SunRPC functions in libc. Did something change in the version of glibc
you're using? The functions used to be in libc.so. If they've moved, you
may need to tweak LDFLAGS.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=989708&aid=3373006&group_id=204462

------------------------------------------------------------------------------
10 Tips for Better Web Security
Learn 10 ways to better secure your business today. Topics covered include:
Web security, SSL, hacker attacks & Denial of Service (DoS), private keys,
security Microsoft Exchange, secure Instant Messaging, and much more.
http://www.accelacomm.com/jaw/sfnl/114/51426210/
_______________________________________________
open-vm-tools-devel mailing list
open-vm-tools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/open-vm-tools-devel

Reply via email to