[mapguide-users] Build error on SUSE 9.3
Traian Stanev
traian.stanev at autodesk.com
Thu Mar 23 12:18:35 EST 2006
Hi,
This was already answered in this list a few days ago, but here is the relevant fix again -- you need to add LL at the end of the numeric constants:
> --- UUID.cpp (revision 276)
> +++ UUID.cpp (working copy)
> @@ -152,10 +152,10 @@
> // cccccccc-bbbb-1aaa
> // note the 1 indicates a time-based uuid with a known or random
> host id
> //
> - nTimestamp = ((nTimestamp << 32) & 0xffffffff00000000) |
> - ((nTimestamp >> 16) & 0x00000000ffff0000) |
> - ((nTimestamp >> 48) & 0x0000000000000fff) |
> - 0x0000000000001000;
> + nTimestamp = ((nTimestamp << 32) & 0xffffffff00000000LL) |
> + ((nTimestamp >> 16) & 0x00000000ffff0000LL) |
> + ((nTimestamp >> 48) & 0x0000000000000fffLL) |
> + 0x0000000000001000LL;
This is fixed already so you can just download the latest revision of UUID.cpp. It is also useful if you tell us which version of the g++ compiler you are using. It seems like it is the same version that comes with Debian 3.1 since we had the same problem on that. There are several fixes in addition to this one that we made for Debian that you may need to download directly from the Subversion trunk.
Traian
-----Original Message-----
From: László Vasváry [mailto:laszlo.vasvary at tsoft.hu]
Sent: Thursday, March 23, 2006 10:01 AM
To: users at mapguide.osgeo.org
Subject: [mapguide-users] Build error on SUSE 9.3
Hi,
I got this error when I try to run make install for Mapguide Open Source. As I can understand, all previous steps of installation described in documnetation were carried out error free.
I ran configutre with --enable-otimization option.
My system is SUSE Linux 9.3
UUID.cpp: In member function `void DWFCore::DWFUUIDImpl_ANSI::_generate()':
UUID.cpp:155: error: integer constant is too large for "long" type
make[7]: *** [UUID.lo] Error 1
László Vasváry
System administrator
T-soft Mérnökiroda Kft.Poroszlay u. 6. 4032 Debrecen; Hungary
tel: +36 52 502-214 Fax: +36 52 502-213
Mobile: +36 30 9-838-818; Skype: bithajcsarÖn látja a célt - mi eszközt adunk hozzá! *** You see the goal - we give the tool!
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe at mapguide.osgeo.org
For additional commands, e-mail: users-help at mapguide.osgeo.org
More information about the Mapguide_users
mailing list