Some errors have if Build the imx274 sensor driver for jetson TX1 use jetpack 3.1

Errors have if Build the imx274 sensor driver for jetson TX1 use jetpack 3.1

ERROR: “camera_common_g_mbus_config” [drivers/media/i2c/imx274.ko] undefined!
ERROR: “camera_common_create_debugfs” [drivers/media/i2c/imx274.ko] undefined!
ERROR: “camera_common_parse_ports” [drivers/media/i2c/imx274.ko] undefined!
ERROR: “camera_common_regulator_get” [drivers/media/i2c/imx274.ko] undefined!
ERROR: “camera_common_parse_clocks” [drivers/media/i2c/imx274.ko] undefined!
ERROR: “camera_common_s_power” [drivers/media/i2c/imx274.ko] undefined!
ERROR: “regmap_util_write_table_8” [drivers/media/i2c/imx274.ko] undefined!
ERROR: “camera_common_g_fmt” [drivers/media/i2c/imx274.ko] undefined!
ERROR: “camera_common_s_fmt” [drivers/media/i2c/imx274.ko] undefined!
ERROR: “camera_common_try_fmt” [drivers/media/i2c/imx274.ko] undefined!
ERROR: “camera_common_remove_debugfs” [drivers/media/i2c/imx274.ko] undefined!
make[2]: *** [__modpost] Error 1
make[1]: *** [modules] Error 2
make[1]: *** Waiting for unfinished jobs…

How can I fix this question?

Hi sensor_test,

Welcome to Jetson & Embedded Systems developer forum.
Are you developing with imx219 or 274?

Thanks.

I developing with imx274.

Did you build it as loadable module? Please don’t config it as m.