Gstreamer 1.16.3 compile for Jetson Nano, missing omxh264enc element

I compiled the gstreamer 1.16.3 source code on jetson nano, yet it failed to find the omxh264enc element. I have included the gst-omx module
I use the following configuration
./autogen.sh --prefix=/home/safeuser/gst-1.16.3-src/out --with-omx-target=generic --disable-gtk-doc
is the omx-target correct? do I need to include other parameters

Hi,
Please refer to gstreamer build instructions in document There is a list of NVIDIA libraries and you would need to pull in the libs.

The plugins are built with 1.14.5 and there might be significant deviation in header files and the plugins cannot be run with new version. You may download source code of the plugins and build the libs manually. The source code is in
Jetson Linux | NVIDIA Developer
L4T Driver Package (BSP) Sources