g++ -O2 -pipe -W -Wall -fPIC -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -DHAVE_SNAPPY -Isrc -I../boost_1_53_0 -I../protobuf-2.4.1/output/include -I/usr/local/include -I/include -c -o src/sofa/pbrpc/dynamic_rpc_channel_impl.o src/sofa/pbrpc/dynamic_rpc_channel_impl.cc
In file included from src/sofa/pbrpc/common_internal.h:19:0,
from src/sofa/pbrpc/dynamic_rpc_channel_impl.h:13,
from src/sofa/pbrpc/dynamic_rpc_channel_impl.cc:7:
src/sofa/pbrpc/ptime.h: 在函数‘std::string sofa::pbrpc::ptime_to_string(const PTime&)’中:
src/sofa/pbrpc/ptime.h:42:37: 警告: 格式 ‘%ld’ expects argument of type ‘long int’, but argument 10 has type ‘boost::date_time::time_duration<boost::posix_time::time_duration, boost::date_time::time_resolution_traits<boost::date_time::time_resolution_traits_adapted64_impl, (boost::date_time::time_resolutions)5u, 1000000, 6u> >::fractional_seconds_type {aka long long int}’ [-Wformat]
src/sofa/pbrpc/ptime.h:42:37: 警告: 格式 ‘%ld’ expects argument of type ‘long int’, but argument 10 has type ‘boost::date_time::time_duration<boost::posix_time::time_duration, boost::date_time::time_resolution_traits<boost::date_time::time_resolution_traits_adapted64_impl, (boost::date_time::time_resolutions)5u, 1000000, 6u> >::fractional_seconds_type {aka long long int}’ [-Wformat]
src/sofa/pbrpc/atomic.h: Assembler messages:
src/sofa/pbrpc/atomic.h:59: Error: invalid instruction suffix for `xadd'
make: *\ [src/sofa/pbrpc/dynamic_rpc_channel_impl.o] 错误 1
OS:
Linux 3.2.0-59-generic-pae #90-Ubuntu SMP Tue Jan 7 23:07:06 UTC 2014 i686 i686 i386 GNU/Linux
gcc -v:
gcc 版本 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5)
g++ -O2 -pipe -W -Wall -fPIC -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -DHAVE_SNAPPY -Isrc -I../boost_1_53_0 -I../protobuf-2.4.1/output/include -I/usr/local/include -I/include -c -o src/sofa/pbrpc/dynamic_rpc_channel_impl.o src/sofa/pbrpc/dynamic_rpc_channel_impl.cc In file included from src/sofa/pbrpc/common_internal.h:19:0, from src/sofa/pbrpc/dynamic_rpc_channel_impl.h:13, from src/sofa/pbrpc/dynamic_rpc_channel_impl.cc:7: src/sofa/pbrpc/ptime.h: 在函数‘std::string sofa::pbrpc::ptime_to_string(const PTime&)’中: src/sofa/pbrpc/ptime.h:42:37: 警告: 格式 ‘%ld’ expects argument of type ‘long int’, but argument 10 has type ‘boost::date_time::time_duration<boost::posix_time::time_duration, boost::date_time::time_resolution_traits<boost::date_time::time_resolution_traits_adapted64_impl, (boost::date_time::time_resolutions)5u, 1000000, 6u> >::fractional_seconds_type {aka long long int}’ [-Wformat] src/sofa/pbrpc/ptime.h:42:37: 警告: 格式 ‘%ld’ expects argument of type ‘long int’, but argument 10 has type ‘boost::date_time::time_duration<boost::posix_time::time_duration, boost::date_time::time_resolution_traits<boost::date_time::time_resolution_traits_adapted64_impl, (boost::date_time::time_resolutions)5u, 1000000, 6u> >::fractional_seconds_type {aka long long int}’ [-Wformat] src/sofa/pbrpc/atomic.h: Assembler messages: src/sofa/pbrpc/atomic.h:59: Error: invalid instruction suffix for `xadd' make: *\ [src/sofa/pbrpc/dynamic_rpc_channel_impl.o] 错误 1
OS: Linux 3.2.0-59-generic-pae #90-Ubuntu SMP Tue Jan 7 23:07:06 UTC 2014 i686 i686 i386 GNU/Linux gcc -v: gcc 版本 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5)