[mapguide-users] building mgos 2.1 beta

alucas alucas at svl.es
Tue Feb 24 17:46:29 EST 2009


Hello Zac,

Is the typical error with ACE Wrapper that I saw with mgos 1.0.0. The only
message is:

g++ -W -Wall -Wpointer-arith -pipe -O3 -g -fno-implicit-templates  
-D_REENTRANT -DACE_HAS_AIO_CALLS -D_GNU_SOURCE
-DACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION  
-I/src/mgos/mapguide/Oem/ACE/ACE_wrappers -DACE_HAS_EXCEPTIONS
-D__ACE_INLINE__ -DACE_BUILD_DLL -DACE_OS_BUILD_DLL  -c -fPIC -o
.shobj/Svc_Conf_l.o Svc_Conf_l.cpp
Svc_Conf_l.cpp:45:1: error: unterminated #if Svc_Conf_l.cpp:207: warning:
‘ace_yy_current_buffer’ defined but not used
Svc_Conf_l.cpp:217: warning: ‘ace_yy_hold_char’ defined but not used
Svc_Conf_l.cpp:219: warning: ‘ace_yy_n_chars’ defined but not used
Svc_Conf_l.cpp:225: warning: ‘ace_yy_c_buf_p’ defined but not used
Svc_Conf_l.cpp:226: warning: ‘ace_yy_init’ defined but not used
Svc_Conf_l.cpp:227: warning: ‘ace_yy_start’ defined but not used
Svc_Conf_l.cpp:232: warning: ‘ace_yy_did_buffer_switch_on_eof’ defined but
not used
Svc_Conf_l.cpp:248: warning: ‘void* ace_yy_flex_alloc(ace_yy_size_t)’
declared ‘static’ but never defined
Svc_Conf_l.cpp:249: warning: ‘void* ace_yy_flex_realloc(void*,
ace_yy_size_t)’ declared ‘static’ but never defined
Svc_Conf_l.cpp:250: warning: ‘void ace_yy_flex_free(void*)’ declared
‘static’ but never definedmake[1]: *** [.shobj/Svc_Conf_l.o] Error 1
make[1]: Leaving directory `/src/mgos/mapguide/Oem/ACE/ACE_wrappers/ace'
make: *** [all] Error 2
ACE 5.4: Error build failed (0).................

The problem is solved doing:
ushd Oem/ACE/ACE_wrappers/ace

rm Svc_Conf_l.cpp

svn update

popd

./build_oem.sh

Thanks zac.


zspitzer wrote:
> 
> might help if post your error message :) ?
> 
> On Wed, Feb 25, 2009 at 6:55 AM, alucas <alucas at svl.es> wrote:
>>
>> Anyone know if there is any problem with gcc/g++ 4.1.2?
>>
>> Thanks.
>>
>> alucas wrote:
>>>
>>> Hello,
>>>
>>> I'd like to build the current mapguide version in centos 5.2. What are
>>> the
>>> steps I'm following:
>>>
>>> 1. Download the latest code from svn
>>> http://svn.osgeo.org/mapguide/trunk/MgDev
>>> 2. Download and install FDO SDK 3.4 RC1 for RH4 from the fdo page into
>>> /usr/local/fdo-3.4.0
>>> 3. Build OEM (Here, I get an error with the ACE wrappers)
>>>
>>> What's wrong?
>>>
>>> I'd like to test 2.1 beta.
>>>
>>> Thanks.
>>>
>>>
>>>
>>>
>>
>> --
>> View this message in context:
>> http://n2.nabble.com/building-mgos-2.1-beta-tp2379693p2380002.html
>> Sent from the MapGuide Users mailing list archive at Nabble.com.
>>
>> _______________________________________________
>> mapguide-users mailing list
>> mapguide-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>>
> 
> 
> 
> -- 
> Zac Spitzer -
> http://zacster.blogspot.com
> +61 405 847 168
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
> 
> 

-- 
View this message in context: http://n2.nabble.com/building-mgos-2.1-beta-tp2379693p2380850.html
Sent from the MapGuide Users mailing list archive at Nabble.com.



More information about the mapguide-users mailing list