Hi Chris,

On Wednesday 05 August 2009 08:40:34 Chris Ridd wrote:
> As the vmware tools supplied with VMware Fusion don't install in
> OpenSolaris (build 118) due to not expecting Xorg 7.5, I thought I'd
> try building them myself...
>
> The main problem is that building copyPaste.cc fails, and it isn't
> clear to me where the fault is:
>
> libtool: compile:  g++ "-DPACKAGE_NAME=\"open-vm-tools\"" "-
> DPACKAGE_TARNAME=\"o
> pen-vm-tools\"" "-DPACKAGE_VERSION=\"2009.07.22\"" "-DPACKAGE_STRING=
> \"open-vm-t
> ools 2009.07.22\""
> "-DPACKAGE_BUGREPORT=\"open-vm-tools-de...@lists.sourceforge .
> net\"" "-DPACKAGE=\"open-vm-tools\"" "-DVERSION=\"2009.07.22\"" -
> DSTDC_HEADERS=1
>   -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -
> DHAVE_STRING_H=1 -D
> HAVE_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/\"" -DHAVE_DLOPEN=1 -
> DHAVE_ECVT
> =1 -DHAVE_FCVT=1 -DNO_PROCPS=1 -DNO_DNET=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 -DH
> AVE_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_UNWIND_H=1 -DHAVE__BOOL=1 -
> DHAVE_STDBOOL_H=1 -DHAVE_
> STRUCT_STAT_ST_RDEV=1 -DTIME_WITH_SYS_TIME=1 -I. -D_REENTRANT -
> D_POSIX_PTHREAD_S
> EMANTICS -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/
> include/atk-1.
> 0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/X11/include -I/
> usr/includ
> e/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/
> include/fr
> eetype2 -I/usr/include/libpng12 -DGTK2 -D_REENTRANT -
> D_POSIX_PTHREAD_SEMANTICS -
> I/usr/include/gtkmm-2.4 -I/usr/lib/gtkmm-2.4/include -I/usr/include/
> glibmm-2.4 -
> I/usr/lib/glibmm-2.4/include -I/usr/include/giomm-2.4 -I/usr/lib/
> giomm-2.4/inclu
> de -I/usr/include/gdkmm-2.4 -I/usr/lib/gdkmm-2.4/include -I/usr/
> include/pangomm-
> 1.4 -I/usr/include/atkmm-1.6 -I/usr/include/gtk-2.0 -I/usr/include/sigc
> ++-2.0 -I
> /usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/
> glib-2.0/include
> -I/usr/lib/gtk-2.0/include -I/usr/include/cairomm-1.0 -I/usr/include/
> pango-1.0 -
> I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -
> I/usr/incl
> ude/libpng12 -I/usr/X11/include -I/usr/include/atk-1.0 -DHAVE_GTKMM -I/
> usr/X11/i
> nclude/ -I../../include -I/export/home/cjr/open-vm-
> tools-2009.07.22-179896/lib/i
> nclude -I/export/home/cjr/open-vm-tools-2009.07.22-179896/lib/include -
> DUSING_AU
> TOCONF=1 -DOPEN_VM_TOOLS -I/usr/X11/include -DVMX86_TOOLS -
> DNO_CORE_ICU -DSOL11
> -g -O2 -MT copyPaste.lo -MD -MP -MF .deps/copyPaste.Tpo -c
> copyPaste.cc  -fPIC -
> DPIC -o .libs/copyPaste.o
> In file included from /usr/include/sigc++-2.0/sigc++/signal_base.h:28,
>                   from /usr/include/sigc++-2.0/sigc++/signal.h:8,
>                   from /usr/include/sigc++-2.0/sigc++/connection.h:22,
>                   from /export/home/cjr/open-vm-
> tools-2009.07.22-179896/lib/inclu
> de/copyPasteBase.h:30,
>                   from /export/home/cjr/open-vm-
> tools-2009.07.22-179896/lib/inclu
> de/copyPaste.hh:30,
>                   from copyPaste.cc:25:
> /usr/include/sigc++-2.0/sigc++/functors/slot.h: In static member
> function `stati
> c T_return sigc::internal::slot_call1<T_functor, T_return,
> T_arg1>::call_it(sigc
>
> ::internal::slot_rep*, typename sigc::type_trait<T_arg3>::take)':
>
> /usr/include/sigc++-2.0/sigc++/functors/slot.h:136: error: expected
> `(' before '
>
>  >' token
>
> /usr/include/sigc++-2.0/sigc++/functors/slot.h: In static member
> function `stati
> c T_return sigc::internal::slot_call2<T_functor, T_return, T_arg1,
> T_arg2>::call
> _it(sigc::internal::slot_rep*, typename
> sigc::type_trait<T_arg3>::take, typename
>   sigc::type_trait<T_arg4>::take)':
> /usr/include/sigc++-2.0/sigc++/functors/slot.h:172: error: expected
> `(' before '
> ,' token
> /usr/include/sigc++-2.0/sigc++/functors/slot.h:172: error: expected
> `(' before '
>
>  >' token
>
> /usr/include/sigc++-2.0/sigc++/functors/slot.h: In static member
> function `stati
> c T_return sigc::internal::slot_call3<T_functor, T_return, T_arg1,
> T_arg2, T_arg
> 3>::call_it(sigc::internal::slot_rep*, typename
> sigc::type_trait<T_arg3>::take,
>
> And the errors go on for another couple of hundred lines.
>
> Has anyone successfully compiled this? The errors persist if I use the
> gcc-432 package (gcc 4.3.2) instead of the SUNWgcc package (gcc 3.4.3).

I believe we are using gcc-4.1.2-3 with binutils-2.17.50.0.15 to build tools.

What version of libsigc++ do you have installed? You need post 2.0, we are 
building against 2.0.17.

>
> There's way too many gcc-isms present in the build system to even
> *think* of trying to make it work with Sun Studio :-((
>

Given that the project is being built on multiple platforms the chosen 
compiler will stay GCC for the forseable future.


Thanks,

Dmitry


------------------------------------------------------------------------------
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
open-vm-tools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/open-vm-tools-devel

Reply via email to