DeepStream 6.0 install error on NX, could not compile librdkafka

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU)
Jetson Xavier NX

• DeepStream Version
6.0

• JetPack Version (valid for Jetson only)
4.6

• TensorRT Version
8.0.1.6

• NVIDIA GPU Driver Version (valid for GPU only)

• Issue Type( questions, new requirements, bugs)
bugs

• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)

I followed this link to install DeepStream on Xavier NX module, since the emmc attached to the product module has only 16GB space, SDK manager could not install DeepStream into it.

Errors occur while doing the librdkafka at SETP make

$ cd librdkafka
$ git reset --hard 7101c2310341ab3f4675fc565f64f0967e135a6a
./configure
$ make   // <-- error occurs at this step
$ sudo make install

and the log is as follows:

crc32c.c: In function ‘crc32c_global_init’:
crc32c.c:349:9: error: unknown register name ‘%edx’ in ‘asm’
         __asm__("cpuid" \
         ^
crc32c.c:380:9: note: in expansion of macro ‘SSE42’
         SSE42(sse42);
         ^~~~~
crc32c.c:349:9: error: unknown register name ‘%ebx’ in ‘asm’
         __asm__("cpuid" \
         ^
crc32c.c:380:9: note: in expansion of macro ‘SSE42’
         SSE42(sse42);
         ^~~~~
../mklove/Makefile.base:77: recipe for target 'crc32c.o' failed
make[1]: *** [crc32c.o] Error 1
make[1]: Leaving directory '/home/biao/Archive/librdkafka/src'
Makefile:20: recipe for target 'libs' failed
make: *** [libs] Error 2

• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)

How about result of df

Here below is the result of df -h :

biao@nx:~/Archive/librdkafka$ df -h
Filesystem      Size  Used Avail Use% Mounted on
none            3.5G     0  3.5G   0% /dev
tmpfs           3.8G   52K  3.8G   1% /dev/shm
tmpfs           3.8G   30M  3.8G   1% /run
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
tmpfs           3.8G     0  3.8G   0% /sys/fs/cgroup
/dev/nvme0n1p1  214G   14G  190G   7% /
tmpfs           778M   12K  778M   1% /run/user/120
tmpfs           778M     0  778M   0% /run/user/1000

It turns out the libkafka repo was copied from my desktop which has been configured before. I re-cloned the repo and the problem resolved.