[vvoc] build error (4.0.1-235010)

17 views
Skip to first unread message

achanler

unread,
May 24, 2010, 3:23:28 PM5/24/10
to vmware-view-open-client
I am having a build error with the latest 4.0.1-235010 sources.
Anyone else have this problem? I am using a relatively old version of
32-bit SUSE linux. I built bunch of missing dependencies from scratch
(curl, openssl, boost, icu, gettext, intltool). After './configure'
stopped complaining about missing things, I ran 'make' and got the
following error.

make[2]: Entering directory `/root/src/VMware-view-open-client-
source-4.0.1-235010'
g++ -DPACKAGE_NAME=\"VMware-view-open-client\" -DPACKAGE_TARNAME=
\"VMware-view-open-client-source\" -DPACKAGE_VERSION=\"4.0.1-235010\" -
DPACKAGE_STRING=\"VMware-view-open-client\ 4.0.1-235010\" -
DPACKAGE_BUGREPORT=\"http://code.google.com/p/vmware-view-open-client/
issues/entry\" -DVIEW_GTK=1 -DBORA_LINK_SSL_DIRECTLY=1 -DPACKAGE=
\"VMware-view-open-client-source\" -DVERSION=\"4.0.1-235010\" -
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_LOCALE_H=1 -DHAVE_LC_MESSAGES=1 -
DHAVE_BIND_TEXTDOMAIN_CODESET=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -
DENABLE_NLS=1 -DPRODUCT_VIEW_CLIENT_NAME=\"VMware\ View\ Open\ Client
\" -DVIEW_CLIENT_VERSION_NUMBER=\"4.0.1\" -DVMX86_TOOLS=1 -
DVMX86_DEBUG=1 -DVMX86_DEVEL=1 -DVMX86_STATS=1 -
DDEBUG_STUB_ACCESS_IO_PORTS=1 -DVMX86_LOG=1 -DDEBUG_STUB=1 -
D_XOPEN_SOURCE=500 -D_BSD_SOURCE=1 -D_SVID_SOURCE=1 -
D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DHAVE_LSEEK=1 -
DHAVE_BOOST= -DHAVE_BOOST_SIGNALS= -I. -I./lib/open-vm-tools/include -
I./lib/bora/include -DCRYPTOKI_COMPAT -DLIBDIR="\"/usr/lib\"" -
DBINDIR="\"/usr/bin\"" -DLOCALEDIR="\"/usr/share/locale\"" -
DHELPDIR="\"/usr/share/doc/VMware-view-open-client/help\"" -
DDEBHELPDIR="\"/usr/share/doc/vmware-view-open-client/help\"" -I./lib/
libp11/include -I./lib/gtm/include -I/usr/include -I/usr/local/
include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/
atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/pango-1.0 -I/
usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/
include/freetype2 -I./gtk -DSSL_SRC_DIR=\"/usr/lib\" -
DLIBCRYPTO_SO=libcrypto.so.1.0.0 -DLIBSSL_SO=libssl.so.1.0.0 -
DOPENSSL_100 -I/usr/include/libxml2 -DBUILT_BY_chanla -g -O2 -MT
vmware_view-baseXml.o -MD -MP -MF .deps/vmware_view-baseXml.Tpo -c -o
vmware_view-baseXml.o `test -f 'baseXml.cc' || echo './'`baseXml.cc
baseXml.cc: In static member function ‘static void
cdk::BaseXml::OnResponse(BasicHttpRequest*, BasicHttpResponse*,
void*)’:
baseXml.cc:622: error: ‘xmlSaveToBuffer’ was not declared in this
scope
baseXml.cc: In static member function ‘static uint64
cdk::BaseXml::GetChildContentUInt64(xmlNode*, const char*)’:
baseXml.cc:1184: warning: converting negative value ‘-0x000000001’ to
‘uint64’
make[2]: *** [vmware_view-baseXml.o] Error 1
make[2]: Leaving directory `/root/src/VMware-view-open-client-
source-4.0.1-235010'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/src/VMware-view-open-client-
source-4.0.1-235010'
make: *** [all] Error 2

Thanks,
Andrew

--
You received this message because you are subscribed to the Google Groups "vmware-view-open-client" group.
To post to this group, send email to vmware-view...@googlegroups.com.
To unsubscribe from this group, send email to vmware-view-open-...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/vmware-view-open-client?hl=en.

João Brázio

unread,
May 24, 2010, 6:11:38 PM5/24/10
to vmware-view...@googlegroups.com
Old libxml ?

Best regards,
João Brázio.

(Sent from my iPhone)

jacob berkman

unread,
May 24, 2010, 6:28:09 PM5/24/10
to vmware-view...@googlegroups.com
On Mon, May 24, 2010 at 12:23 PM, achanler <acha...@gmail.com> wrote:
> I am having a build error with the latest 4.0.1-235010 sources.
> Anyone else have this problem?

I think you can just change the "return -1" to "return 0".

-- jacob

achanler

unread,
May 25, 2010, 3:04:11 PM5/25/10
to vmware-view-open-client
I have libxml2 version 2.6.20 installed at the time of the build
error. I upgraded to libxml2 version 2.7.7 and now that file
compiles. Maybe the ./configure needs to check which version of
libxml2 is installed...

Then during the final link step, I return an undefined reference:

VMware-view-open-client-source-4.0.1-235010/baseXml.cc:879: undefined
reference to `SSL_CTX_set_client_cert_cb'

I had already upgraded openssl to version 1.0.0 to get ./configure to
pass. On further investigation I couldn't find the new openssl shared
libraries. It looks like by default it is only configured to install
static libraries. I followed these instructions (http://
www.devside.net/guides/linux/openssl) to re-install openssl with the
shared-libraries and now VMware-view-open-client builds and runs!

Thanks,
Andrew

João Brázio

unread,
May 25, 2010, 5:34:21 PM5/25/10
to vmware-view...@googlegroups.com
File a bug for it.
Glad I could help.

Best regards,
João Brázio.

(Sent from my iPhone)

Reply all
Reply to author
Forward
0 new messages