Tracker item #3345828, was opened at 2011-06-29 22:56
Message generated for change (Comment added) made by mvanzin
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=989708&aid=3345828&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: libraries
Group: None
>Status: Closed
>Resolution: Wont Fix
Priority: 5
Private: No
Submitted By: cjbaar (cjbaar0)
Assigned to: Nobody/Anonymous (nobody)
Summary: Compile fails at backdoorGcc32.c

Initial Comment:
I am receiving this same error compiling on Solaris 10.
system: SunOS 5.10 Generic_144489-17 i86pc i386 i86pc
make: GNU Make 3.82
gcc: version 3.4.6

./configure --without-x --without-icu

make results in:


libtool: compile:  gcc -DPACKAGE_NAME=\"open-vm-tools\" 
-DPACKAGE_TARNAME=\"open-vm-tools\" -DPACKAGE_VERSION=\"8.4.2\" 
"-DPACKAGE_STRING=\"open-vm-tools 8.4.2\"" 
-DPACKAGE_BUGREPORT=\"open-vm-tools-devel@lists.sourceforge.net\" 
-DPACKAGE_URL=\"\" -DPACKAGE=\"open-vm-tools\" -DVERSION=\"8.4.2\" 
-DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" 
-DX_DISPLAY_MISSING=1 -DHAVE_DLOPEN=1 -DHAVE_ECVT=1 -DHAVE_FCVT=1 -DNO_PROCPS=1 
-DHAVE_CRYPT_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STDLIB_H=1 
-DHAVE_WCHAR_H=1 -DHAVE_SYS_INTTYPES_H=1 -DHAVE_SYS_PARAM_H=1 
-DHAVE_SYS_SYSINFO_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_USER_H=1 
-DHAVE_SYS_VFS_H=1 -DHAVE_SYSLIMITS_H=1 -DHAVE_UNWIND_H=1 -DHAVE__BOOL=1 
-DHAVE_STDBOOL_H=1 -DHAVE_STRUCT_STAT_ST_RDEV=1 -DTIME_WITH_SYS_TIME=1 
-DNO_MULTIMON=1 -I. -I/u/shr/src/x86/open-vm-tools-8.4.2-261024/lib/include 
-I/u/shr/src/x86/open-vm-tools-8.4.2-261024/lib/include -DUSING_AUTOCONF=1 
-DOPEN_VM_TOOLS -DVMX86_TOOLS -DNO_CORE_ICU -DSOL10 -g -O2 -Wall -Werror 
-Wno-unused-value -fno-strict-aliasing -Wno-unknown-pragmas -Wno-uninitialized 
-MT backdoorGcc32.lo -MD -MP -MF .deps/backdoorGcc32.Tpo -c backdoorGcc32.c  
-fPIC -DPIC -o .libs/backdoorGcc32.o
backdoorGcc32.c: In function `Backdoor_InOut':
backdoorGcc32.c:70: error: PIC register `ebx' clobbered in `asm'
backdoorGcc32.c: In function `BackdoorHbIn':
backdoorGcc32.c:130: error: PIC register `ebx' clobbered in `asm'
backdoorGcc32.c: In function `BackdoorHbOut':
backdoorGcc32.c:179: error: PIC register `ebx' clobbered in `asm'
make: *** [backdoorGcc32.lo] Error 1

Any help is appreciated. Thank you!

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

>Comment By: Marcelo Vanzin (mvanzin)
Date: 2011-07-01 13:20

Message:
If all you want is vmxnet3, you should be able to execute its makefile
directly without having to configure anything. It just needs a few
variables to be set (see "if SOLARIS" section in modules/Makefile.am). The
configure script doesn't have an option to just build the kernel modules.

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

Comment By: cjbaar (cjbaar0)
Date: 2011-07-01 13:04

Message:
OK; I got through the glib problems; now I am stick on libintl.


/bin/bash ../../libtool --tag=CC    --mode=link gcc  -D__PIC__ -Wall
-Werror -Wno-unused-value -fno-strict-aliasing -Wno-unknown-pragmas
-Wno-uninitialized    -o vmtoolsd vmtoolsd-cmdLine.o  vmtoolsd-mainLoop.o
vmtoolsd-mainPosix.o  vmtoolsd-pluginMgr.o vmtoolsd-serviceObj.o 
vmtoolsd-toolsRpc.o vmtoolsd-svcSignals.o
/src/x86/open-vm-tools-8.4.2-261024/libvmtools/libvmtools.la
-L/usr/local/lib -lglib-2.0 -liconv   -L/usr/local/lib -lgmodule-2.0
-lglib-2.0 -liconv   -L/usr/local/lib -lgobject-2.0 -lglib-2.0 -liconv   
-threads -L/usr/local/lib -lgthread-2.0 -lglib-2.0 -liconv    
libtool: link: gcc -D__PIC__ -Wall -Werror -Wno-unused-value
-fno-strict-aliasing -Wno-unknown-pragmas -Wno-uninitialized -o
.libs/vmtoolsd vmtoolsd-cmdLine.o vmtoolsd-mainLoop.o vmtoolsd-mainPosix.o
vmtoolsd-pluginMgr.o vmtoolsd-serviceObj.o vmtoolsd-toolsRpc.o
vmtoolsd-svcSignals.o -threads 
/src/x86/open-vm-tools-8.4.2-261024/libvmtools/.libs/libvmtools.so
-L/usr/local/lib /usr/local/lib/libdnet -L/usr/local/ssl/lib
-L/usr/openwin/lib -L/usr/lib -L/usr/X11R6/lib
-L/usr/local/BerkeleyDB.4.7/lib -L/usr/local/mysql/lib -lsocket -lnsl
-lrpcsvc -lcrypt -lpthread -L/usr/local/BerkeleyDB.4.2/lib
/usr/local/lib/libgmodule-2.0.so /usr/local/lib/libgobject-2.0.so
/usr/local/lib/libgthread-2.0.so /usr/local/lib/libglib-2.0.so
/usr/local/lib/libiconv.so -threads -R/usr/local/lib
Undefined                       first referenced
 symbol                             in file
libintl_gettext                     vmtoolsd-cmdLine.o


libintl appears to be version 8.0.2; have also tried against 8.1.1

-rw-r--r--   1 bin      bin       179782 Apr 21  2009 libintl.a
-rw-r--r--   1 bin      bin          999 Apr 21  2009 libintl.la
lrwxrwxrwx   1 root     root          16 Jul  1 14:02 libintl.so ->
libintl.so.8.0.2
lrwxrwxrwx   1 root     root          16 Jul  1 14:02 libintl.so.8 ->
libintl.so.8.0.2
-rwxr-xr-x   1 bin      bin       128480 Apr 21  2009 libintl.so.8.0.2
-rwxr-xr-x   1 bin      bin        48447 Jan  7 03:25 libintl.so.8.1.1


FYI... all I am trying to get out of this is the vmxnet3 driver.  Is there
a way to configure just for that?
Thanks.

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

Comment By: cjbaar (cjbaar0)
Date: 2011-07-01 12:20

Message:
Thanks so much!  That seems to have gotten me past the PIC error.  Now I
apparently have a bunch of glib errors to deal with... but that's probably
just a version issue.
Thanks again.

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

Comment By: Marcelo Vanzin (mvanzin)
Date: 2011-07-01 10:42

Message:
I remember some old versions of gcc on Solaris don't define __PIC__ when
you specify -fPIC. Could you try configuring with "CFLAGS=-D__PIC__"?

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

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

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
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