build ship_sync.cpp in linux