Copter 3.5 compile using make px4-v2

I must use copter 3.5 and compiled using ‘make px4-v2’ and I get this response
make[2]: Entering directory ‘/home/uukyung/mainbranch/modules/PX4Firmware/Build/px4io-v2_default.build’
% PX4_BASE = /home/uukyung/mainbranch/modules/PX4Firmware/
% GIT_DESC =
% CONFIG = px4io-v2_default
% BOARD = px4io-v2
% WORK_DIR = /home/uukyung/mainbranch/modules/PX4Firmware/Build/px4io-v2_default.build/
% NUTTX_EXPORT_DIR = /home/uukyung/mainbranch/modules/PX4Firmware/Build/px4io-v2_default.build/nuttx-export/
% NUTTX_CONFIG_HEADER = /home/uukyung/mainbranch/modules/PX4Firmware/Build/px4io-v2_default.build/nuttx-export/include/nuttx/config.h
CC: /home/uukyung/mainbranch/modules/PX4Firmware/Build/px4io-v2_default.build/empty.c
cc1: error: ‘-Werror=’ argument ‘-Werror=reorder’ is not valid for C [-Werror]
compilation terminated due to -Wfatal-errors.
cc1: all warnings being treated as errors
/home/uukyung/mainbranch/modules/PX4Firmware/makefiles/firmware.mk:488: recipe for target ‘/home/uukyung/mainbranch/modules/PX4Firmware/Build/px4io-v2_default.build//home/uukyung/mainbranch/modules/PX4Firmware/Build/px4io-v2_default.build/empty.c.o’ failed
make[2]: *** [/home/uukyung/mainbranch/modules/PX4Firmware/Build/px4io-v2_default.build//home/uukyung/mainbranch/modules/PX4Firmware/Build/px4io-v2_default.build/empty.c.o] Error 1
make[2]: Leaving directory ‘/home/uukyung/mainbranch/modules/PX4Firmware/Build/px4io-v2_default.build’
/home/uukyung/mainbranch/modules/PX4Firmware/Makefile.make:143: recipe for target ‘/home/uukyung/mainbranch/modules/PX4Firmware/Build/px4io-v2_default.build/firmware.px4’ failed
make[1]: *** [/home/uukyung/mainbranch/modules/PX4Firmware/Build/px4io-v2_default.build/firmware.px4] Error 2
make[1]: Leaving directory ‘/home/uukyung/mainbranch/modules/PX4Firmware’
…/mk/px4_targets.mk:166: ‘px4-io-v2’ 타겟에 대한 명령이 실패했습니다
make: *** [px4-io-v2] 오류 2

How can solve this?

Do not do that. Use ArduCopter 4.1.0 instead.

Unfortunately this is a situation where you have to use copter 3.5.