This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM5728: AM5728 SDK Compilation failure

Part Number: AM5728


Hello Team,

I am using AM5728 board it's worked till now okay, suddenly getting error i am not changed any thing

net/netfilter/xt_mark.c: In function ‘mark_tg’:
net/netfilter/xt_mark.c:33:32: error: dereferencing pointer to incomplete type ‘const struct xt_mark_tginfo2’
skb->mark = (skb->mark & ~info->mask) ^ info->mark;
^~
net/netfilter/xt_mark.c: In function ‘mark_mt’:
net/netfilter/xt_mark.c:42:27: error: dereferencing pointer to incomplete type ‘const struct xt_mark_mtinfo1’
return ((skb->mark & info->mask) == info->mark) ^ info->invert;
^~
net/netfilter/xt_mark.c: At top level:
net/netfilter/xt_mark.c:50:27: error: invalid application of ‘sizeof’ to incomplete type ‘struct xt_mark_tginfo2’
.targetsize = sizeof(struct xt_mark_tginfo2),
^~~~~~
net/netfilter/xt_mark.c:59:27: error: invalid application of ‘sizeof’ to incomplete type ‘struct xt_mark_mtinfo1’
.matchsize = sizeof(struct xt_mark_mtinfo1),
^~~~~~
scripts/Makefile.build:309: recipe for target 'net/netfilter/xt_mark.o' failed
make[3]: *** [net/netfilter/xt_mark.o] Error 1
scripts/Makefile.build:544: recipe for target 'net/netfilter' failed

Above errors i am getting suddenly sir what is the problem

i am using below commands

ubuntu@ubuntu-OptiPlex-3040:/opt/ti-processor-sdk-linux-am57xx-evm-06.01.00.08$ sudo make linux_clean

ubuntu@ubuntu-OptiPlex-3040:/opt/ti-processor-sdk-linux-am57xx-evm-06.01.00.08$ sudo make linux

thanking you.

Regards,

chandra